• 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

Metro theme: full width top, 3 widgets below

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 › Metro theme: full width top, 3 widgets below

This topic is: not resolved
  • This topic has 9 replies, 2 voices, and was last updated 12 years, 5 months ago by nutsandbolts.
Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • May 16, 2014 at 4:17 pm #105555
    MissKitty
    Participant

    We are currently using the Metro theme.

    For the home page, we'd like:
    1. full width top surrounded container div, text and image only
    2. (3) widgets below that, with separate container div (not footer)

    http://thexisles.com/newsite/Sample-Final-Homepage.jpg

    Is this possible w/ Metro theme?

    I realize that I can keep home-top widget and change CSS,
    but unregister home sidebar?
    and add new widget section that has separate div?

    Would a different theme lend itself more to our needs?

    http://thexisles.com/newsite/Sample-Final-Homepage.jpg
    May 16, 2014 at 5:32 pm #105561
    nutsandbolts
    Member

    Yes, that's possible with Metro. This tutorial should help you get started as far as getting your left, center, and right widget areas to display horizontally: http://sridharkatakam.com/display-widgets-columns-using-genesis-column-classes/


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

    May 17, 2014 at 7:24 am #105618
    MissKitty
    Participant

    Thanks Andrea, I'll give it a go.

    May 17, 2014 at 1:53 pm #105644
    MissKitty
    Participant

    Hi again,
    Ok, I was easily able to get the 3 widgets to display horizontally using column classes.

    My other issue, however, is that these 3 widgets are only to display on the home page, and the background is different than the curved background.

    The rendering we are working from has a main area at the top w/ just image and text, from top of header to bottom of Home Top, with a semi-transparent background with curved corners.

    Then a gap.

    Then the 3 widgets w/ a different transparency, also curved corners.
    rendering we are working from

    Currently, I have:

    .site-container {
    
    /*	background-color: #fff;*/
    
    	margin: 32px auto;
    
    	max-width: 1140px;
    
    	overflow: hidden;
    
    	padding: 36px;
    	
    	/*added jlr 5-16-14*/
    	background:#f7f7f7;
    	background:rgba(255,255,255,0.3)
    }
    
    which applies the semi-transparent background to the entire space....
    
    so, using the metro theme "as is" I cannot figure out (or if it's even possible) to achieve what we have in the rendering.
    
    Would it be more optimum to:
    1. choose a different theme?
    2. use the 3 widgets as footer widgets and disable them on all non-home pages?
    
    
    May 17, 2014 at 2:49 pm #105652
    nutsandbolts
    Member

    Given the custom nature of your mockup, any child theme would require a similar amount of customization/CSS to look the way you need it to look. You can use PHP to display the current widget areas only on the homepage, and the other changes would require editing the stylesheet. I don't know that it's necessary to start over with a different theme but there will definitely be some work required to achieve the desired styling.


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

    May 17, 2014 at 3:28 pm #105660
    MissKitty
    Participant

    Thank you. That was my concern 🙂

    Would it be feasible to reposition the home_bottom widget to genesis_before_footer area?

    May 17, 2014 at 3:31 pm #105661
    nutsandbolts
    Member

    You could do that, or you could use the footer widget areas and display them conditionally only on the homepage, as you mentioned before.


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

    May 18, 2014 at 1:50 pm #105776
    MissKitty
    Participant

    Ok, thanks so much, Andrea! I'll try the first option and then the second one.
    You're the best 🙂

    May 18, 2014 at 3:38 pm #105790
    MissKitty
    Participant

    Ok, I'm back again....
    Still struggling w/ getting 3 widget areas along bottom outside of .site-container div.

    My first choice would be to move home_bottom widgets to genesis_before_footer.
    However, I cannot figure out how to code the php

    My second choice would be to register a new widget (which I did),
    and then hook it to genesis_before_footer, conditionally programming it to display only on the home page.
    However, whenever I try second step (hooking to genesis_before_footer, and conditionally on home page) it breaks the site.
    For this option, this is what I've added to my functions.php file:

    
    genesis_register_sidebar( array(
    	'id'          => 'home-three',
    	'name'        => __( 'Home Three', 'metro' ),
    	'description' => __( 'This is section for 3 areas on Home page', 'metro' ),
    ) );
    
    //* Hook Home Three widget area before footer on home page
    add_action( 'genesis_before_footer', 'home-three' );
    	function home-three() {
    	if ( is_front_page() )
    		genesis_widget_area( 'home-three', array(
    			'before' => '<div class="home-three widget-area">',
    			'after' => '</div>',
    	) );
    }
    

    My last and least desired option is to show 3-column widgets on home page only.
    And I truly cannot figure that out.

    Please help 🙂

    May 20, 2014 at 5:12 pm #106093
    nutsandbolts
    Member

    It may be the fact that your function is using a dash instead of an underscore - try changing that in both spots and see if it works.


    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 10 posts - 1 through 10 (of 10 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

© 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