1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How did I lose part of my navbar?

Discussion in 'Styling and Customization Questions' started by Diana, Aug 4, 2012.

  1. Diana

    Diana Active Member

    I don't know what I did. I was playing around with the header in css and then found that the second row of my navbar is missing on my landing page.

    Should be this:


    Not this:


    How can I restore the second row?
  2. Cryptaline

    Cryptaline Active Member

    Hi, it's a good idea to have a copy (always) of a previous css file to do a backup.
    I'm not quite sure about this, but you need to check in your css file for smth like this:
    display: none !important;
    Then try to cut it off.
  3. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    What is your landing page? Are you talking about the forum_list? Like this page?


    Or some other page that you created? What is the URL?
  4. Diana

    Diana Active Member

    I reversed what I changed in the header to the original. That's why I'm perplexed as to how the change occurred in the navbar.

    I have checked for the code you mentioned. Was hoping someone could tell me where to look for the specific code that applies to the second row, since there are numerous places where that code appears.
  5. Diana

    Diana Active Member

    Jake I'll send you the URL.
  6. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    That's a page node with its own tab (via the Nodes As Tabs addon). The "Home" tab is selected when you visit that page, so it is expected that the "Forums" tab is not selected, and those secondary links in your screenshot belong to the "Forums" tab.

    You can use the Links Template option when editing that page node to define your own secondary links for that tab.
  7. Diana

    Diana Active Member

    Ah, I see. So it had nothing to do with any changes I made to the css.

    I did set the "home" tab for the page node. It all makes sense now.

    Thank you. :)
  8. Diana

    Diana Active Member

    How do I define the secondary links for the landing page?
  9. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    When editing the node there is a Links Template option that is provided by Nodes As Tabs. That allows you to define your own secondary links. Or you can do it with child nodes and then enable Children As Links for the parent node (which is the tab).
  10. Diana

    Diana Active Member

    I got it to work. Thanks.

Share This Page