Support » Theme: Astra » Disable Display SubMenu Just Below the Header

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi @sprockettechweb,

    Sorry, but I am not quite sure that I can understand your question. Are you referring to this doc?

    If you could provide us screenshots or a video to explain it, that will help much better. And also, do you have any site URL we can check?
    
    Looking forward to hearing from you.
    
    Kind regards,
    Herman 🙂

    Thread Starter sprockettechweb

    (@sprockettechweb)

    Yes, I don’t want that behavior.

    Hi @sprockettechweb,

    Would you please try adding this custom PHP code to your site

    add_action( 'wp', 'astra_open_submenu_below_header' , 99 );
    function astra_open_submenu_below_header() {
        $theme_options = get_option( 'astra-settings' );
        $theme_options['submenu-below-header'] = false;
        update_option( 'astra-settings', $theme_options );
        add_filter( 'astra_submenu_below_header_fix', '__return_false' );
    }

    Please refer to this doc to know how to add custom PHP code in Astra.
    
    I hope that will help. Feel free to reach out to us if you have any further queries.

    Kind regards,
    Herman 🙂

    Thread Starter sprockettechweb

    (@sprockettechweb)

    Yes, that worked. Thanks! Perhaps a toggle to turn it on or off in customizer in the next release?

    Thank you!

    Perfect @sprockettechweb!

    Good to know the code is working for you.

    I will pass over your thought to our concerned team and if feasible we will try to improve the scenario in our future updates.

    Please do let us know if there’s anything else we can help you with.

    Have a nice day and stay safe!

    Kind regards,
    Herman 🙂

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Disable Display SubMenu Just Below the Header’ is closed to new replies.