Spoiler color

Go down

Solved Spoiler color

Post by Fivekills on Sun 21 Oct - 12:16

Question:
* Anyway to change the black background spoiler color?

Other users may wish to change their own spoiler color so they may match the website's backgrounds. Without having the long black drop down box with all our context inside it, that can offset are forum backgrounds and make it look ugle as matching your background color, would make it a nicer feel & look in the end. So, is there anyway to change the spoiler color. (Anyone)?

Exmaple:

Changed spoiler:

This spoiler box & background is white how was it done?
avatar
Fivekills
New Member

Posts : 15
Reputation : 1
Language : English

http://original-inc.forumotion.com

Back to top Go down

Solved Re: Spoiler color

Post by Sanket on Sun 21 Oct - 13:37

Forum Version or URL? A link to the thread with a spoiler on your forum, would be perfect. Make sure its available for guests to view.
avatar
Sanket
ForumGuru

Male Posts : 48766
Reputation : 2828
Language : English
Location : Mumbai

http://webartzforum.com

Back to top Go down

Solved Re: Spoiler color

Post by Neymar1 on Sun 21 Oct - 15:09

For phpbb3

Code:
dl.chatbox.spoiler {
  background-color: #000000 !important;
  color: #FFFFFF !important;
}

That would change it to a black background with white text.

For phpbb2 (which it says on your profile), the spoilers are different. You can mess around with this code though. It will change the background colours to black and the main text to white.

Code:
table.spoiler, td.spoiler_closed, td.spoiler_content{
  background-color: #000000 !important;
  color: #FFFFFF !important;
}


Obviously you can change the colours to whatever you wish.
avatar
Neymar1
Forumember

Male Posts : 406
Reputation : 28
Language : HTML, CSS, and a bit of JavaScript
Location : Scotland

http://www.simplyfifa.com

Back to top Go down

Solved Re: Spoiler color

Post by Fivekills on Sun 21 Oct - 20:54

Thank you, so much Neymar1 that did it. Very Happy
avatar
Fivekills
New Member

Posts : 15
Reputation : 1
Language : English

http://original-inc.forumotion.com

Back to top Go down

Solved Re: Spoiler color

Post by SLGray on Sun 21 Oct - 21:12

Is this solved now?


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

avatar
SLGray
Administrator
Administrator

Male Posts : 43094
Reputation : 3050
Language : English
Location : United States

https://fmthemes.forumotion.com/

Back to top Go down

Solved Re: Spoiler color

Post by Fivekills on Sun 21 Oct - 21:22

Solved.
avatar
Fivekills
New Member

Posts : 15
Reputation : 1
Language : English

http://original-inc.forumotion.com

Back to top Go down

Solved Re: Spoiler color

Post by SLGray on Sun 21 Oct - 23:28

Thanks.
Topic Solved & Locked


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

avatar
SLGray
Administrator
Administrator

Male Posts : 43094
Reputation : 3050
Language : English
Location : United States

https://fmthemes.forumotion.com/

Back to top Go down

Back to top


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