Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Cant find correct page id!

  • This topic is empty.
Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #41146
    goalieman34
    Member

    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!

    http://www.jobspark.ca

    #116238
    __
    Participant

    if you’re looking on the `` tag, there isn’t one.

    #116240
    goalieman34
    Member

    yeah that is weird…. How do I add a background color to that page then??

    #116241
    Kitty Giraudel
    Participant

    Apply background: white to your wrapper.

    #116326
    goalieman34
    Member

    @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/

    #116341
    stevencrader
    Member

    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

    #116350
    goalieman34
    Member

    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.

    http://www.jobspark.ca/

    #116352
    Watson90
    Member

    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.

    #116355
    goalieman34
    Member

    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; }
    #116356
    goalieman34
    Member

    Is this the code i need to use for IE. If so can you show me what I need to do with it? Thanks



Viewing 10 posts - 1 through 10 (of 10 total)
  • The forum ‘CSS’ is closed to new topics and replies.