Adding widgeted area next to Serenity slider

Community Forums Forums Design Tips and Tricks Adding widgeted area next to Serenity slider

This topic is: not resolved

This topic contains 5 replies, has 3 voices, and was last updated by  daretobe 2 years, 3 months ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
  • #55689



    I followed the tutorial at for adding a widgeted area next to the slider in the Serenity theme. However, I’m still unable to get it to work.

    I’d like to reduce the slider width and place an autoresponder plugin to the right of it.

    I reduced slider width to 600 and added the following to the functions.php:

    genesis_register_sidebar( array(
    ‘id’ => ‘before-content-ad’,
    ‘name’ => ‘Before Content ad’,
    ‘description’ => ‘This is a sidebar that goes before the content.’,
    ) );
    add_action( ‘genesis_before_content_sidebar_wrap’, ‘child_before_content_slider’ );
    /** Loads a new sidebar before the content */
    function child_before_content_slider() {

    echo ”;
    if ( is_home() )
    dynamic_sidebar( ‘before-content-slider’ );
    echo ”;

    To style the sidebar I used:
    /* Before Content
    ———————————————————— */

    .before-content-slider {
    background: #dddddd;
    padding: 10px;

    The new sidebar now shows up in the dashboard. However, it does not appear on the home page. I tested the sidebar by adding a text box and simply typing in sample text. The result I got was a smaller slider that was centered on the home page and has a big white space underneath.

    I am a novice at php. I’m guessing I set up something incorrectly. Here is my url:

    Thanks in advance for your help.


    You need to probably add your code to the Home.php file instead of the functions and then float the widgets – one on the left and one on the right.



    Hi and thanks for your fast response.

    I added the code to the Home.php; however, the new sidebar did not show up in the dashboard. I’m sure it’s something I’m not doing correctly.

    I found a plugin called WOW slider, so I’m going to play around with that and see if it works the way I want it to.

    Thanks again!



    The code for the home.php widget is wrong however there is an easier solution which is to install the Pro Version of Soliloquy which enables you to add a sign up form to the slider.

    Another option is to hook in a new full width widget and use content columns for the slider and sign up form which i have answered in a previous post.

    Another option is to hook the slider into the content area and use the sidebar for the sign up form.

    Or you could fix the code above.

    Simply change the hook position to output the widget content full width or content width.

    You can add the content columns to a text widget with your form code in one column and the slider shortcode in another.

    Really depends on the positioning.



    Here’s another code snippet which displays the widget content in another position on the home page



    Ok. Thank you. I will work on fixing the code and take it from there.

    Thanks so much. I will let you know how it goes.

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

You must be logged in to reply to this topic.