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

Hide navLink

Discussion in 'Styling and Customization Questions' started by Dynamic, Apr 19, 2013.

  1. Dynamic

    Dynamic Well-Known Member

    Hi everyone,

    So to hide a navTab when it is not selected

    Code:
    .navTabs .navTab.members.PopupClosed
    {
        display: none;
    }
    Cool - I get that.

    Now, I can also hide the navTab when the popup is selected.

    Code:
    .navTabs .navTab.members
    {
        display: none;
    }
    The only problem is the secondary navigation menu also gets removed.

    Is there a way for the navLink to remain hidden, but the secondary navigation of the navLink to appear when the user is on the page of the tab?

    So even though they may be on a page within the members link, the navLink "members" will remain hidden, whilst the secondary navigation will be shown.

    Any help would be great :)

    Thanks.
     
  2. Shelley

    Shelley Well-Known Member

    If i understood you correctly have you tried the following

    Code:
    .navTabs .navTab.members .navLink
    {
        display: none;
    }
    
    
     
    mcloud and Dynamic like this.
  3. Dynamic

    Dynamic Well-Known Member

    Hi Shelly,

    I had tried that but I must have made a mistake, as using your code worked.

    Thanks a lot for your help :)
     

Share This Page