Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1139484
    Nathan B
    Participant

    Hello,

    I have a fixed-left nav bar using the Icon stack and am trying to get a widget area underneath my main navigation. I found a previous post here that helped me add the widget area, but it has it directly under the logo and above the navigation. I would like it below the navigation.

    Here is my site.
    http://thegardenofwords.yellowcowdesign.com

    The part I am trying to move down is the “Call Katie” section.

    Thanks for any help you can give!

    #1139978
    Rue Nel
    Moderator

    Hello There,

    Thanks for writing in! Using the given code in the other thread, you can simply place the widget under the menu by just updating the code. You can make use of this instead:

    add_action('x_after_view_global__nav-primary', function(){ 
    
    echo '<div cass="logobar-widget-area">';
    dynamic_sidebar( "logobar-sidebar" );
    echo '</div><style>.logobar-widget-area { float: right; }</style>';
    
    });
    
    register_sidebar( array(
    	'name'          => __( 'Logobar Widget Placement' ),
    	'id'            => "logobar-sidebar",
    	'description'   => '',
    	'class'         => '',
    	'before_widget' => '<div id="%1$s" class="widget %2$s">',
    	'after_widget'  => "</div>",
    	'before_title'  => '<h3 class="widgettitle">',
    	'after_title'   => "</h3>"
    ) );

    We would loved to know if this has work for you. Thank you.

    #1142403
    Nathan B
    Participant

    Worked perfectly! Thanks so much.

    #1142556
    Prasant Rai
    Moderator

    You are most welcome. 🙂

  • <script> jQuery(function($){ $("#no-reply-1139484 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>