Auto-navbar insertion is breaking my CSS

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • AyeCapn
    New Member
    • Nov 2006
    • 10
    • 3.6.x

    Auto-navbar insertion is breaking my CSS

    I have a custom template that uses a grey background with blue text. The auto-instertion of the "Projects" link is not displaying the background properly leaving blue text over a blue background.

    How can I disable the auto insertion, and what would the manual template code be?

    Alternately, how can I adjust the auto-insertion so it displays properly?
  • 1QuickSI
    Senior Member
    • Oct 2001
    • 881
    • 4.2.5

    #2
    Tha NAVBAR link is in pt_navbar_link. You could always remove the text and manualy edit the NAVBAR template.

    I have notieced there are incosinstancies with PT and with the NAVBAR (vBAdvanced CMPS, custom skins, etc.) Might want to try this...

    In the template pt_navbar_link use:

    Code:
    <td class="vbmenu_control"><a href="$vboptions[bburl]/project.php$session[sessionurl_q]">$vbphrase[projects]</a></td>
    Note I am adding "$vboptions[bburl]/" in front of the link.
    -----------------------------------------------------------
    Running custom version of vBulletin based on v4.2.5
    PHP 7.4.14 :: MariaDB 10.5.8

    Comment

    • AyeCapn
      New Member
      • Nov 2006
      • 10
      • 3.6.x

      #3
      found it. I commented out that template and manually added into my navbar:

      Code:
      <td><a href="$vboptions[bburl]/project.php$session[sessionurl_q]">$vbphrase[projects]</a></td>
      I suppose you could truncate it event further to:

      Code:
      <td><a href="project.php$session[sessionurl_q]">$vbphrase[projects]</a></td>

      Comment

      • Wayne Luke
        vBulletin Technical Support Lead
        • Aug 2000
        • 73981

        #4
        Why not just remove the class="vbmenu_control" from the original template. That is most likely the source of your problem.
        Translations provided by Google.

        Wayne Luke
        The Rabid Badger - a vBulletin Cloud demonstration site.
        vBulletin 5 API

        Comment

        • AyeCapn
          New Member
          • Nov 2006
          • 10
          • 3.6.x

          #5
          yep. That was it actually.

          Comment

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