• 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

modern portfolio theme, padding issue

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 › modern portfolio theme, padding issue

This topic is: not resolved

Tagged: modern portfolio, padding, responsive themes

  • This topic has 2 replies, 2 voices, and was last updated 12 years, 4 months ago by mattd.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • March 14, 2013 at 6:56 am #26156
    mattd
    Member

    Take a look at the demo for modern portfolio, specifically a blog post.
    http://demo.studiopress.com/modern-portfolio/

    If you slowly shrink the width of the browser, at a certain point, the text gets pushed right up against the browser window. Is there some way to adjust this. It would look so much better if there were even just a little extra white space there.

    I looked in the CSS style file, and added padding directly, but then the content column seemed to run into the sidebar when I did this. I tried adding padding around the entire body, but this also creates strange style distortions. The theme is so well balanced, any simple changes creates problems elsewhere ... is there a simple way to add in some extra padding so the text doesn't go flush up against the window?

    March 14, 2013 at 9:24 am #26189
    AnitaC
    Keymaster

    Where did you change the padding? Did you change it in the main CSS area or under the mobile device area of the CSS?


    Need help with customization or troubleshooting? Reach out to me.

    March 14, 2013 at 4:40 pm #26873
    mattd
    Member

    Thank you for asking. 🙂

    I've tried several things.

    One solution is to add padding directly to #content. However, this doesn't work. Content gets pushed directly into the sidebar *or* off the screen.

    I've looked at the responsive section, and am not sure where I could add padding. I did try just adding it directly under some of the headings, but that didn't work for me.

    Another solution I've experimented with is to create a new class ID that contains the padding I want. I then try to use hooks to place it into the coding. For example, doing this I can insert padding starting at "genesis_before" and ending "genesis_after" ... but this also creates different complicated problems.

    Is there a way to add padding on the left, but then take it away on the right to restore balance? That seems like it would be an easy solution, but I don't know how to do that ...

  • 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

© 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