Jump to content
Sign in to follow this  

Navigaiton font color; 2 types

Recommended Posts

How to change only part of the font to a different color in a navigation link?


See my website; www.cleareyesight-batesmethod.info


On the left < is the navigation. I want the top words in each pages navigation to be in green and the rest of the text to stay navy blue.


Example, in the home page, top navigation;


I want




to be green.


The rest of the text under it to stay navy.


When I try to change the color it does not work and it also causes spaces between the 2 different colored text.


How to do this? Maybe in html?






Share this post

Link to post
Share on other sites

Using a span with a different class is the usual method, which is what you seem to have done.

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Create New...