• 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

Site-Container CSS Customizations – How to Exclude the Homepage?

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 › Site-Container CSS Customizations – How to Exclude the Homepage?

This topic is: not resolved
  • This topic has 2 replies, 2 voices, and was last updated 9 years, 8 months ago by laurarabell.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • April 29, 2016 at 12:58 pm #184693
    laurarabell
    Member

    Hi StudioPress friends,

    I'm using the altitude pro theme and made some changes to my site container like so:

    .site-container {
    background: url("/wp-content/uploads/2016/04/Bamboo-Background-4.jpg")fixed!important;
    }
    
    .full-width-content .content {
        padding: 70px 100px 50px!important;
    }
    
    .site-inner, .wrap {
        max-width: 1050px!important;
    }
    

    I was just trying to get a nice background image to spruce up the plain white page backgrounds. Then I changed around some of the padding, etc, to suit this new look.

    However, once I got the interior pages looking just right (there are about 22 of these), then I noticed that OOPS! -- all of these changes wreaked havoc on my homepage.

    Is there any fancy CSS I am missing here that could possibly tell WordPress to make these changes on every page EXCEPT the homepage?

    (the whole site is behind an "under construction" page right now so unfortunately links to the site would not be helpful)

    Thanks for any help you can provide!

    April 29, 2016 at 2:31 pm #184694
    Victor Font
    Moderator

    You can give the home page it's own CSS by using .home .site-inner {}. Don't know what theme you're using, but it should work.


    Regards,

    Victor
    https://victorfont.com/
    Call us toll free: 844-VIC-FONT (842-3668)
    Have you requested your free website audit yet?

    May 7, 2016 at 2:10 pm #185169
    laurarabell
    Member

    Thanks for your help, Victor. I'm using the Altitude Pro theme.

    Trying this but it's not working. Am I doing this right?

    .home .site-inner, .home .wrap {
        float: none;
        margin: 0 auto;
        max-width: 1200px;
    }
    
    .site-inner, .wrap {
        max-width: 1050px;
    }
  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 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

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