[Resolved] Integration with beaver themer – ordering stack of element in mobile devices

Home Forums Support [Resolved] Integration with beaver themer – ordering stack of element in mobile devices

Home Forums Support Integration with beaver themer – ordering stack of element in mobile devices

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #334316
    Amiel

    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

    #334378
    Amiel

    P.s. I forgot to add the URL for the site: http://wordpress-75005-281623.cloudwaysapps.com/
    Thanks a lot!
    Amiel

    #334551
    Tom
    Lead Developer
    Lead Developer

    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 πŸ™‚

    #335199
    Amiel

    Your code did the magic – Thanks SO much!
    Once the site will be ready I’ll add it to the showcase thread πŸ™‚
    Amiel

    #335205
    Tom
    Lead Developer
    Lead Developer

    You’re welcome! πŸ™‚

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.