• 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

Website scrolls to the left?

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 › Website scrolls to the left?

This topic is: resolved
  • This topic has 3 replies, 2 voices, and was last updated 12 years, 1 month ago by Tony @ AlphaBlossom.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • April 19, 2014 at 8:06 am #101270
    Ben Siegfried
    Participant

    Can't figure out why the website is scrolling to the left? Have poked around CSS inspectors for a bit. What is causing this to happen?

    http://www.weightiermatter.com/
    April 19, 2014 at 4:51 pm #101324
    Tony @ AlphaBlossom
    Member

    Hello,

    On your styles.css rules, you have a "width: 100% !important;" declaration on your inputs (around line 315).

    Your input in your .nav-primary and .footer-widgets-5 have the .search-form input[type="submit"] width set to 1px (around line 628). That's being overwritten by the rule above (width: 100% !important;) so it's causing the inputs to extend way beyond the outer wrapper, causing your horizontal scroll.

    Either remove the !important from the first rule (line 315), or add it to the input[type="submit"] like:

    
    .search-form input[type="submit"] {
        border: 0 none;
        clip: rect(0px, 0px, 0px, 0px);
        height: 1px;
        margin: -1px;
        padding: 0;
        position: absolute;
        width: 1px !important;
    }
    

    That will fix your problem. If you remove it from the existing, pay attention to your inputs...I don't think it's their by default so it must have been added for a reason and removing it might screw up something else on your site.

    Hope that helps...

    Tony


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

    September 26, 2014 at 11:55 am #125841
    Ben Siegfried
    Participant

    Hey thanks so much Tony!

    September 27, 2014 at 12:27 am #125915
    Tony @ AlphaBlossom
    Member

    You're welcome! Glad I could help...have a great weekend!


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

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