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.

Different link colour in posts?

View previous topic View next topic 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}

_Twisted_Mods_
Helper
Helper

Male Posts : 2020
Reputation : 299
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






Luffy
Manager
Manager

Male Posts : 4035
Reputation : 407
Language : Greek, English
Location : Greece

http://www.thinktankforum.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

_Twisted_Mods_
Helper
Helper

Male Posts : 2020
Reputation : 299
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

_Twisted_Mods_
Helper
Helper

Male Posts : 2020
Reputation : 299
Language : English
Location : Ms

http://liquidcode.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