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

    I added a webshop login for in a widget area and I placed this widget area below the vertical navigation (in the left sidebar) with the following code in the functions.php:

    add_action( 'ava_after_main_menu', 'enfold_customization_header_widget_area' );
    function enfold_customization_header_widget_area() {
    	dynamic_sidebar( 'webshoplogin' );
    }

    This works fine on desktop, but this solution breaks the burger menu on mobile devices: it’s empty. (the widget content is shown on the page top, ehich is perfect.

    Is there a way to publish the content right below the navigation, which also works on mobile?

    #967864

    Hey sberendss,

    Please try the following in Quick CSS under Enfold->General Styling:

    #av-burger-menu-ul {
        padding: 100px 0 !important;
    }

    Best regards,
    Rikard

    #968497

    Rikard, thank you very much!
    Issue solved. case closed.

    Sytse

    #969933

    Hi Sytse,

    Great, glad we could help. Please open a new thread if you should have any further questions or problems.

    Best regards,
    Rikard

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Widget area added under menu in left sidebar breaks burger menu on mobile’ is closed to new replies.