• 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

Image background for content area on home page only

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 › Image background for content area on home page only

This topic is: not resolved

Tagged: content background., home, streamline

  • This topic has 13 replies, 2 voices, and was last updated 11 years, 7 months ago by krystyn.
Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • December 10, 2013 at 9:32 am #78059
    krystyn
    Participant

    I'd like to put an image in the background of the home page's content area...only on the home page. I'm using the genesis featured amplified widget to create the content on the home page if that makes a difference.

    I'm using the streamline child theme...and the site is in development mode so I can't share the link.

    I can't think of a hook to use to only display it on the home page...or would I just need to do a background in css for the homepage (again, not really a "HOME" page, just generated using the featured amplified widget).

    December 10, 2013 at 2:12 pm #78118
    nutsandbolts
    Member

    I would use CSS to put a background on the homepage only. Something like #home .content should do it.


    Andrea Whitmer, Owner/Developer, Nuts and Bolts Media
    I provide development and training services for designers • Find me on Twitter and Google+

    December 10, 2013 at 8:20 pm #78224
    krystyn
    Participant

    Thanks...I'll have to convert from html5....but I get the basic idea!

    December 11, 2013 at 2:18 pm #78403
    krystyn
    Participant

    @nutsandbolts if there isn't a #home in the css, besides just adding it

    #home .content-sidebar #inner .wrap {

    }

    Is there anything else I need to do? With the background image there, it's no longer showing.

    When I had it here, it was placed in the correct spot, but it just shows on all posts and pages including home.

    .content-sidebar #inner .wrap {

    background: url("http://url.com/background") no-repeat scroll 0 0 #ffffff;

    December 11, 2013 at 2:19 pm #78404
    nutsandbolts
    Member

    You can add it - that's no problem. Worst case scenario, it won't work and we'll have to try something else.


    Andrea Whitmer, Owner/Developer, Nuts and Bolts Media
    I provide development and training services for designers • Find me on Twitter and Google+

    December 11, 2013 at 2:20 pm #78405
    krystyn
    Participant

    @Nutsandbolts...yeah, I added it, and it's not showing at all now.....hmmmmm

    December 11, 2013 at 2:50 pm #78409
    krystyn
    Participant

    Whoops...tag didn't work.


    @nutsandbolts
    …yeah, I added it, and it’s not showing at all now…..hmmmmm

    December 12, 2013 at 1:37 pm #78584
    krystyn
    Participant

    Anybody else have any ideas? I'm not using a "home" page if that helps. The home page has widgets to pull posts from different categories.

    December 12, 2013 at 1:38 pm #78585
    nutsandbolts
    Member

    Have you tried .home instead of #home? Sometimes that makes the difference.


    Andrea Whitmer, Owner/Developer, Nuts and Bolts Media
    I provide development and training services for designers • Find me on Twitter and Google+

    December 12, 2013 at 1:40 pm #78586
    krystyn
    Participant

    @nutsandbolts

    Yes, I tried

    #home .content-sidebar #inner .wrap {
    background: url(“http://url.com/background”) no-repeat scroll 0 0 #ffffff;
    }

    and

    .home .content-sidebar #inner .wrap {
    background: url(“http://url.com/background”) no-repeat scroll 0 0 #ffffff;
    }

    and even

    .home.content-sidebar #inner .wrap {
    background: url(“http://url.com/background”) no-repeat scroll 0 0 #ffffff;
    }

    I'm puzzled as I thought for sure one of them would work?

    December 12, 2013 at 1:43 pm #78587
    nutsandbolts
    Member

    Are you able to post a link to the site? I'd love to take a look and see if we can figure out why it's being stubborn.


    Andrea Whitmer, Owner/Developer, Nuts and Bolts Media
    I provide development and training services for designers • Find me on Twitter and Google+

    December 12, 2013 at 1:49 pm #78589
    krystyn
    Participant

    @nutsandbolts

    Here's a link...I took off the coming soon for a bit: http://gigalaw.net

    Also, it's the picture on the left (full body)...I added it back in so you can see where it goes, but I only want it on the home page....then I will work on the css spacing so it only bumps things over on the home page and not posts, etc.

    http://gigalaw.net

    Thanks.

    December 12, 2013 at 2:01 pm #78592
    nutsandbolts
    Member

    I think this one will work - it works in Chrome's Inspector, anyway:

    .home #content-sidebar-wrap { 
    background: url("http://gigalaw.net/wp-content/uploads/2013/12/doug-full-body-crop4001.png") no-repeat scroll 0 0 #ffffff;
    }

    Andrea Whitmer, Owner/Developer, Nuts and Bolts Media
    I provide development and training services for designers • Find me on Twitter and Google+

    December 12, 2013 at 2:03 pm #78593
    krystyn
    Participant

    Perfect @nutsandbolts !

    Thank you!

    Off to get spacing right now for home and other pages.

  • Author
    Posts
Viewing 14 posts - 1 through 14 (of 14 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