Colour of [code] box?
3 posters
Page 1 of 1
Colour of [code] box?
Hi,
Is it possible to change the default colour of the code box on a forum?
Example
Regards,
JDobbsy1987
Is it possible to change the default colour of the code box on a forum?
Example
- Code:
Change the colour of this box
Regards,
JDobbsy1987
Last edited by JDobbsy1987 on Sun 21 Nov - 19:54; edited 1 time in total
Re: Colour of [code] box?
put this in you CSS
ACP - Display - Colors - CSS stylesheet:
ACP - Display - Colors - CSS stylesheet:
- Code:
code {color: YOUR COLOR HERE;}
Guest- Guest
Re: Colour of [code] box?
Thank you for your reply...
I cant seem to get that to work?
i have tried both:
am i doing it wrong?
if it makes a difference i already have:
not sure what that is for though.
Cheers
I cant seem to get that to work?
i have tried both:
- Code:
code {color: #FFFFFF}
code {color: white}
am i doing it wrong?
if it makes a difference i already have:
- Code:
a.mainmenu{
filter:alpha(opacity=50);
-moz-opacity: 0.5;
opacity: 1.0;
}
a.mainmenu:hover{
filter:alpha(opacity=50);
-moz-opacity: 0.65;
opacity: 0.55;
}
not sure what that is for though.
Cheers
Re: Colour of [code] box?
Orh lol.. i though u mean the text inside it
Try this:
Try this:
- Code:
.gensmall b {color: #fff;}
Guest- Guest
Re: Colour of [code] box?
The text is useful to know however i replace the above code with
and the text goes back green bu the box doesnt change color?
- Code:
.gensmall b {color: #fff;}
and the text goes back green bu the box doesnt change color?
Re: Colour of [code] box?
May I remind you that double/triple posting isn't tolerated unless separated by 24 hours (Use the edit button)
I'm confused. do want change the color where it says Code: or change the box border color?
I'm confused. do want change the color where it says Code: or change the box border color?
Guest- Guest
Re: Colour of [code] box?
Sorry for the double post
I would like to change the colour of the box from grey to white...
if it is more clear then i have created an example post at my forum here
Sorry for the confusion
and i am greatful for all the help
I would like to change the colour of the box from grey to white...
if it is more clear then i have created an example post at my forum here
Sorry for the confusion
and i am greatful for all the help
Maki1- Hyperactive
- Posts : 2529
Reputation : 442
Language : English »» CSS Stylesheet
Location : The » Support » forum » Section! • No support by PM If you need custom theme please contact me!
Re: Colour of [code] box?
That is perfect!!
Thank you for your help.
Thank you to Ganster15 too.
Regards,
JDobbsy1987
Thank you for your help.
Thank you to Ganster15 too.
Regards,
JDobbsy1987
Re: Colour of [code] box?
Since this thread is marked solved, I will lock this thread.
Sanket
Sanket
Sanket- ForumGuru
- Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai
Similar topics
» code colour
» Captcha Code Colour
» what is the code for changing the colour of buttons
» Colour Code Section Problem
» Help about forum colour code and lenend
» Captcha Code Colour
» what is the code for changing the colour of buttons
» Colour Code Section Problem
» Help about forum colour code and lenend
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum