Need help? Check out our Support site, then


Twenty Ten galleries background

  1. I have a simple website with photo galleries. Behind the header is a photo as wallpaper.
    The background is white in the galleries, I want some of the galleries with a transparent background instead. The front page (home), I have managed with the code:
    }
    . home # wrapper {
    background: transparent;
    }
    and it works.

    Can anyone help me with the correct code for success in the galleries.

    I think I have to combine the gallery's ID number with something else, but how?

    Kenneth

    The blog I need help with is dosjebrokultur.wordpress.com.

  2. I take it that this must be a CSS editing question. This thread will be moved to the CSS Forum for you. Please do NOT create a duplicate thread.

  3. A small correction, there is no blog, it's a website:
    http://dosjebrokultur.se/?page_id=274

    Looked in my "profile" to change this from the blog to the website, but it does not seem to go.

  4. Try this.

    #wrapper {<br /> background: none;}

  5. weird I don't know how that
    got in there but exclude that.

  6. Yes, an ID number is needed in the code.
    I have several galleries of photos but it's not all that needs transparent background.

  7. Hi there, http://dosjebrokultur.se/ is a self-hosted WordPress installation and those sites are supported at http://wordpress.org/support/ . These forums are for those sites hosted here at WordPress.com.

    To get the page id for a specific page, look at the source code (view source) in your browser and look for the opening body tag where a number of classes are specified. You want to look for the page ID class, which will look like this:

    .page-id-274

    You then create a rule for that page like this:

    .page-id-274 #wrapper {
    background: none;
    }

    The fine folks at the WordPress.org Themes forum can help you with any additional questions on your site.

  8. weird I don't know how that
    got in there but exclude that.

    @mrdirby, thanks so much for helping out in the forums, that's totally awesome! I noticed your code examples sometimes have extra HTML in them. Would you mind leting me know how you're adding those? Also, does the problem go away if you use backtick characters around the code?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags