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.

Changing Code Background Color

View previous topic View next topic Go down

Solved Changing Code Background Color

Post by FairyTailRP on June 25th 2014, 5:18 am

Hello.... I wanted to know if it was possible to change the background color of the [code] [./code] so it isn't white since my font color is white and it makes it really hard to see that there's text there.

Basically I've been having to change the font color to something else like below, but every single time I edit the topic or thread it changes back to white. So I'd prefer if I could change the background color to something else like black or maybe even transparent.



Thanks!


Last edited by FairyTailRP on June 25th 2014, 8:15 am; edited 1 time in total (Reason for editing : Solved)

FairyTailRP
Forumember

Posts : 32
Reputation : 1
Language : English, Spanish, Mandarin, Cantonese

http://www.fairytail-rp.com/

Back to top Go down

Solved Re: Changing Code Background Color

Post by SLGray on June 25th 2014, 5:29 am

Please post a link to a post that has the code box in it that guests can see.


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.


SLGray
Administrator
Administrator

Male Posts : 36701
Reputation : 2445
Language : English
Location : United States

http://ztwds.forumotion.com/

Back to top Go down

Solved Re: Changing Code Background Color

Post by FairyTailRP on June 25th 2014, 5:37 am


FairyTailRP
Forumember

Posts : 32
Reputation : 1
Language : English, Spanish, Mandarin, Cantonese

http://www.fairytail-rp.com/

Back to top Go down

Solved Re: Changing Code Background Color

Post by Ange Tuteur on June 25th 2014, 6:31 am

Hello FairyTailRP,

You can change the background and font color with the following CSS rule.

Administration Panel > Display > Colors > CSS stylesheet
Code:
.codebox dd {
 color:#FFF;
 background:#000;
}

Ange Tuteur
Forumaster

Male Posts : 13028
Reputation : 2704
Language : EN10, FR5
Location : Pennsylvania

http://fmdesign.forumotion.com

Back to top Go down

Solved Solved!

Post by FairyTailRP on June 25th 2014, 8:13 am

Thanks Ange Tuteur! It works like a charm.


Solved. √

FairyTailRP
Forumember

Posts : 32
Reputation : 1
Language : English, Spanish, Mandarin, Cantonese

http://www.fairytail-rp.com/

Back to top Go down

Solved Re: Changing Code Background Color

Post by SLGray on June 25th 2014, 8:23 am

Topic Solved & Archived


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.


SLGray
Administrator
Administrator

Male Posts : 36701
Reputation : 2445
Language : English
Location : United States

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