Twenty Ten galleries background

  • Author
    Posts
  • #1365769

    keckeson
    Member

    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.

    #1365926

    timethief
    Member

    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.

    #1366032

    keckeson
    Member

    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.

    #1366074

    mrdirby
    Member

    Try this.

    #wrapper {
    background: none;}

    #1366075

    mrdirby
    Member

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

    #1366079

    keckeson
    Member

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

    #1366091

    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.

    #1366116

    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?

The topic ‘Twenty Ten galleries background’ is closed to new replies.