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.

Hide certain navigation bar link?

Go down

Solved Hide certain navigation bar link?

Post by roCrox on April 21st 2011, 2:16 pm

Is it possible to hide/disable certain links from my navigational bar,
i really see no use in having FAQ in my navbar.

using phbb2.



Last edited by roCrox on April 25th 2011, 2:41 pm; edited 1 time in total
avatar
roCrox
Forumember

Male Posts : 83
Reputation : 20
Language : English

Back to top Go down

Solved Re: Hide certain navigation bar link?

Post by Sanket on April 21st 2011, 3:01 pm

Users & groups>Special Rights
Choose admin for whichever option. So that will only be visible for you.
avatar
Sanket
ForumGuru

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

http://webartzforum.com

Back to top Go down

Solved Re: Hide certain navigation bar link?

Post by roCrox on April 21st 2011, 4:48 pm

Yes im aware of that, but im searching for something to hide it completely
to all users, if this can be done trough script code?
avatar
roCrox
Forumember

Male Posts : 83
Reputation : 20
Language : English

Back to top Go down

Solved Re: Hide certain navigation bar link?

Post by Saxaca on April 21st 2011, 5:11 pm

It is possible to hide a link based on it's href value, using CSS:
a[href='/faq'] { display: none; }

It is also possible to hide links based on id's, classes or other selectors..
avatar
Saxaca
Forumember

Male Posts : 539
Reputation : 26
Language : Markup.

Back to top Go down

Solved Re: Hide certain navigation bar link?

Post by roCrox on April 21st 2011, 10:57 pm

@Saxaca wrote:It is possible to hide a link based on it's href value, using CSS:
a[href='/faq'] { display: none; }

It is also possible to hide links based on id's, classes or other selectors..

This works,
but the selection still remains, is there a way to hide it completely.

Tho thankyou Very Happy
avatar
roCrox
Forumember

Male Posts : 83
Reputation : 20
Language : English

Back to top Go down

Solved Re: Hide certain navigation bar link?

Post by Saxaca on April 21st 2011, 11:17 pm

What selection?
avatar
Saxaca
Forumember

Male Posts : 539
Reputation : 26
Language : Markup.

Back to top Go down

Solved Re: Hide certain navigation bar link?

Post by roCrox on April 22nd 2011, 2:17 pm

Ah its just a minor two blanks more between Home and Portal in the navigational bar, doesnt matter anyway, thanks.

Also now that this is do·a·ble, can i rename nav links eg. Profile to User CP.



Edit:


Again thanks for help Saxaca & Sanket, question solved !
avatar
roCrox
Forumember

Male Posts : 83
Reputation : 20
Language : English

Back to top Go down

Solved Re: Hide certain navigation bar link?

Post by AaronW on May 9th 2011, 11:19 pm

@Saxaca wrote:

It is also possible to hide links based on id's, classes or other selectors..

How would you do this part?
I have custom nav links that take the place of 'Home' 'portal' and 'Profile' (so that I could change them to say Forum, Home, and User CP respectively) and if I try to hide it using the href, it will hide the ones I don't want hidden as well seeing as how they use the same href.

AaronW
Forumember

Male Posts : 33
Reputation : 0
Language : English

Back to top Go down

Solved Re: Hide certain navigation bar link?

Post by kirk on May 10th 2011, 1:25 am

Since the topic was marked solved i will now lock
avatar
kirk
Forumaster

Male Posts : 11037
Reputation : 653
Language : English,Vulcan,Klingon, Romulan,& Gorn

Back to top Go down

Back to top


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