• 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

Setting Genesis Slider to Display on all Pages (?)

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 › Setting Genesis Slider to Display on all Pages (?)

This topic is: not resolved

Tagged: slider, slider design

  • This topic has 2 replies, 2 voices, and was last updated 10 years, 1 month ago by coffeelover.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • December 15, 2012 at 10:39 am #5419
    coffeelover
    Member

    I am using the Back Country theme with Genesis slider. Can someone tell me how to set the Genesis slider to display on all pages withing the website below the header? I realize that this probably requires some code changes. Any help is greatly appreciated.

    December 17, 2012 at 2:38 pm #5807
    Dorian Speed
    Member

    I think what I'd do is add a widgeted area after the header or before the content-sidebar wrap and then put the slider into that widget. Use something like this, added to your functions.php, to place the widgeted area there:

    add_action('genesis_before_content_sidebar_wrap', 'child_include_lower_ad');
    function child_include_lower_ad() {
    echo '<div id="lower-ad">';
    dynamic_sidebar( 'lower-ad' );
    echo '</div>';
    }

    You could also try genesis_after_header instead of genesis_before_content_sidebar_wrap.

    Then you would need to add to the style.css file to tell it how you want that widgeted area to look - something like this:
    #lower-ad {
    width: 960px;
    background: #fff;
    margin: 0;
    padding: 0;
    height: 50px;
    text-align: center;
    }

    Or however you want it to appear. Then drag the slider into that widget.


    Bringing websites Up to Speed
    Firebug will light the way to understanding the secrets of the Internet!

    December 17, 2012 at 4:18 pm #5817
    coffeelover
    Member

    Thank you for the assist - the second one might work.

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

© 2023 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