How do I add "buttons" to the navbar?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • gears
    Member
    • Dec 2006
    • 53
    • 3.6.x

    [Forum] How do I add "buttons" to the navbar?

    Hello,

    Please don't get mad at me if I'm not in the right subforum or am using the wrong terminology ("buttons"). I just started using VBulletin again after two years.




    (1) If those buttons to the left of the black circle called "Forum" and "What's New?" are called "buttons", how do I create more of them?

    (2) Also, if anyone could tell me if it possible for me to change the color of the font for one link in my navbar (only Forum Rules to red, rest stay white) that would be appreciated. I tried using font color HTML and it doesn't work.

    Thank you.
    Last edited by gears; Wed 8 Sep '10, 6:32pm.

  • Lynne
    Former vBulletin Support
    • Oct 2004
    • 26255

    #2
    There are a couple articles and a few mods over at vbulletin.org, the modification site, that will add more navtabs to the navbar.

    You can change the color of one specific link by editing the link directly and adding the color inline.

    Please don't PM or VM me for support - I only help out in the threads.
    vBulletin Manual & vBulletin 4.0 Code Documentation (API)
    Want help modifying your vbulletin forum? Head on over to vbulletin.org
    If I post CSS and you don't know where it goes, throw it into the additional.css template.

    W3Schools <- awesome site for html/css help

    Comment

    • gears
      Member
      • Dec 2006
      • 53
      • 3.6.x

      #3
      Thanks. Can you tell me what is the color inline? I basically used HTML like this:

      <font="red"></font>

      The increase in size worked, the color change did not.

      Comment

      • Trevor Hannant
        vBulletin Support
        • Aug 2002
        • 24325
        • 5.7.X

        #4
        Use #ff0000 instead of 'red'
        Vote for:

        - Admin Settable Paid Subscription Reminder Timeframe (vB6)
        - Add Admin ability to auto-subscribe users to specific channel(s) (vB6)

        Comment

        • Markos1977
          Senior Member
          • Aug 2006
          • 106
          • 3.6.x

          #5
          why not use this it does it all for you http://www.vbulletin.org/forum/showthread.php?t=228507

          Comment

          • gears
            Member
            • Dec 2006
            • 53
            • 3.6.x

            #6
            Originally posted by Trevor Hannant
            Use #ff0000 instead of 'red'
            Thanks but this doesn't work either.

            Comment

            • borbole
              Senior Member
              • Feb 2010
              • 3074
              • 4.0.0

              #7
              Originally posted by gears
              Thanks but this doesn't work either.
              The font tag used like that has been depricated. Wrap the phrase inside a span style better. For ex, for the forum button find this code:

              HTML Code:
              <li class="selected"><a class="navtab" href="{vb:raw vboptions.forumhome}.php{vb:raw session.sessionurl_q}">{vb:rawphrase forum</a>

              and change it to:

              HTML Code:
              <li class="selected"><a class="navtab" href="{vb:raw vboptions.forumhome}.php{vb:raw session.sessionurl_q}"><span style="color:red";>{vb:rawphrase forum}</span></a>

              Comment

              widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
              Working...