MyBB Community Forums

Full Version: Spoiler Tags with no white background.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
http://prntscr.com/d44o1

At the moment it shows a white background when I don't have anything but an image.

I want the rest of the spoiler box to be transparent.
Which plugin or MyCode are you using? It should be simple enough - just change the background property to "transparent" from whatever it is now.

An easy way to find out is to use Chrome's "Inspect Element" feature, or download Firebug for Firefox.

Otherwise a link would also be helpful.
If that's the plugin I'm thinking of, it comes with a stylesheet. Go to:

Admin CP -> Templates & Style -> YOUR STYLE -> spoiler.css

Find any instances of "background" and replace with:
	background: transparent;

The CSS should be really small, so it's not hard to find.
http://prntscr.com/d4jpo

that's all i have.


EDIT: Nvm went to inc, plugins, and edited the spoiler.php

but thanks for the help /.
I was about to recommend that, just looked at the file.