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 and spoiler colors

View previous topic View next topic Go down

Solved Changing code and spoiler colors

Post by Yous000 on May 6th 2012, 3:55 pm

I was able to change my quote colors with a tutorial, but my spoiler colors are currently white, and so are my code colors. I tried changing it in the colors section but it did not work. Must I do it with CSS or is there another way?

This is what it looks like:


Last edited by Yous000 on May 10th 2012, 3:32 am; edited 1 time in total

Yous000
Forumember

Posts : 240
Reputation : 4
Language : English

Back to top Go down

Solved Re: Changing code and spoiler colors

Post by Madalin on May 6th 2012, 5:29 pm

Hi,
Add in the css:
Code:

dl.codebox.spoiler { background: red;}
Change red with your color.

Madalin
New Member

Male Posts : 13
Reputation : 2
Language : Romanian.
Location : Romania.

http://help.forumgratuit.ro/forum

Back to top Go down

Solved Re: Changing code and spoiler colors

Post by NikkoBryan14 on May 6th 2012, 5:37 pm

How about having the Select Content Function in Spoiler?

NikkoBryan14
Forumember

Male Posts : 274
Reputation : 8
Language : English
Location : Philippines

Back to top Go down

Solved Re: Changing code and spoiler colors

Post by Madalin on May 6th 2012, 5:37 pm

For another problem open a new topic.

Madalin
New Member

Male Posts : 13
Reputation : 2
Language : Romanian.
Location : Romania.

http://help.forumgratuit.ro/forum

Back to top Go down

Solved Re: Changing code and spoiler colors

Post by NikkoBryan14 on May 6th 2012, 5:46 pm

okay..Created already.Hope you see it.

NikkoBryan14
Forumember

Male Posts : 274
Reputation : 8
Language : English
Location : Philippines

Back to top Go down

Solved Re: Changing code and spoiler colors

Post by Yous000 on May 9th 2012, 1:22 am

Thanks for the code, I mixed it with another tutorial and it worked using this code:
Code:

dl.codebox.spoiler {
  background-color: #181819;
border-color: #181819;
  color: #F4F1F9 !important;
}

But the I tried the same thing and changed .spoiler to .code , my code is still white though. How do I do this for codes? Razz

Yous000
Forumember

Posts : 240
Reputation : 4
Language : English

Back to top Go down

Solved Re: Changing code and spoiler colors

Post by Guest on May 9th 2012, 6:10 pm

Hey.

Use this:
Code:
dl.codebox dd code{
color: #COLOR !important;
}
Add this after all codes you have in CSS Stylesheet. Wink

Guest
Guest


Back to top Go down

Solved Re: Changing code and spoiler colors

Post by Yous000 on May 9th 2012, 11:20 pm

Coddy wrote:Hey.

Use this:
Code:
dl.codebox dd code{
color: #COLOR !important;
}
Add this after all codes you have in CSS Stylesheet. Wink

Thanks for the reply.

There is a problem though. The color: code just changes the text. So I played around with the code to change the background but it still has white. This is what my code looks like compared to quote and spoiler, code is on the top:



This is what I changed CSS to:
Code:
dl.codebox dd code{
background-color: #181819;
  border-color: #181819;
  color: #35FBCA !important;
}

Help is appreciated Razz

Yous000
Forumember

Posts : 240
Reputation : 4
Language : English

Back to top Go down

Solved Re: Changing code and spoiler colors

Post by Yous000 on May 10th 2012, 2:05 am

Rideem3 wrote:Use this CSS code instead of that one:
Code:
 .codebox, code{
    background-color: #181819;
      border-color: #181819;
      color: #35FBCA !important;
    }

Thanks for the reply. Using this code I am still getting the same white box surrounding.

Yous000
Forumember

Posts : 240
Reputation : 4
Language : English

Back to top Go down

Solved Re: Changing code and spoiler colors

Post by Yous000 on May 10th 2012, 3:31 am

Wohoo, Fixed Smile

Thanks Solved.

Yous000
Forumember

Posts : 240
Reputation : 4
Language : English

Back to top Go down

Solved Re: Changing code and spoiler colors

Post by Jophy on May 10th 2012, 4:59 am

Topic Solved & Locked

Jophy
ForumGuru

Male Posts : 17924
Reputation : 835
Language : English
Location : Somewhere

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