- Readme First! - Read and follow the rules, otherwise your posts will be closed
There are currently, 54 guest(s) and 0 member(s) that are online. You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - Colors are some of my blocks [ ]
Author
Message
Stormm
Nuke Cadet
Joined: Sep 25, 2006
Posts: 7
Posted:
Sun Sep 24, 2006 9:10 pm
www.enigmahq.org
I am trying to change the color of the shout box, so you can actually see it, same with journal and my game reviews section. If someone can tell me how can edit the colors there that would be great. Thanks
qwer
Nuke Cadet
Joined: Sep 23, 2006
Posts: 4
Posted:
Mon Sep 25, 2006 4:21 am
change the color in your theme style.css.
the two colors are #FFFFFF and #EBEBEB
Stormm
Nuke Cadet
Joined: Sep 25, 2006
Posts: 7
Posted:
Mon Sep 25, 2006 7:48 am
i already tryed that but it doesnt work :S
Here is my style.css
That is the default one.
Code:
FONT {FONT-FAMILY: Verdana,Helvetica; FONT-SIZE: 11px}
TD {FONT-FAMILY: Verdana,Helvetica; FONT-SIZE: 11px}
BODY {FONT-FAMILY: Verdana,Helvetica; FONT-SIZE: 11px}
P {FONT-FAMILY: Verdana,Helvetica; FONT-SIZE: 11px}
DIV {FONT-FAMILY: Verdana,Helvetica; FONT-SIZE: 11px}
INPUT {FONT-FAMILY: Verdana,Helvetica; FONT-SIZE: 11px}
TEXTAREA {FONT-FAMILY: Verdana,Helvetica; FONT-SIZE: 11px}
FORM {FONT-FAMILY: Verdana,Helvetica; FONT-SIZE: 11px}
A:link {BACKGROUND: none; COLOR: #cccccc; FONT-SIZE: 11px; FONT-FAMILY: Verdana, Helvetica; TEXT-DECORATION: underline}
A:active {BACKGROUND: none; COLOR: #cccccc; FONT-SIZE: 11px; FONT-FAMILY: Verdana, Helvetica; TEXT-DECORATION: underline}
A:visited {BACKGROUND: none; COLOR: #cccccc; FONT-SIZE: 11px; FONT-FAMILY: Verdana, Helvetica; TEXT-DECORATION: underline}
A:hover {BACKGROUND: none; COLOR: #cccccc; FONT-SIZE: 11px; FONT-FAMILY: Verdana, Helvetica; TEXT-DECORATION: underline}
.title {BACKGROUND: none; COLOR: #cccccc; FONT-SIZE: 13px; FONT-WEIGHT: bold; FONT-FAMILY: Verdana, Helvetica; TEXT-DECORATION: none}
.content {BACKGROUND: none; COLOR: #ffffff; FONT-SIZE: 11px; FONT-FAMILY: Verdana, Helvetica}
.storytitle {BACKGROUND: none; COLOR: #363636; FONT-SIZE: 14px; FONT-WEIGHT: bold; FONT-FAMILY: Verdana, Helvetica; TEXT-DECORATION: none}
.storycat {BACKGROUND: none; COLOR: #ffffff; FONT-SIZE: 13px; FONT-WEIGHT: bold; FONT-FAMILY: Verdana, Helvetica; TEXT-DECORATION: underline}
.boxtitle {BACKGROUND: none; COLOR: #363636; FONT-SIZE: 11px; FONT-WEIGHT: bold; FONT-FAMILY: Verdana, Helvetica; TEXT-DECORATION: none}
.boxcontent {BACKGROUND: none; COLOR: #ffffff; FONT-SIZE: 12px; FONT-FAMILY: Verdana, Helvetica}
.option {BACKGROUND: none; COLOR: #ffffff; FONT-SIZE: 13px; FONT-WEIGHT: bold; FONT-FAMILY: Verdana, Helvetica; TEXT-DECORATION: none}
.tiny {BACKGROUND: none; COLOR: #ffffff; FONT-SIZE: 10px; FONT-WEIGHT: normal; FONT-FAMILY: Verdana, Helvetica; TEXT-DECORATION: none}
.footmsg {BACKGROUND: none; COLOR: #ffffff; FONT-SIZE: 8px; FONT-WEIGHT: normal; FONT-FAMILY: Verdana, Helvetica; TEXT-DECORATION: none}
.footmsg_l {BACKGROUND: none; COLOR: #ffffff; FONT-SIZE: 8px; FONT-WEIGHT: normal; FONT-FAMILY: Verdana, Helvetica; TEXT-DECORATION: underline}
.box {FONT-FAMILY: Verdana,Helvetica; FONT-SIZE: 11px; border: 1px solid #ffffff; background-color: #FFFFFF}
Stormm
Nuke Cadet
Joined: Sep 25, 2006
Posts: 7
Posted:
Mon Sep 25, 2006 10:29 am
anyone ?
Stormm
Nuke Cadet
Joined: Sep 25, 2006
Posts: 7
Posted:
Mon Sep 25, 2006 7:36 pm
spottedhog
Captain
Joined: Apr 30, 2004
Posts: 566
Posted:
Tue Sep 26, 2006 3:18 am
In your style sheet, create a span element like this:
span.shoutbox {background:YOURCOLORHERE; color:YOURTEXTCOLORHERE}
(you need to specify the textcolor to make the element CSS error-free)
Then where you need to change the background, surround the code with the span like this:
Code:
<span class=\"shoutbox\">SHOUTBOXCODEHERE</span>
_________________SMF-Nuke admin
SMF and PHP Nuke integration is ready! Take a look at it by clicking on the link above.
Stormm
Nuke Cadet
Joined: Sep 25, 2006
Posts: 7
Posted:
Tue Sep 26, 2006 7:46 am
Then where you need to change the background, surround the code with the span like this:
Code:
<span class=\"shoutbox\">SHOUTBOXCODEHERE</span>
[/quote]
where do i put that code?
Stormm
Nuke Cadet
Joined: Sep 25, 2006
Posts: 7
Posted:
Tue Sep 26, 2006 8:29 am
ok i did all that and it didnt work lol
anything else maybe?
spottedhog
Captain
Joined: Apr 30, 2004
Posts: 566
Posted:
Tue Sep 26, 2006 2:01 pm
change the word "span" to "div"..... in both the style.css file and the block file. If that does not work, copy and paste the code here....
_________________SMF-Nuke admin
SMF and PHP Nuke integration is ready! Take a look at it by clicking on the link above.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum