Jump to content

Archived

This topic is now archived and is closed to further replies.

KimAnn03

Fixed navbar font color

Recommended Posts

KimAnn03

I can alter the font size of the navbar through CSS but for some reason I can not get a different color.

 

Here is what I have:

 

.navbar .navline > li > a {font-size: 13px; color:#000000;}
 

Please advise, thanks,

Kim

Share this post


Link to post
Share on other sites
James B

Hi Kim

 

As the color is connected to the color class .pl-color-grey its being overridden higher up in the code. You can try the below instead

 

.navbar.pl-color-grey .navline > li > a {
    color: rgba(0, 0, 0, 0.6);}
 
Or force your code with !important
 
.navbar .navline > li > a {font-size: 13px; color:#000000 !important;}

Kindly search the forum and read the documentation before posting. It will help you resolve many issues.

For CSS help be sure to check out W3Schools first and be sure to download FireBug for FireFox for troubleshooting.

James B

Share this post


Link to post
Share on other sites
KimAnn03

Thanks James. The below code did the trick!

 

.navbar.pl-color-grey .navline > li > a {

    color: rgba(0, 0, 0, 1);}

Share this post


Link to post
Share on other sites
James B

Glad it worked, thanks for updating.


Kindly search the forum and read the documentation before posting. It will help you resolve many issues.

For CSS help be sure to check out W3Schools first and be sure to download FireBug for FireFox for troubleshooting.

James B

Share this post


Link to post
Share on other sites

×