Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Hi,
I would like to know how can I make something like this :
View attachment 8084
And when I am creating a new block, I got something like that on the left :
View attachment 8085
How can I remove this ?
Thanks!
<ul class="custom-buttons">
<li class="custom-buttons--selected">Main</li>
<li>General</li>
<li>Marketplace</li>
</ul>
.node.node--id1 .node-icon i:before { content: "\f015"; font-size: 14px; }
For example, if you click on the Main Button, it will only display the Main CategoryI'll need a little more details on this, so far:
Code:<ul class="custom-buttons"> <li class="custom-buttons--selected">Main</li> <li>General</li> <li>Marketplace</li> </ul>
And some CSS would do that, but again the screenshot is vague.
For Font Awesome Node icons size:
Style properties -> Node/forum list -> Node icon (Font Awesome main)
Will change them all by adjusting the font-size. If you need to change a single node like your CSS above:
Code:.node.node--id1 .node-icon i:before { content: "\f015"; font-size: 14px; }
<ul class="custom-buttons">
<li><a href="#">Main</a></li>
<li><a href="#">General</a></li>
<li><a href="#">Marketplace</a></li>
</ul>
.custom-buttons
{
.m-listPlain();
.m-clearFix();
margin-bottom: 10px;
li { display: inline-block; margin-right: 5px;}
a { display: block; padding: 5px 10px; background-color: #000; color: #FFF; border-radius: 5px;}
}
Thank you, but please where sould I go to use the built-in ad manager ?There was an add-on for XF1: https://xenforo.com/community/resources/th-forum-list-tabs.1476/ It was Waindigo's that was taken over.
I don't think there's anything for XF2.
You can do a slight manual setup if you enable:
Setup -> Options -> Node & forum list -> Create pages for categories
Use the built-in ad manager, place the buttons in the position: Forum overview: Top and they'll show up.
HTML In that ad position:
CSS inside extra.lessCode:<ul class="custom-buttons"> <li><a href="#">Main</a></li> <li><a href="#">General</a></li> <li><a href="#">Marketplace</a></li> </ul>
Code:.custom-buttons { .m-listPlain(); .m-clearFix(); margin-bottom: 10px; li { display: inline-block; margin-right: 5px;} a { display: block; padding: 5px 10px; background-color: #000; color: #FFF; border-radius: 5px;} }
Result:
View attachment 8091