Site logo

Archived topic

Integration with beaver themer - ordering stack of element in mobile devices

4 replies · Started by Amiel on June 15, 2017

Viewing posts 1–5 of 5

Hello,

Ever since I met your GeneratePress theme several days ago I'm super excited about it. It is really superb! The simplicity and ease of integration are the state of the art. Thank you!

I come upon the following task while using beaver themer with GeneratePress. My question is related to the stack of the site element on mobile VS desktop.

http://d.pr/v/wdxK2J

I created a short movie that explain my request for help.

Many thanks in advance!
Amiel

Hmm that's very strange.

Can you try adding this PHP?:

add_action( 'after_setup_theme','tu_move_mobile_header' );
function tu_move_mobile_header() {
    remove_action( 'generate_after_header', 'generate_menu_plus_mobile_header', 5 );
    add_action( 'generate_before_header', 'generate_menu_plus_mobile_header', 5 );
}

Adding PHP: https://docs.generatepress.com/article/adding-php/

Thanks for the video! Really helps :)

Your code did the magic - Thanks SO much!
Once the site will be ready I'll add it to the showcase thread :)
Amiel

You're welcome! :)

This archived topic is closed to new replies.