• 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

Genesis Slider Full Width

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 › Genesis Slider Full Width

This topic is: resolved

Tagged: genesis, slider

  • This topic has 5 replies, 2 voices, and was last updated 10 years, 9 months ago by Tony @ AlphaBlossom.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • August 18, 2014 at 11:33 am #119560
    maru
    Member

    Hello,

    I just added the Genesis Responsive slider to my site at the top of the blog posts, but I would like it to be full width, that way the first thing you see after the nav bar is the slider and then the blog posts in line with the sidebar. Here's my site and the code I used to add the slider:

    /** Add new widget before entry on homepage in Genesis theme | basicwp.com/add-new-widget-genesis-homepage/ */
    genesis_register_sidebar( array(
    'id' => 'homepage-feature',
    'name' => __( 'Homepage Feature', 'custom' ),
    'description' => __( 'This is Homepage feature section', 'custom' ),
    ) );

    /** Top Homepage feature section */
    add_action( 'genesis_before_entry', 'news_homepage_feature', 9 );
    function news_homepage_feature() {
    if ( is_home() && is_active_sidebar( 'homepage-feature' ) ) {
    echo '<div class="homepage-feature">';
    dynamic_sidebar( 'homepage-feature' );
    echo '</div><!-- end .homepage-feature -->';
    }
    }

    http://www.fashionyfab.com
    August 18, 2014 at 6:43 pm #119642
    Tony @ AlphaBlossom
    Member

    Hi,

    If you use the genesis_before_content_sidebar_wrap hook it will place it before the content/sidebar wrapper (after the nav). So in your function above, replace:

    
    add_action( ‘genesis_before_entry’, ‘news_homepage_feature’, 9 );
    

    with

    
    add_action( ‘genesis_before_content_sidebar_wrap’, ‘news_homepage_feature’ );
    

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

    August 18, 2014 at 6:58 pm #119645
    maru
    Member

    Thank you, that did it! 🙂 One more thing, now the images are not full width, I already updated the maximum slider width but nothing happens.

    August 18, 2014 at 7:02 pm #119646
    Tony @ AlphaBlossom
    Member

    Cool, glad it helped. You may have to regenerate your images, or reupload them (whichever you think is easier)

    https://wordpress.org/plugins/regenerate-thumbnails/


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

    August 18, 2014 at 7:05 pm #119647
    maru
    Member

    Ok, thank you so much for your help Tony!

    August 18, 2014 at 7:08 pm #119648
    Tony @ AlphaBlossom
    Member

    My pleasure...let me know if you have any more issues...have a great night!


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

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

© 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