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 Sun Jul 01, 2012 9:32 pm

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 Mon Jul 02, 2012 9:48 am; 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 Mon Jul 02, 2012 6:06 am

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