osmxnxn

Customer
Hello. Please help me with a few questions.
1. How to remove the Create Topic and New Posts buttons from the home page? I marked it with number 1 on the screenshot.
2. How to reduce the text that is displayed on the home page and other pages. Marked with number 2 on the screenshot.
111111.png
 
Solution
Hello,

To hide those buttons just on the home page, add this to extra.less:

Code:
[data-template="forum_list"] .p-title-pageAction
{
display: none;
}

To increase the font size there, add this:

Code:
.p-title .p-title-value
{
font-size: 26px;
}

To add a create thread button there, open PAGE_CONTAINER

Click in the editor ctlr-f to find:

Code:
<a href="{{ link('conversations') }}"


Paste this above:

Code:
                            <xf:if is="$xf.visitor.canCreateThread() OR $xf.visitor.canCreateThreadPreReg()">
                            <a href="{{ link('forums/create-thread') }}"
                                class="p-navgroup-link p-navgroup-link--thread"...
Hello,

To hide those buttons just on the home page, add this to extra.less:

Code:
[data-template="forum_list"] .p-title-pageAction
{
display: none;
}

To increase the font size there, add this:

Code:
.p-title .p-title-value
{
font-size: 26px;
}

To add a create thread button there, open PAGE_CONTAINER

Click in the editor ctlr-f to find:

Code:
<a href="{{ link('conversations') }}"


Paste this above:

Code:
                            <xf:if is="$xf.visitor.canCreateThread() OR $xf.visitor.canCreateThreadPreReg()">
                            <a href="{{ link('forums/create-thread') }}"
                                class="p-navgroup-link p-navgroup-link--thread"
                                data-badge="{$xf.visitor.conversations_unread|number}"
                                data-xf-click="overlay"
                                title="{{ phrase('post_thread')|for_attr }}"
                                aria-label="{{ phrase('post_thread')|for_attr }}">
                                <xf:fa icon="fa-edit" />
                            </a>
                            </xf:if>

It will look like this:


1708495380181.png



If I remove the header labeled under number 2, will it be bad for SEO?

Ideally, you do not want to remove the page header. It's the h1 tag (not saying Google relies heavily on this anymore, but it could be a factor.
 
Solution

Pre-Sale Questions

If you have any questions or concerns you want to ask before you make a purchase don't hesitate to use one of our multiple support channels for your convenience.

Back