How can I display 3 columns in the lavender homepage ?
-
the Nodebb.org is using which theme ? how can i display 3 columns category in every sigle line ?
-
@colornote
You have two choices :- Edit home.tpl in the template page and change this code by this one :
<div class="<!-- IF categories.class -->{categories.class}<!-- ELSE -->col-md-3 col-sm-6 col-xs-12<!-- ENDIF categories.class --> category-item" data-cid="{categories.cid}" data-numRecentReplies="{categories.numRecentReplies}">
<div class="<!-- IF categories.class -->{categories.class}<!-- ELSE -->col-md-4 col-sm-6 col-xs-12<!-- ENDIF categories.class --> category-item" data-cid="{categories.cid}" data-numRecentReplies="{categories.numRecentReplies}">
col-md-4 in place of col-md-3 This mean an item is 4 columns in a 12 columns grid (3 items per line).
And then in ACP>Categories remove ervery single custom class.- Or you can in ACP > Categories change the custom classes with
col-md-4 col-sm-6 col-xs-12
which is simpler.
- Edit home.tpl in the template page and change this code by this one :
Copyright © 2024 NodeBB | Contributors