• 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

Minimum Pro: Background Image Visible on Sides?

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 › Minimum Pro: Background Image Visible on Sides?

This topic is: resolved
  • This topic has 5 replies, 2 voices, and was last updated 10 years ago by Sridhar Katakam.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • August 30, 2013 at 3:30 pm #59784
    jmrallen
    Member

    I'm trying to make the background image in Minimum Pro appear on the sides of the homepage rather than just the top, just like how they do it here using a non-Genesis environment. But, none of the CSS adjustments I've tried have worked. I've tried the .wrap, the .site-inner, and all manner of things, but I can't get the main container area to be white yet the background image showing on the sides. Instead, the image always just shows on the top, while the area shows full width.

    For ease of illustration, I've changed the white to be gray on my sample site (dev.dailygame.net). Any ideas would be much appreciated. This is one of many CSS updates I need/want to make, but it's an important one to me. Thanks.

    For what it's worth, the sliding background function isn't working either, but I'll be OK with that once the image starts showing on the sides....

    August 30, 2013 at 11:26 pm #59837
    Sridhar Katakam
    Participant

    Add the following at the end of child theme's style.css (WP dashboard -> Appearance -> Editor):

    .site-inner {
        background: transparent;
    }
    
    .site-inner .wrap {
        /*background: #FFFFFF;*/
        background-color: rgba(555,555,555,0.7);
    }
    
    #home-featured {
        padding: 1.5rem;
    }
    
    #home-middle {
        padding-left: 1.5rem;
    }
    
    .footer-widgets {
        background: transparent;
    }
    
    .footer-widgets .wrap {
        background-color: rgba(51,51,51,0.5);
    }
    
    .site-footer {
        background: transparent;
    }

    Genesis Tutorials | Follow me on Twitter

    September 1, 2013 at 9:24 pm #60184
    jmrallen
    Member

    Wow, that worked like a charm. Thank you! If I can bother you with one more question: is there a way to code it so I could specify whether the background image appears on just the homepage, just internal pages, or on all pages of the site?

    September 1, 2013 at 10:05 pm #60188
    Sridhar Katakam
    Participant

    Yes.

    Try this:

    js/backstretch-set.js reads

    jQuery(document).ready(function($) {
    	$("body").backstretch([BackStretchImg.src],{duration:3000,fade:750});
    });

    In the above code,

    Use body for site-wide.

    Use body.category-sony for setting it just at http://dev.dailygame.net/category/videogames/sony


    Genesis Tutorials | Follow me on Twitter

    September 1, 2013 at 10:50 pm #60194
    jmrallen
    Member

    Thank you. Unfortunately, the "body" call does not work site-wide; the image only appears on the homepage using that default setting. I also tried body.category-sony and body.category-videogames-sony , and neither of those was able to specify the page on which it appeared.

    September 2, 2013 at 6:09 am #60224
    Sridhar Katakam
    Participant

    Here you go: http://sridharkatakam.com/how-to-make-background-in-minimum-pro-appear-on-selected-pages/


    Genesis Tutorials | Follow me on Twitter

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

© 2023 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