• 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

CSS OverFlow Question with Enterprise Pro

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 › CSS OverFlow Question with Enterprise Pro

This topic is: resolved
  • This topic has 6 replies, 3 voices, and was last updated 10 years, 2 months ago by Gandt.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • June 9, 2015 at 1:41 pm #155614
    Micha
    Member

    Hello all. I'm very new to Genesis at this point so please forgive my ignorance in this.

    I have a client site I'm mocking up now at:

    http://robertsonfirm.wpengine.com
    User: demo
    Password: 3c7490

    This theme comes with a couple of widgets for the home page but I added a a couple more. I added one in the top area "enterprise_home_top_widgets()" and a couple in the bottom "enterprise_home_bottom_widgets()".

    The ones at the top are just fine.In the bottom one though, I'm trying to do a full width background in the widget title area.

    I've some code added that works on pretty much every other site I've done before.

    Here's my HTML (for only one widget area):

    <div class="title-bar">
    <h2 class="title">About the Firm</h2>
    </div>

    Here's my CSS:

    .title-bar {
    	background: #504b48;
    	margin-left: -500px;
    	margin-right: -500px;
    	margin-bottom: 20px;
    	margin-top: 20px;
    	padding: 15px 0 10px;
    	overflow: hidden;
    }
    
    .title {
    	margin-left: 500px;
    	margin-right: 500px;
    	color: #6d8b3a;
    }

    What I can't figure out is why hiding the overflow isn't actually hiding the overflow. It's styled like I want, but for the life of me I can't seem to get that to go away.

    I think this is being effected by the "site-inner" class which is wrapping that bottom area of the home page.

    Can anyone provide any insight into how to work around this or what I may be doing wrong with my CSS? Any help is greatly appreciated.

    Thanks,
    Micha

    http://robertsonfirm.wpengine.com
    June 9, 2015 at 1:57 pm #155617
    Erik D. Slater
    Member

    Demo or not ... REMOVE YOUR LOGIN CREDENTIALS IMMEDIATELY
    (click here to do it).

    This forum is publicly viewable ... you do not need to be logged in.


    Erik D. Slater: Digital Platform Consultant • LinkedIn
    June 9, 2015 at 2:28 pm #155619
    Micha
    Member

    Thanks for that Erik... that login is NOT the wp admin... it's the login to be able to view the front end of the site ONLY.

    June 11, 2015 at 11:26 am #155874
    Micha
    Member

    Does anyone have any insight into this?

    July 9, 2015 at 12:33 pm #158928
    Gandt
    Member

    Micha, yes, the issue and the fix are simple.

    In order for a containing div to properly manage other divs inside it that have float properties, it must have display:block+overflow:hidden. So, what you need to do is:

    .site-container {
    display: block;
    overflow: hidden;
    width: 100%;
    }

    That fixed the issue for me, look at this screenshot taken from my end to illustrate how the annoying horizontal navbars are all gone:

    Micha's site with css fixes applied

    Hope this helps
    G

    July 10, 2015 at 2:19 pm #159044
    Micha
    Member

    Hey Gandt. Thanks for this! The issue is solved.

    I didn't realize that about the containing div. I kept trying to add these rules to other areas, but never did the .site-container. Makes perfect sense in hindsight.

    Again, thanks a ton!

    Micha

    July 10, 2015 at 3:08 pm #159050
    Gandt
    Member

    My pleasure, glad I could help.

    G

  • Author
    Posts
Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘CSS OverFlow Question with Enterprise Pro’ is closed to new 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