The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Change Navigation Titles

View previous topic View next topic Go down

Change Navigation Titles

Post by Genesis 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.

Genesis
Forum Reviewer
Forum Reviewer

Male Posts : 2331
Reputation : 322
Language : English
Location : Forumountain

http://forumpromocean.com

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 :
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.

Ange Tuteur
Forumaster

Male Posts : 13021
Reputation : 2683
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

View previous topic View next topic Back to top


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