• 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

New Widget Areas

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 › New Widget Areas

This topic is: not resolved

Tagged: widget areas, widgets

  • This topic has 8 replies, 3 voices, and was last updated 13 years, 8 months ago by [email protected].
Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • December 5, 2012 at 1:57 am #3414
    [email protected]
    Member

    So I have a new question...
    > I am trying to get 6 widgets aligned like this site...
    > http://www.keeperofthehome.org/
    >
    > I am using the blissful theme. I tried adding 3 new widget areas. I registered them using this code.... {which I borrowed from the inspired theme}
    >
    > /** Register widget areas */
    > genesis_register_sidebar( array(
    > 'id' => 'home-middle-1',
    > 'name' => __( 'Home Middle #1', 'blissful' ),
    > 'description' => __( 'This is the first column of the home middle section.', 'blissful' ),
    > ) );
    > genesis_register_sidebar( array(
    > 'id' => 'home-middle-2',
    > 'name' => __( 'Home Middle #2', 'blissful' ),
    > 'description' => __( 'This is the second column of the home middle section.', 'blissful' ),
    > ) );
    > genesis_register_sidebar( array(
    > 'id' => 'home-middle-3',
    > 'name' => __( 'Home Middle #3', 'blissful' ),
    > 'description' => __( 'This is the third column of the home middle section.', 'blissful' ),
    > ) );
    >
    > and then using this css...
    >
    > /* Home Middle
    > ------------------------------------------------------------ */
    >
    > .home-middle {
    > margin: 0 auto;
    > overflow: hidden;
    > padding: 25px 25px 5px;
    > width: 910px;
    > }
    >
    > .home-middle-1 {
    > float: left;
    > margin: 0 24px 0 0;
    > width: 287px;
    > }
    >
    > .home-middle-2 {
    > float: left;
    > width: 287px;
    > }
    >
    > .home-middle-3 {
    > float: right;
    > width: 287px;
    > }
    > But now nothing is showing up???
    > What am I doing wrong?
    >
    > URL
    > http://www.client.keylimedigitaldesigns.com/

    December 5, 2012 at 7:16 am #3426
    AnitaC
    Keymaster

    You still need to add their respective placement in the home.php file.


    Need help with customization or troubleshooting? Reach out to me.

    December 7, 2012 at 12:43 am #3673
    [email protected]
    Member

    Okay so now I got the 3 new widget areas to show up but I can't figure out how to make them align horizontally. I added float: left; to them but still can't figure it out....

    Here is what is in my css..

    /* Home Middle
    ------------------------------------------------------------ */
    .home-middle {
    margin: 0 auto;
    overflow: hidden;
    padding: 25px 25px 5px;
    width: 570px;
    }
    .home-middle-1 {
    float: left;
    margin: 0 24px 0 0;
    width: 120px;
    }

    .home-middle-2 {
    float: left;
    width: 120px;
    }

    .home-middle-3 {
    float: left;
    width: 120px;
    }

    December 7, 2012 at 4:52 am #3686
    AnitaC
    Keymaster

    The last one should be RIGHT. And then the should line up.


    Need help with customization or troubleshooting? Reach out to me.

    December 7, 2012 at 7:00 am #3692
    AnitaC
    Keymaster

    You don't have the 3 widgets in the Home.php file - at least from my computer you don't. You need to have the HOME MIDDLE coded into the home.php.


    Need help with customization or troubleshooting? Reach out to me.

    December 7, 2012 at 5:06 pm #3795
    [email protected]
    Member

    Thanks so much for helping me figure this out. I changed the last one in the css to float: right; and still not lining up horizontal....

    Okay so here is the css I have...

    /* Home Middle
    ------------------------------------------------------------ */
    .home-middle {
    margin: 0 auto;
    overflow: hidden;
    padding: 25px 25px 5px;
    width: 570px;
    }
    .home-middle-1 {
    float: left;
    margin: 0 24px 0 0;
    width: 120px;
    }

    .home-middle-2 {
    float: left;
    width: 120px;
    }

    .home-middle-3 {
    float: right;
    width: 120px;
    }

     

    Here is the home.php I have...

    /** Add home middle 1 widget area */
    add_action( 'genesis_before_loop', 'blissful_home_middle_1' );
    function blissful_home_middle_1() {
    dynamic_sidebar( 'home-middle-1' );
    }

    /** Add home middle 2 widget area */
    add_action( 'genesis_before_loop', 'blissful_home_middle_2' );
    function blissful_home_middle_2() {
    dynamic_sidebar( 'home-middle-2' );
    }

    /** Add home middle 3 widget area */
    add_action( 'genesis_before_loop', 'blissful_home_middle_3' );
    function blissful_home_middle_3() {
    dynamic_sidebar( 'home-middle-3' );
    }

    and here is the functions php I have...

    /** Register widget areas */
    genesis_register_sidebar( array(
    'id' => 'home-middle-1',
    'name' => __( 'Home Middle #1', 'blissful' ),
    'description' => __( 'This is the first column of the home middle section.', 'blissful' ),
    ) );
    genesis_register_sidebar( array(
    'id' => 'home-middle-2',
    'name' => __( 'Home Middle #2', 'blissful' ),
    'description' => __( 'This is the second column of the home middle section.', 'blissful' ),
    ) );
    genesis_register_sidebar( array(
    'id' => 'home-middle-3',
    'name' => __( 'Home Middle #3', 'blissful' ),
    'description' => __( 'This is the third column of the home middle section.', 'blissful' ),
    ) );

     

    December 7, 2012 at 5:37 pm #3798
    AnitaC
    Keymaster

    Check your Gmail. I sent you a message.


    Need help with customization or troubleshooting? Reach out to me.

    December 16, 2012 at 12:10 am #5507
    lizbarber05
    Member

    Hi I'm trying to figure this out too.  Were there any specific changes to the coding above you made to get everything to work for you?

    Thanks!

    -Liz

    December 16, 2012 at 12:20 am #5508
    [email protected]
    Member

    I couldn't ever get it figured out. At least not with the Blissful theme. So I switched to the adorable theme and made it work! 🙂 And John was really helpful and helped me make a few tweaks. It is on another forum post right here > http://www.studiopress.community/topic/aligning-widgets/#post-4972

    Kendra

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