- This topic is empty.
Viewing 10 posts - 1 through 10 (of 10 total)
Viewing 10 posts - 1 through 10 (of 10 total)
- The forum ‘CSS’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
For some reason I can not find the id for my search results page. (Example for another page body id=”modulePage19098228″)
Here is the page I would like to add a background color to. http://www.jobspark.ca/display/Search?searchQuery=mechanic
Sorry this is such a stupid thing to ask help for but maybe I am just tired. Thanks!
if you’re looking on the `
` tag, there isn’t one.yeah that is weird…. How do I add a background color to that page then??
Apply background: white
to your wrapper.
@andy_unleash Thanks for the help! That works fine to get the white background in but my problem is that it effects my homepage and the transparency on the page content gets blended in with the white. Is there a way to block it from the home page. http://www.jobspark.ca/
Since the front page is the only one with a different colored background. Specify the background color for the rest of your pages using the general
body #contentWrapper
and then specify the front page specifically
#modulePage19098228 #contentWrapper
thanks for the reply. So i have tried that out previously and take a look at what happens. It makes the transparency all messed up on the homepage.
Why not use the RGBa property for your background on the homepage such as;
#modulePage19098228 #contentWrapper {
background: rgba(0, 0, 0, 0.6);
}
RGBa isn’t supported in some browser versions, Chris has [wrote an article](https://css-tricks.com/rgba-browser-support/ “”) on this, though.
sweet it worked. now just need to fix it up so it works for IE 8 and down. Should i remove my old code then?
#modulePage19098228 #contentWrapper { background-image: url(/storage/transparentbackground3.png) !important; }
Is this the code i need to use for IE. If so can you show me what I need to do with it? Thanks