• 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

Genesis – Less White Padding on Top/Bottom Post Teases on Homepage and Widgets

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 › Genesis – Less White Padding on Top/Bottom Post Teases on Homepage and Widgets

This topic is: resolved

Tagged: customization, design, genesis, homepage, padding, Sidebar

  • This topic has 6 replies, 2 voices, and was last updated 12 years, 2 months ago by eevdo.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • January 2, 2014 at 2:46 pm #82747
    eevdo
    Member

    Hi guys,

    I am looking to reduce the top and bottom white padding on each post teaser located on my homepage: http://bit.ly/18VG5dq

    For the widget area I am looking to put less white padding on the top and bottom of each sidebar widget.

    Thanks!

    http://bit.ly/18VG5dq
    January 4, 2014 at 8:56 pm #83319
    nutsandbolts
    Member

    For the post entries, find this in your stylesheet:

    .entry {
    background-color: #fff;
    border-radius: 3px;
    margin-bottom: 40px;
    margin-bottom: 4rem;
    padding: 40px 40px 24px;
    padding: 4rem 4rem 2.4rem;
    }

    Those last two lines of padding are what affects the white space (the first number is the top padding and it goes clockwise). You need to keep both px and rem values equivalent (10px = 1rem).

    As for the widget areas, find this:

    .sidebar .widget {
    background-color: #fff;
    border-radius: 3px;
    margin-bottom: 40px;
    margin-bottom: 4rem;
    padding: 40px;
    padding: 4rem;
    }

    Same thing - it's the two lines with padding and the values need to be equivalent. When there is only one number listed, it applies to all four sides.

    Hope that helps!


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

    January 19, 2014 at 10:59 pm #86027
    eevdo
    Member

    That worked perfectly!
    Thank you very much.

    How about if I want to change the spacing between widgets and entries?

    January 19, 2014 at 11:00 pm #86028
    nutsandbolts
    Member

    Can you point me to an example on the site?


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

    January 20, 2014 at 10:41 am #86116
    eevdo
    Member

    If you visit the website: http://bit.ly/18VG5dq

    You will see that in between each of the posts on the homepage as well as the sidebar widgets there is a grey space.
    I would like to reduce the space as to make the content closer together.

    Thank you.

    January 20, 2014 at 12:08 pm #86127
    nutsandbolts
    Member

    For the posts, find this:

    .entry {
    background-color: #fff;
    border-radius: 3px;
    margin-bottom: 40px;
    margin-bottom: 4rem;
    padding: 40px 40px 24px;
    padding: 4rem 4rem 2.4rem;
    }

    and change to this to eliminate the gray completely:

    .entry {
    background-color: #fff;
    border-radius: 3px;
    padding: 40px 40px 24px;
    padding: 4rem 4rem 2.4rem;
    }

    To do the same for the sidebar, find this:

    .sidebar .widget {
    background-color: #fff;
    border-radius: 3px;
    margin-bottom: 40px;
    margin-bottom: 4rem;
    padding: 40px;
    padding: 4rem;
    }

    and change to this:

    .sidebar .widget {
    background-color: #fff;
    border-radius: 3px;
    padding: 40px;
    padding: 4rem;
    }

    If you use a tool like Firebug or Chrome's Inspector, it's easy to find the rules in your stylesheet that apply to different areas of the site. You can test changes before going into the stylesheet to make sure they will do what you want.


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

    January 26, 2014 at 9:35 pm #87176
    eevdo
    Member

    Awesome. Worked perfectly.
    Thanks.

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