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.

Display: none not working with navbar

View previous topic View next topic Go down

Solved Display: none not working with navbar

Post by Kiekeboe on August 4th 2013, 5:33 pm

He guys!

Just a quick question, I'm using these codes to hide a certain part of my navbar, but it won't work. You know what's wrong with it? I'm using PunBB.

Code:


#i_icon_mini_message {
}

#i_icon_mini_new_message {
}

#i_icon_mini_index {
display:none !important;
}
#i_icon_mini_search {
display:none !important;
}
#i_icon_mini_members {
display:none !important;
}
#i_icon_mini_calendar {
display:none !important;
}
#i_icon_mini_faq {
display:none !important;
}
#i_icon_mini_groups {
display:none !important;
}
#i_icon_mini_profile {
display:none !important;
}
#i_icon_mini_logout {
display:none !important;
}
#i_icon_mini_login {
display:none !important;
}
#i_icon_mini_register {
display:none !important;
}

Thanks!


Last edited by Kiekeboe on August 5th 2013, 6:16 pm; edited 1 time in total

Kiekeboe
Forumember

Female Posts : 250
Reputation : -1
Language : Dutch, english, german and a little bit french, guitar chords, html, a bit CSS
Location : Maastricht (Holland)

http://wolfstory.clicboard.com

Back to top Go down

Solved Re: Display: none not working with navbar

Post by runawayhorses on August 4th 2013, 5:41 pm

Yes, it needs to be done like this example:

Code:
a[href="/groups"] {
display: none;
}

runawayhorses
Hyperactive

Male Posts : 2537
Reputation : 162
Language : English
Location : United States

http://runawayhorses.alldiscussion.net/

Back to top Go down

Solved Re: Display: none not working with navbar

Post by Kiekeboe on August 4th 2013, 5:44 pm

Thankyou! Is it possible to edit the style of the new message link? And the normal inbox link?

Kiekeboe
Forumember

Female Posts : 250
Reputation : -1
Language : Dutch, english, german and a little bit french, guitar chords, html, a bit CSS
Location : Maastricht (Holland)

http://wolfstory.clicboard.com

Back to top Go down

Solved Re: Display: none not working with navbar

Post by runawayhorses on August 4th 2013, 5:49 pm

You mean the text of the link? Yes its possible but difficult, you would need to have someone write you javascript to change the wording. The best way change the wording is to make transparent background text image buttons that you simply upload to your forum. They give the appearance they are text when in fact they are images.

runawayhorses
Hyperactive

Male Posts : 2537
Reputation : 162
Language : English
Location : United States

http://runawayhorses.alldiscussion.net/

Back to top Go down

Solved Re: Display: none not working with navbar

Post by Kiekeboe on August 4th 2013, 5:54 pm

The thing is that I want to make a new navbar with a drop-down menu. With my own links. The only link I can't reproduce is when the user gets a new PM, the name changes of the link.

Kiekeboe
Forumember

Female Posts : 250
Reputation : -1
Language : Dutch, english, german and a little bit french, guitar chords, html, a bit CSS
Location : Maastricht (Holland)

http://wolfstory.clicboard.com

Back to top Go down

Solved Re: Display: none not working with navbar

Post by runawayhorses on August 4th 2013, 6:04 pm

Well thats a whole other ballgame you're getting into there I doubt it will include adding CSS like this to remove the links:

Code:
a[href="/groups"] {
display: none;
}

It will be using those links to create the new navbar. What you want is going to take some major work using both CSS and javascript. I can't help you with this I don't write javascripts. Perhaps someone else here can help you or you could try looking in this forums section where members that have posted there help sites, look for one that specializes in javascripts. You could try this one: http://www.avacweb.com/

runawayhorses
Hyperactive

Male Posts : 2537
Reputation : 162
Language : English
Location : United States

http://runawayhorses.alldiscussion.net/

Back to top Go down

Solved Re: Display: none not working with navbar

Post by Kiekeboe on August 4th 2013, 6:29 pm

Thank you so much for your help! I'll try that website (:

Kiekeboe
Forumember

Female Posts : 250
Reputation : -1
Language : Dutch, english, german and a little bit french, guitar chords, html, a bit CSS
Location : Maastricht (Holland)

http://wolfstory.clicboard.com

Back to top Go down

Solved Re: Display: none not working with navbar

Post by SLGray on August 5th 2013, 7:06 pm

Topic Solved & Locked


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.


SLGray
Administrator
Administrator

Male Posts : 36618
Reputation : 2439
Language : English
Location : United States

http://ztwds.forumotion.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