How to hide some text navbars Hitskin_logo Hitskin.com

This is a Hitskin.com skin preview
Install the skinReturn to the skin page

The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.
3 posters

    How to hide some text navbars

    JAN2XONLINE
    JAN2XONLINE
    Forumember


    Male Posts : 943
    Reputation : 32
    Language : Tagalog, English
    Location : Alberta, Canada

    Solved How to hide some text navbars

    Post by JAN2XONLINE March 5th 2013, 7:02 am

    I want to hide group, calendar, and faq text navbar in phpbb3 forum. Please help. Thank you.
    Sanket
    Sanket
    ForumGuru


    Male Posts : 48766
    Reputation : 2830
    Language : English
    Location : Mumbai

    Solved Re: How to hide some text navbars

    Post by Sanket March 5th 2013, 7:04 am

    You could add such a code.
    Code:
    a.mainmenu[href="/groups"] {
        display: none !important;
    }
    Cassius Dio
    Cassius Dio
    Forumember


    Male Posts : 581
    Reputation : 79
    Language : Romanian &English
    Location : Yellow Submarine

    Solved Re: How to hide some text navbars

    Post by Cassius Dio March 5th 2013, 7:33 am

    Hi! Very Happy

    For removing them all (calendar + groups + faq), you can use this one:
    Code:
    a.mainmenu[href="/groups"],  a.mainmenu[href="/faq"], a.mainmenu[href="/calendar"]{
        display: none !important;
    }
    JAN2XONLINE
    JAN2XONLINE
    Forumember


    Male Posts : 943
    Reputation : 32
    Language : Tagalog, English
    Location : Alberta, Canada

    Solved Re: How to hide some text navbars

    Post by JAN2XONLINE March 5th 2013, 7:45 am

    Thank you both, but how do I remove spaces?

    How to hide some text navbars Remove14
    Cassius Dio
    Cassius Dio
    Forumember


    Male Posts : 581
    Reputation : 79
    Language : Romanian &English
    Location : Yellow Submarine

    Solved Re: How to hide some text navbars

    Post by Cassius Dio March 5th 2013, 7:51 am

    Remove the CSS codes and add to JavaScript codes management:
    Code:
    $(document).ready(function(){
    $('li').has('a.mainmenu[href="/faq"]').hide();
    $('li').has('a.mainmenu[href="/calendar"]').hide();
    $('li').has('a.mainmenu[href="/groups"]').hide();
    });
    JAN2XONLINE
    JAN2XONLINE
    Forumember


    Male Posts : 943
    Reputation : 32
    Language : Tagalog, English
    Location : Alberta, Canada

    Solved Re: How to hide some text navbars

    Post by JAN2XONLINE March 5th 2013, 7:52 am

    Awesome dude! Thank you!

    Locked!
    Sanket
    Sanket
    ForumGuru


    Male Posts : 48766
    Reputation : 2830
    Language : English
    Location : Mumbai

    Solved Re: How to hide some text navbars

    Post by Sanket March 5th 2013, 7:54 am

    Topic Solved & Locked