PDA

View Full Version : Help with CSS in using stylesheets.css


TheSupportForum
09-20-2009, 08:37 AM
i am tryng to add the code in a css file to
fetch the body tag for background colour or if any body knows of the css code for background of body to be transparent please

this would help with alot of my mods

Lynne
09-20-2009, 02:55 PM
doesn't this work?

body {
background: transparent;
}

TheSupportForum
09-20-2009, 07:24 PM
doesn't this work?

body {
background: transparent;
}


tried this earlier today and still page is white, but my background is black

i want to be able to autochange background using the variant from MAIN CSS in vbulletin so that it picks up the colour from your own stylesheet instead of having to change it in every sty;e

Lynne
09-20-2009, 07:31 PM
Then perhaps you are either adding it before the stylesheet is being added in vbulletin (in which case the vbulletin css takes precedent) or you are not changing the right class.

TheSupportForum
09-20-2009, 07:40 PM
i have a custom template that is linked to edit, chaning the custom css file does work except for body tag and cant understand why, for example the body tag for 1 template is black and the main css file i want it another colour, changing the colour in the custom css file does work exceot for

transparent;

Lynne
09-20-2009, 08:46 PM
How about a link to where this is happening and an image of what you think it should look like.