The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Change some navigation bar links colors

3 posters

Go down

Solved Change some navigation bar links colors

Post by -MiSHmaSH- Wed Mar 05, 2014 4:13 pm

Hello!
I have navigation bar with no pictures. How can I change color of ''register'' and ''You have X new messages''

And is it possible to change link name? I want to change ''Saturs'' (Home) name.

Thanks!
-MiSHmaSH-
-MiSHmaSH-
Forumember

Male Posts : 267
Reputation : 12
Language : Latvian

Back to top Go down

Solved Re: Change some navigation bar links colors

Post by vaccam Wed Mar 05, 2014 5:48 pm

You cannot change the color as far as i know, but you can just make an image and copy it in and it will replace the name of the navigation botton. I did so with my forum.

Guide to change it

ACP - > DISPLAY - > HEADERS AND NAVIGATION - > CLICK ON THIS BOTTON Change some navigation bar links colors Ok17 - > PLACE IN THE URL OF YOUR PICTURE WHERE IT SAYS : PICTURE


SOMETIMES THE MESSAGES AND NEW MESSAGES WILL NOT CHANGE, IF SO DO THIS

ACP - > DISPLAY - > PICS MANAGEMENT - > ADVANCED MODE - > GENERAL/EXPLORE - > SCROLL DOWN AND ADD THE URL


Hope this helped

Vaccam
vaccam
vaccam
Forumember

Posts : 371
Reputation : 14
Language : Norwegian
Location : Norway

http://www.revengelesspk.com/

Back to top Go down

Solved Re: Change some navigation bar links colors

Post by Ange Tuteur Wed Mar 05, 2014 5:51 pm

Hello -MiSHmaSH-,

You should be able to change the new message link with this CSS :
Code:
.new-message { color:red !important; }

To change a specific link you can use its pathname :
Code:
a[href="/register"] { color:yellow !important; }

To change the name of a navlink you can do something like this :
First set the default font-size to 0, then on our next selector we add text after using the ::after selector
Code:
a[href="/forum"] { font-size:0 !important; }
a[href="/forum"]:after {
    font-size:11px;
    content:"Navlink Name";
}
Ange Tuteur
Ange Tuteur
Forumaster

Male Posts : 13207
Reputation : 3000
Language : English & 日本語
Location : Pennsylvania

https://fmdesign.forumotion.com

Back to top Go down

Solved Re: Change some navigation bar links colors

Post by -MiSHmaSH- Thu Mar 06, 2014 10:33 am

All work, but there is error:
Change some navigation bar links colors Ylt55epdllqqfa7k3rrj
I want to remove that link what is somehow shown there...  Change some navigation bar links colors Mouais
-MiSHmaSH-
-MiSHmaSH-
Forumember

Male Posts : 267
Reputation : 12
Language : Latvian

Back to top Go down

Solved Re: Change some navigation bar links colors

Post by Ange Tuteur Thu Mar 06, 2014 10:33 am

Please provide a link to your forum.

Thank you Smile
Ange Tuteur
Ange Tuteur
Forumaster

Male Posts : 13207
Reputation : 3000
Language : English & 日本語
Location : Pennsylvania

https://fmdesign.forumotion.com

Back to top Go down

Solved Re: Change some navigation bar links colors

Post by -MiSHmaSH- Thu Mar 06, 2014 10:35 am

Only in PM
-MiSHmaSH-
-MiSHmaSH-
Forumember

Male Posts : 267
Reputation : 12
Language : Latvian

Back to top Go down

Solved Re: Change some navigation bar links colors

Post by Ange Tuteur Thu Mar 06, 2014 10:55 am

Oooh I made a mistake. I forgot to put the mainmenu class name.

Just add it after 'a' here :
Code:
a.mainmenu[href="/"] { font-size:0 !important; }
a.mainmenu[href="/"]:after {
    font-size:11px;
    content:"Navlink Name";
}

That should edit 'forums'

Since we put the font-size to 0 we need to fix some things.

Try this :
it is the same as above, so add it instead since it has properties to fix the design.
Code:
a.mainmenu[href="/"] {
    font-size:0 !important;
    padding:12px 4px !important;
    position:relative;
    bottom:4px;
}
a.mainmenu[href="/"]:after {
    font-size:11px;
    content:"Navlink Name";
    position:relative;
    top:4px;
}
Ange Tuteur
Ange Tuteur
Forumaster

Male Posts : 13207
Reputation : 3000
Language : English & 日本語
Location : Pennsylvania

https://fmdesign.forumotion.com

Back to top Go down

Solved Thanks!

Post by -MiSHmaSH- Thu Mar 06, 2014 10:59 am

Works!  :wouhou:
-MiSHmaSH-
-MiSHmaSH-
Forumember

Male Posts : 267
Reputation : 12
Language : Latvian

Back to top Go down

Solved Re: Change some navigation bar links colors

Post by Ange Tuteur Thu Mar 06, 2014 11:01 am

Welcome Smile

Topic solved and archived
Ange Tuteur
Ange Tuteur
Forumaster

Male Posts : 13207
Reputation : 3000
Language : English & 日本語
Location : Pennsylvania

https://fmdesign.forumotion.com

Back to top Go down

Back to top

- Similar topics

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