• 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

Padding in content area

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 › General Discussion › Padding in content area

This topic is: resolved
  • This topic has 6 replies, 2 voices, and was last updated 11 years, 1 month ago by faiekg.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • May 11, 2014 at 9:14 am #104542
    faiekg
    Member

    Hello ,

    I posted a previous post (which I closed and now cannot open) about adding padding in the content area.

    Chane page color

    The padding worked 100% but it was also applied to the front slider on my website , how can I apply it only to the post content area ?

    /* Content */

    .content {
    padding: 20px;
    float: right;
    width: 750px;
    background-color:#f4f4ec;

    }

    http://www,faga.co.za
    May 11, 2014 at 6:19 pm #104566
    Tony @ AlphaBlossom
    Member

    Hello,

    I think I understand what you want to do...you want the padding to be applied to .content on all pages except the home page?

    If so, you can add this to your style.css file, under the existing .content rule (around line 472):

    
    .home .content {
        padding: 0;
    }
    

    Tony Eppright | http://www.AlphaBlossom.com | Follow me on twitter @_alphablossom

    May 12, 2014 at 5:10 pm #104761
    faiekg
    Member

    Thanks , did not work , checked and double checked or am I missing something ?

    /* Content */

    .content {
    padding: 20px;
    float: right;
    width: 750px;
    background-color:#f4f4ec;
    .home .content {
    padding: 0;

    }

    May 12, 2014 at 5:14 pm #104763
    Tony @ AlphaBlossom
    Member

    Hello,

    You're missing the closing bracket for .content...

    
    .content {
         padding: 20px;
         float: right;
         width: 750px;
         background-color: #f4f4ec;
    } 
    
    .home .content {
         padding: 0;
    }
    

    Tony Eppright | http://www.AlphaBlossom.com | Follow me on twitter @_alphablossom

    May 13, 2014 at 9:22 am #104917
    faiekg
    Member

    Oh man crap , I really need to pay closer attention !! Thanks !! Fantastic stuff !! Worked like a charm !!

    May 13, 2014 at 11:58 am #104944
    Tony @ AlphaBlossom
    Member

    hehe can't tell you how many times the little things kill me! Glad it's working 🙂


    Tony Eppright | http://www.AlphaBlossom.com | Follow me on twitter @_alphablossom

    May 13, 2014 at 4:52 pm #104985
    faiekg
    Member

    Yes , lesson learnt over and over. insert giant face plant here !! lol , thanks again

  • Author
    Posts
Viewing 7 posts - 1 through 7 (of 7 total)
  • The forum ‘General Discussion’ 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