Different link colour in posts?

Go down

Solved Different link colour in posts?

Post by Ivo94 on March 7th 2015, 8:01 pm

I'd like to change the link colour in (only) posts. On the main page, in profiles, etc. I'd like to use black for links, but in posts I'd like to use another colour. Is there a CSS code for this? Thanks! Very good


Last edited by Ivo94 on March 8th 2015, 12:06 pm; edited 1 time in total

Ivo94
Forumember

Male Posts : 84
Reputation : 0
Language : English, Dutch
Location : The Netherlands

http://septemberfans.forumotion.com/

Back to top Go down

Solved Re: Different link colour in posts?

Post by _Twisted_Mods_ on March 7th 2015, 8:06 pm

Add the following code to your stylesheet :
Administration Panel > Display > Colors > CSS stylesheet

Code:
.post .content a{color:#00ff00!important}
avatar
_Twisted_Mods_
Helper
Helper

Male Posts : 2064
Reputation : 314
Language : English
Location : Ms

http://liquidcode.forumotion.com

Back to top Go down

Solved Re: Different link colour in posts?

Post by Ivo94 on March 7th 2015, 8:30 pm

Thanks, is it also possible to have a hover link colour for this one? Smile

Ivo94
Forumember

Male Posts : 84
Reputation : 0
Language : English, Dutch
Location : The Netherlands

http://septemberfans.forumotion.com/

Back to top Go down

Solved Re: Different link colour in posts?

Post by Luffy on March 7th 2015, 8:33 pm

Hello,

Try to add this also:
Code:
.post .content a:hover{color:#ff0000!important}

Luffy



avatar
Luffy
Manager
Manager

Male Posts : 5349
Reputation : 576
Language : Greek, English
Location : Greece

https://www.crossroadz.net

Back to top Go down

Solved Re: Different link colour in posts?

Post by Ivo94 on March 7th 2015, 8:36 pm

I've entered this (on a new line), but it changes the regular hover colour. Should the codes be combined? If yes, how can I do this? Smile

Ivo94
Forumember

Male Posts : 84
Reputation : 0
Language : English, Dutch
Location : The Netherlands

http://septemberfans.forumotion.com/

Back to top Go down

Solved Re: Different link colour in posts?

Post by _Twisted_Mods_ on March 8th 2015, 3:03 am

make sure you copied the code correct because it shouldn't effect anything outside the post content
avatar
_Twisted_Mods_
Helper
Helper

Male Posts : 2064
Reputation : 314
Language : English
Location : Ms

http://liquidcode.forumotion.com

Back to top Go down

Solved Re: Different link colour in posts?

Post by Ivo94 on March 8th 2015, 12:05 pm

Not sure what I copied the first time but you're right, it totally works. Thanks!

Ivo94
Forumember

Male Posts : 84
Reputation : 0
Language : English, Dutch
Location : The Netherlands

http://septemberfans.forumotion.com/

Back to top Go down

Solved Re: Different link colour in posts?

Post by _Twisted_Mods_ on March 8th 2015, 12:26 pm

Topic solved and archived
avatar
_Twisted_Mods_
Helper
Helper

Male Posts : 2064
Reputation : 314
Language : English
Location : Ms

http://liquidcode.forumotion.com

Back to top Go down

Back to top


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