Setting Genesis Slider to Display on all Pages (?)

Community Forums Forums Design Tips and Tricks Setting Genesis Slider to Display on all Pages (?)

This topic is: not resolved

This topic contains 2 replies, has 2 voices, and was last updated by  coffeelover 2 years, 11 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #5419


    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.


    Dorian Speed

    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!



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

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.