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.

Coloring a NavBar Link

2 posters

Go down

Solved Coloring a NavBar Link

Post by Yous000 July 2nd 2012, 4:32 am

On my NavBar I want to color in the link that says "IRC Connect". I had this working in the past but when I changed my forum to phpBB2 it stopped working.

Previously I used this code given to me by rideem3 to make it change color:
Code:
.navlinks a[href="URLHERE"] {
color: COLORHERE !important;
}

Now it is not working Razz

I would like some help on how to restore the color I previously had.

Thanks in advance for all help and replies.


Last edited by Yous000 on July 2nd 2012, 4:48 pm; edited 1 time in total
avatar
Yous000
Forumember

Posts : 240
Reputation : 4
Language : English

Back to top Go down

Solved Re: Coloring a NavBar Link

Post by Sanket July 2nd 2012, 1:06 pm

Try this code in the css.
Code:
a.mainmenu[href="URLHERE"]{
  color: #ffffff !important;
}
Sanket
Sanket
ForumGuru

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

Back to top Go down

Back to top

- Similar topics

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