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.

Changing Code Background Color

3 posters

Go down

Solved Changing Code Background Color

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

Changing Code Background Color Screen10

Thanks!


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

Posts : 40
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 June 25th 2014, 5:29 am

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


Changing Code Background Color Slgray10

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

Male Posts : 51453
Reputation : 3519
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

Solved Re: Changing Code Background Color

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

FairyTailRP
FairyTailRP
Forumember

Posts : 40
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 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
Ange Tuteur
Forumaster

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

https://fmdesign.forumotion.com

Back to top Go down

Solved Solved!

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

Thanks Ange Tuteur! It works like a charm.


Solved. √
FairyTailRP
FairyTailRP
Forumember

Posts : 40
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 June 25th 2014, 8:23 am

Topic Solved & Archived


Changing Code Background Color Slgray10

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

Male Posts : 51453
Reputation : 3519
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

Back to top

- Similar topics

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