Tagged: x
-
AuthorPosts
-
August 20, 2016 at 9:29 am #1139484
Nathan BParticipantHello,
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.comThe part I am trying to move down is the “Call Katie” section.
Thanks for any help you can give!
August 20, 2016 at 10:41 pm #1139978
Rue NelModeratorHello 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.
August 22, 2016 at 7:48 pm #1142403
Nathan BParticipantWorked perfectly! Thanks so much.
August 22, 2016 at 10:54 pm #1142556
Prasant RaiModeratorYou are most welcome. 🙂
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1139484 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
