Change Navigation Titles
2 posters
Page 1 of 1
Change Navigation Titles
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- Helper
- Posts : 2337
Reputation : 324
Language : English
Location : Forumountain
Re: Change Navigation Titles
If you mean renaming the navigation links with CSS, then this is the syntax :
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.
- Code:
a.mainmenu[href^="/forum"] { font-size:0 !important; }
a.mainmenu[href^="/forum"]:after {
content:"NEW_TEXT";
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.
Sir Chivas™ likes this post
Similar topics
» Change Default Navigation Titles
» How to edit the navigation bar titles
» Cannot edit premade Navigation titles
» Change the titles in the notificationsbox
» Need to know how to change titles
» How to edit the navigation bar titles
» Cannot edit premade Navigation titles
» Change the titles in the notificationsbox
» Need to know how to change titles
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum