Announcement

Collapse
No announcement yet.

Auto-navbar insertion is breaking my CSS

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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?

  • #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.

    Comment


    • #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


      • #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 - Full / Mobile
        Vote for your favorite feature requests and the bugs you want to see fixed.

        Comment


        • #5
          yep. That was it actually.

          Comment

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