• 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

One-half columns in Home Top area…what's the best way?

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 › One-half columns in Home Top area…what's the best way?

This topic is: resolved

Tagged: column, executive pro, home, one-half, top

  • This topic has 7 replies, 2 voices, and was last updated 11 years, 10 months ago by nutsandbolts.
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • December 30, 2013 at 7:44 pm #82207
    rcwatson
    Member

    I have the Executive Pro child theme of Genesis. I need to insert two one-half columns in the Home-Top area, with the slider above it and the Home-Middle below it.

    I've added two "Text" widgets to the Home-Top area, but they currently display in the one-third column configuration, leaving me with a blank third column. I'd like these to take up 50% each of the width of the Home-Top widget area.

    I've tried putting <div class="one-half first"> around the content of the first Text widget and then <div class="one-half"> around the content of the second Text widget. That didn't work. I tried modeling it using Chrome Inspector on the local cache to see if I could make it happen, but the one-half class doesn't seem to work quite the way I want on any of the elements. I even went into the template and tried hardcoding it, but can't figure out how.

    What's the best way?

    http://stage.custombuiltwindows.com
    December 31, 2013 at 11:04 am #82316
    nutsandbolts
    Member

    If you use column classes, the contents of the two text widgets should be combined. So you'd have one text widget set up like this:

    <div class="one-half first">
    Content currently in the first text widget
    </div>
    <div class="one-half">
    Content currently in the second text widget
    </div>

    Hopefully that makes sense!


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

    January 1, 2014 at 12:01 pm #82500
    rcwatson
    Member

    Thanks. Problem is, that just "squishes" it into the first column. Have a look at http://stage.custombuiltwindows.com/

    January 1, 2014 at 12:05 pm #82501
    nutsandbolts
    Member

    Find this in your stylesheet:

    .home-middle .widget,
    .home-top .widget {
    	float: left;
    	padding: 0 2.8%;
    	width: 33.3333333333%;
    }

    And change it to this:

    .home-middle .widget {
    	float: left;
    	padding: 0 2.8%;
    	width: 33.3333333333%;
    }

    That will allow the widget to take up the entire widget area instead of being limited to 1/3 of it.


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

    January 1, 2014 at 12:43 pm #82519
    rcwatson
    Member

    Hmm. Problem is that the template and styles seems to assume one always wants the top and middle widgets divided into thirds. Is there a way to differentiate and customize these on an as-needed basis?

    January 1, 2014 at 12:44 pm #82521
    nutsandbolts
    Member

    Yes, that's what I was doing above - removing the CSS that makes the home top area divide itself into thirds, but leaving it for the home middle area.


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

    January 1, 2014 at 12:50 pm #82525
    rcwatson
    Member

    Ah, ok. I get it. Just to be sure, I made things very explicit:

    .home-top .widget {
    	float: left;
    	padding: 0 2.8%;
    	width: 100%;
    }
    
    .home-middle .widget
    {
    	float: left;
    	padding: 0 2.8%;
    	width: 33.3333333333%;
    }

    It works the way I intended now.

    Thanks.

    January 1, 2014 at 12:51 pm #82526
    nutsandbolts
    Member

    You may want to check your media queries to be sure it displays okay on mobile, but otherwise I'm glad to hear it's working. I'm going to mark this topic as resolved but feel free to open a new one if needed. 🙂


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

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