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

Get rid of this button?

Discussion in 'Styling and Customization Questions' started by Sway, Aug 27, 2012.

  1. Sway

    Sway Active Member

    I'm trying to get rid of this nav link but i'm not too sure where to go, and i really dont want to mess anything up :l

    Screenshot:
    http://imgur.com/frW8D
     
  2. Shelley

    Shelley Well-Known Member

    you could try adding the following in EXTRA.CSS template

    Code:
    .navTabs .navTab.help .navLink {
    display:none;
    }
    
    
     
    Brandon Sheley and Sway like this.
  3. Sway

    Sway Active Member

    Thanks Shelly. :)
     
  4. Sway

    Sway Active Member

    I have managed to get that removed but now i still have an invisible drop down selection there, and i cant seem to get rid of it :l
     
  5. Neil E.

    Neil E. Active Member

    I removed the Help button using the TMS (template modification system -addon).

    template: Navigation

    Search:
    Code:
    <xen:if is="{$tabs.help}">
      <li class="navTab help {xen:if $tabs.help.selected, 'selected', 'Popup PopupControl PopupClosed'}">
     
        <a href="{$tabs.help.href}" class="navLink" rel="help">{$tabs.help.title}</a>
        <a href="{$tabs.help.href}" class="SplitCtrl" rel="Menu"></a>
     
        <div class="{xen:if {$tabs.help.selected}, 'tabLinks', 'Menu JsOnly tabMenu'}">
        <div class="primaryContent menuHeader">
          <h3>{$tabs.help.title}</h3>
          <div class="muted">{xen:phrase quick_links}</div>
        </div>
        <ul class="secondaryContent blockLinksList">
        <xen:hook name="navigation_tabs_help">
          <li><a href="{xen:link help/smilies}">{xen:phrase smilies}</a></li>
          <li><a href="{xen:link help/bb-codes}">{xen:phrase bb_codes}</a></li>
          <li><a href="{xen:link help/trophies}">{xen:phrase trophies}</a></li>
        </xen:hook>
        </ul>
        </div>
      </li>
    </xen:if>
    

    Replace:
    leave the field completely blank

    Bascially this means the help tab code is never executed. No styling change is required because the tab no longer exists when your page is served out.

    I highly recommend using the TMS.
     
  6. Sway

    Sway Active Member

    I'll look into TMS, Thanks. :p
     
  7. Neil E.

    Neil E. Active Member

    Interesting how some things come back and bite you. While my TMS edit removed the Help tab, it also removed the tabLinks bar (that sits below the navTabs). This shows up ONLY when you click on Terms and Rules taking you to the "terms" page (all other pages are fine; this is why it took me a long time to discover the problem). The Terms and Rules link is at the bottom of the forum.

    Using Shelley's CSS, the Help tab is not displayed, however the tabLinks still show when viewing the terms page. I changed my TMS edit to:

    search
    Code:
    <ul class="secondaryContent blockLinksList">
          <xen:hook name="navigation_tabs_help">
                <li><a href="{xen:link help/smilies}">{xen:phrase smilies}</a></li>
                <li><a href="{xen:link help/bb-codes}">{xen:phrase bb_codes}</a></li>
                <li><a href="{xen:link help/trophies}">{xen:phrase trophies}</a></li>
          </xen:hook>
    </ul>
    
    replace (blank)

    This removes the tabLinks. I expect Shelley will be along shortly to say "Just use this xyz CSS to make these disappear too".
     
    Sway likes this.

Share This Page