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 the color for [code][/code]

View previous topic View next topic Go down

Solved Changing the color for [code][/code]

Post by Takai on December 12th 2012, 9:19 pm

I've been trying for a while to be able to change the background color and the text color for the [code] box.

That and I've seen on here how the [code] box has a button where you can hit and it automatically selects everything in the box.

I've been trying to find the correct code to use in the CSS stylesheet and haven't been able to get it right yet

Takai
New Member

Posts : 20
Reputation : 0
Language : English

Back to top Go down

Solved Re: Changing the color for [code][/code]

Post by SLGray on December 13th 2012, 3:41 am

Select Content Button:
http://help.forumotion.com/t93456-select-content-butt

Please post the link to your forum.


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


SLGray
Administrator
Administrator

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

http://ztwds.forumotion.com/

Back to top Go down

Solved Re: Changing the color for [code][/code]

Post by mmägi on December 13th 2012, 7:46 am

but how to change the code box inside color? like the color is same like the forum rules up quick replay background of the rules there

mmägi
Forumember

Male Posts : 402
Reputation : 3
Language : Estonia

http://royal.forumc.net/

Back to top Go down

Solved Re: Changing the color for [code][/code]

Post by P-Robs on December 13th 2012, 10:28 am

What version is your forum? If you are using phpBB3, try throwing this into your CSS::

Code:

dl.codebox {
padding: 3px;
background-color: lightyellow;
border: 1px solid #C9D2D8;
font-size: 1em;
}

dl.codebox dt {color: purple;}

.codebox dd {color: brown;}

dl.codebox code {color: darkgrey;}

This code and several others for phpBB3 can be found here - http://help.forumotion.com/t55167-css-codes-for-customizing-phpbb3-forums

P-Robs
Forumember

Male Posts : 40
Reputation : 3
Language : English
Location : United States

http://hieraticskyacademy.forumotion.com/

Back to top Go down

Solved Re: Changing the color for [code][/code]

Post by mmägi on December 13th 2012, 1:20 pm

i have phpBB2

mmägi
Forumember

Male Posts : 402
Reputation : 3
Language : Estonia

http://royal.forumc.net/

Back to top Go down

Solved Re: Changing the color for [code][/code]

Post by Takai on December 13th 2012, 1:40 pm

Thanks that code did what I was looking for

Takai
New Member

Posts : 20
Reputation : 0
Language : English

Back to top Go down

Solved Re: Changing the color for [code][/code]

Post by SLGray on December 13th 2012, 8:01 pm

Topic Solved & Locked


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


SLGray
Administrator
Administrator

Male Posts : 36697
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