• 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

Responsive problem

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 › Responsive problem

This topic is: resolved

Tagged: responsive

  • This topic has 5 replies, 2 voices, and was last updated 11 years, 12 months ago by Tony @ AlphaBlossom.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • November 14, 2013 at 10:38 pm #73078
    spoll
    Participant

    I was working on this today and everything was as it should be. I decided to check it tonight on 2 cellphones and the header and nav are completely messed up and staying to the left. On my computer screen it's dead center. I deleted and reinstalled Genesis Responsive header thinking maybe that was the cause but no luck.

    Can someone please help me out here?

    Thanks-
    Scott

    http://www.scabsbandages.com
    November 14, 2013 at 10:51 pm #73087
    spoll
    Participant

    I made an adjustment but now it's just that there's a large amount of space to the right. Normally that's the correct responsive layout without anything to the right.

    November 15, 2013 at 9:44 pm #73340
    Tony @ AlphaBlossom
    Member

    Hello,

    I think your two biggest problems are:

    .after-content-ad (around line 888)

    and

    .header-full-width #title-area,
    .header-full-width #title,
    .header-full-width #title a (around line 255)

    are both set to width: 960px;

    You should change them to 100%, and set your padding-left and padding-right to 0. You might have to tweak that a little if you need the side padding...there's several different ways to do it. I would probably do it like this:

    
    #header > .wrap {
       width: 94%;
       padding: 0 3%;
    }
    

    You can change those to anything, just make sure they add up to 100%.

    The last problem I saw with your structure is the #nav. It's set to 100%, but the padding (left and right) is causing it to go over that.

    I would change your #nav style to:

    
    #nav {
       width: 94%;
       padding-left: 3%;
       padding-right:3%;
    }
    

    These changes will take care of your issue with everything way to the left, and also completely eliminate the horizonal scroll bar at smaller resolutions.

    I recommend looking at box-sizing for all or some of your site when doing responsive. It will not factor padding and borders into the with, so if you set the width to 100%, the padding will not add to that but will apply inside of the 100%...it will make your life much easier 🙂

    http://www.paulirish.com/2012/box-sizing-border-box-ftw/


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

    November 15, 2013 at 9:51 pm #73341
    Tony @ AlphaBlossom
    Member

    One more thing I noticed (only looked at your home page)...your #content is also set for 100% width plus left and right padding, so it's going over the 100% width. Same as above, you'll have to either apply the box-sizing from the link above, or adjust it so your width + left-padding + right-padding = 100%;

    Have a great weekend!

    Tony


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

    November 18, 2013 at 2:21 pm #74010
    spoll
    Participant

    Hi Tony-

    I played around with this approach and I think it worked great, very simple as well.

    Thanks-
    Scott

    November 19, 2013 at 2:17 pm #74246
    Tony @ AlphaBlossom
    Member

    Hi Scott,

    Glad to hear it helped. Have a great day!

    Tony


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

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