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.

Display: none not working with navbar

3 posters

Go down

Solved Display: none not working with navbar

Post by Kiekeboe August 4th 2013, 10:33 am

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, 11:16 am; edited 1 time in total
Kiekeboe
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 August 4th 2013, 10:41 am

Yes, it needs to be done like this example:

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

Male Posts : 2537
Reputation : 166
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 August 4th 2013, 10:44 am

Thankyou! Is it possible to edit the style of the new message link? And the normal inbox link?
Kiekeboe
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 August 4th 2013, 10:49 am

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.
avatar
runawayhorses
Hyperactive

Male Posts : 2537
Reputation : 166
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 August 4th 2013, 10:54 am

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
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 August 4th 2013, 11:04 am

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/
avatar
runawayhorses
Hyperactive

Male Posts : 2537
Reputation : 166
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 August 4th 2013, 11:29 am

Thank you so much for your help! I'll try that website (:
Kiekeboe
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 August 5th 2013, 12:06 pm

Topic Solved & Locked


Display: none not working with navbar Slgray10

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

Male Posts : 51463
Reputation : 3519
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

Back to top

- Similar topics

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