• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Changing background image / for the post section

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › Design Tips and Tricks › Changing background image / for the post section

This topic is: not resolved

Tagged: background image for blog section, css

  • This topic has 3 replies, 2 voices, and was last updated 7 years, 8 months ago by dpalme.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • October 31, 2017 at 8:36 am #213117
    dpalme
    Participant

    If you look at the following url: http://www.palmeacres.com/blog/ you will notice that the header section of the blog post has a background image. I'm trying to find a way to make the entire section (left side and widget side) use the background image. I can't seem to find a css rule that encapsulates the header, left and right.

    Am I missing something here or do I need to make a change to the css?

    November 1, 2017 at 7:25 am #213141
    sangfroidweb
    Participant

    Hey there,
    If I'm following you, you'll need to put the background on the .site-container-wrap element.....but then you will also need to make the background color of the .site-header element transparent so you can see the background image coming through from underneath.

    On line 582 of the stylesheet add the background image to the .site-container-wrap

    .site-container-wrap {
    background: #fff url(/blog/wp-content/uploads/2017/10/body-bkgd.jpg) no-repeat 0 0;
    border: 1px solid #e3e3e3;
    margin: 60px auto;
    max-width: 1140px;
    }

    On line 1254, make the background color transparent:

    .site-header {
    /* commenting this out - background: url(/blog/wp-content/uploads/2017/10/body-bkgd.jpg) no-repeat 0 0; */
    background-color: transparent;
    border-bottom: 3px solid #000;
    }

    Also to note...if you only want this to happen on this Blog page, instead of changing those declarations in the lines referenced above (which will affect ALL .site-container-wrap and .site-header elements), you will need to add the CSS with the declarations specific to the blog page by adding the .blog selector (see below)

    .blog .site-container-wrap {
    background: #fff url(/blog/wp-content/uploads/2017/10/body-bkgd.jpg) no-repeat 0 0;
    border: 1px solid #e3e3e3;
    margin: 60px auto;
    max-width: 1140px;
    }

    .blog .site-header {
    /* commenting this out - background: url(/blog/wp-content/uploads/2017/10/body-bkgd.jpg) no-repeat 0 0; */
    background-color: transparent;
    border-bottom: 3px solid #000;
    }

    Hope this helps! Let me know if this is not what you meant and we'll try to help you get it sorted out.
    Thanks!
    Liz


    Liz or Eddy @SangFroid Web — Customizing StudioPress themes at http://www.wpstudioworks.com and building custom Genesis Child themes for businesses at http://www.sangfroidwebdesign.com 🙂

    November 6, 2017 at 8:13 am #213311
    dpalme
    Participant

    I decided to try this on a diff site, so as to not mess with a production setup quite yet. It worked for the header and the left side, but the widget side is still showing white background. I will change it to full width and see how that works.

    November 6, 2017 at 8:49 am #213314
    dpalme
    Participant

    It does fix it with the full width but if I leave the widgetized display on that still shows as white.

    Also I don't see in the settings | reading section where I can set it to a static front page...

  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘Design Tips and Tricks’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2025 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble