Change Navigation Titles

Go down

Change Navigation Titles

Post by Take Notes on May 29th 2016, 9:55 pm

I forgot how to do this, I'm pretty sure I was able to do it at one point but I forgot. I tried using the content property, no success.
Take Notes

Male Posts : 2337
Reputation : 324
Language : English
Location : Forumountain

Back to top Go down

Re: Change Navigation Titles

Post by Ange Tuteur on May 29th 2016, 11:53 pm

If you mean renaming the navigation links with CSS, then this is the syntax :
a.mainmenu[href^="/forum"] { font-size:0 !important; }
a.mainmenu[href^="/forum"]:after {
  font-size:12px !important;

First rule hides the old text by setting it to 0. Second rule adds pseudo content after the link which serves as the new text. Note that the font-size should be the default font-size of your navlinks. Remember to replace /forum with the href content of the link.
Ange Tuteur

Male Posts : 13202
Reputation : 2918
Language : EN10, FR5, JA5
Location : Macungie, PA

Back to top Go down

Back to top

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