The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

How to hide some text navbars

View previous topic View next topic Go down

Solved How to hide some text navbars

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

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

JAN2XONLINE
Forumember

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

http://animeph.4umer.com/

Back to top Go down

Solved Re: How to hide some text navbars

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

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

Sanket
ForumGuru

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

http://webartzforum.com

Back to top Go down

Solved Re: How to hide some text navbars

Post by Cassius Dio on 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;
}

Cassius Dio
Forumember

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

http://beatles.forummo.com/

Back to top Go down

Solved Re: How to hide some text navbars

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

Thank you both, but how do I remove spaces?


JAN2XONLINE
Forumember

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

http://animeph.4umer.com/

Back to top Go down

Solved Re: How to hide some text navbars

Post by Cassius Dio on 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();
});

Cassius Dio
Forumember

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

http://beatles.forummo.com/

Back to top Go down

Solved Re: How to hide some text navbars

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

Awesome dude! Thank you!

Locked!

JAN2XONLINE
Forumember

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

http://animeph.4umer.com/

Back to top Go down

Solved Re: How to hide some text navbars

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

Topic Solved & Locked

Sanket
ForumGuru

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

http://webartzforum.com

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum