• 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

Full Width Slider Help?

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

This topic is: not resolved

Tagged: full width, full-width slider, help, slider

  • This topic has 7 replies, 2 voices, and was last updated 11 years, 1 month ago by amiddayinmay.
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • January 20, 2015 at 5:11 pm #138139
    amiddayinmay
    Member

    Hi All,

    Just looking for some help as I am using the Meta Slider Plugin and am wanting to create a full width slider, but currently I cannot get this to work. It seems that when the slider is set at 100% width it is still only sitting within the entry-content container.

    If someone wouldn't mind having a look here:
    Jo Daly Interiors

    I'd really appreciate the help!

    Thanks in advance!

    Kate

    http://www.jodalyinteriors.com.au
    January 20, 2015 at 8:33 pm #138151
    RitzyThemes
    Member

    Hi Kate!

    kindly describe how you are embedding this slider in your homepage? are you using hook or just adding shortcode in post to embed the slider?


    Get free and premium Genesis Child Themes

    January 20, 2015 at 8:36 pm #138152
    amiddayinmay
    Member

    Hey RitzyThemes,

    I am currently just using shortcode. Should I be using a hook instead?

    January 21, 2015 at 11:27 am #138199
    RitzyThemes
    Member

    Well if you want keep sidebar at homepage and also want to embed the slider you can do it via hook and its an easy way.

    Go to WP-Admin > Appearance > Editor and start editing functions.php file.

    [note: before making any changes please do backup of your function.php file.]

    add_action( 'genesis_after_header', 'child_after_header' );
    function child_after_header() {
    	
    	if ( is_home() || is_page( 'home' ) ) {
    		
    		//* create a widget area only for homepage.
    		genesis_widget_area( 'home-after-header', array(
    			'before' => '<div class="meta-slider-block"><div class="wrap">',
    			'after' => '</div></div>',
    		) );
    		
    	}
    	
    }
    
    //* register new widget area in admin area.
    genesis_register_sidebar( array(
    	'id'          => 'home-after-header',
    	'name'        => 'Home - After Header',
    	'description' => 'use text-widget to add slider shortcode',
    ) );

    Now go to widget and there you will able to see new Widget block "Home - After Header"

    Add Text Widget in it and save your meta slider shortcode.

    So that's how you can create full width slider block before site-inner and use as you like,


    Get free and premium Genesis Child Themes

    January 22, 2015 at 3:27 pm #138303
    amiddayinmay
    Member

    Thank you so much RitzyThemes, that has worked well! Is there a way to remove the white space that is now showing where the main content is? Can I remove this all together on the home page? As we simply want the header, slider and footer?

    Thanks again so much for your help!

    January 22, 2015 at 3:50 pm #138312
    amiddayinmay
    Member

    Sorry @RitzyThemes I've just noticed that this widget is now showing on my blog post page now too? Have I done something incorrect?

    January 26, 2015 at 9:08 am #138664
    RitzyThemes
    Member

    well you done nothing wrong, but how you are displaying you homepage?? because the above code is 100% correct and only display the widget area for homepage.


    Get free and premium Genesis Child Themes

    January 26, 2015 at 2:39 pm #138695
    amiddayinmay
    Member

    I'm displaying it as fullwidth @RitzyThemes so I have no idea why it isn't working! Any suggestions? Starting to get a little frustrated with it?

    Thanks again for your help!

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