Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #1277201

    We want a widget area that has scrolling headlines (using the headline rotator content element shortcode version). I have the widget built and was able to display it in the logo area using

    add_action( 'ava_after_main_menu', 'enfold_customization_header_widget_area' );
    function enfold_customization_header_widget_area() {
    dynamic_sidebar( 'header' );

    But I want it in the small bar above the logo and thought looked promising, but it doesn’t accomplish what we’re after. Is there a way to maybe edit the action above to move the results into the top left area of our page? You can see it now over the logo and I want it in the grey bar (what you call the ‘Small bar above main menu’ in the theme control panel under advanced styling) directly above the logo.


    Hey lzevon,
    Thank you for the link to your site, unfortunately, we don’t have a hook for the location you wish for. But we can move your widget to that location with this script. Try adding this code to the end of your functions.php file in Appearance > Editor:

    function custom_script() { ?>
      $('#header').each(function() {
      $(this).find('#header_main .inner-container #text-5').css({'padding':'0','display':'inline-block'}).prependTo( $(this).find('#header_meta > .container'));
    add_action('wp_footer', 'custom_script');

    Please see the expected results in the Private Content area.

    Best regards,


    Perfect, thanks Mike!


    Hi lzevon,

    We’re glad to hear that :)
    Thanks for using Enfold and have a great day!

    Best regards,

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Widget in small bar above header’ is closed to new replies.