• Home
  • Categories
  • Recent
  • Popular
  • Top
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
v3.5.2 Latest
Buy Hosting

How can I display 3 columns in the lavender homepage ?

Scheduled Pinned Locked Moved NodeBB Development
theme
3 Posts 2 Posters 2.4k Views
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    colornote
    wrote on last edited by
    #1

    the Nodebb.org is using which theme ? how can i display 3 columns category in every sigle line ?

    esiaoE 1 Reply Last reply
    0
  • esiaoE Offline
    esiaoE Offline
    esiao
    replied to colornote on last edited by
    #2

    @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.
    C 1 Reply Last reply
    2
  • C Offline
    C Offline
    colornote
    replied to esiao on last edited by
    #3

    @esiao it works,Thank you very much!

    1 Reply Last reply
    0

Copyright © 2023 NodeBB | Contributors
  • Login

  • Don't have an account? Register

  • Login or register to search.
Powered by NodeBB Contributors
  • First post
    Last post
0
  • Home
  • Categories
  • Recent
  • Popular
  • Top
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development