New Landing How can we help? Atelier Can I change mobile menu order?

Viewing 6 posts - 1 through 6 (of 6 total)
  • Posted in: Atelier
  • #215535
    BloomageDaydream
    Member
    Post count: 14

    Hello guys,

    I have added WPML to my Atelier theme, and I want to display the language changer in my mobile menu.

    I set up the mobile menu to display the changer and it automatically added the button to the menu near the bottom, above the other auto additions ‘sign in’ and ‘cart’ – below my custom created menu.

    Is there anyway to change it’s position so it displays at the top of the menu, above the options I have added to the menu myself. See attached image to explain further…

    I cannot change the order in ‘Menus’ as only the menu buttons I added myself display there (not cart, sign in etc).

    Thanks so much ๐Ÿ™‚

    Attachments:
    You must be logged in to view attached files.
    #215831
    David Martin – Support
    Moderator
    Post count: 20834

    Hi,

    There are a few ways to do this modification.

    The most simple is adding the line of jQuery to your theme options JS.

    jQuery('.menu-item-language-current').prependTo('.menu-mobile-de-container .menu');

    I have added this for you, please take a look at your site.

    – David.

    #215885
    BloomageDaydream
    Member
    Post count: 14

    Brilliant, that is exactly what I wanted – Thank you ๐Ÿ™‚ However, if you switch to English the menu icon slips back down the ranking in the EN mobile version – is the same code line required?

    Perhaps you could do that for me also, seems like you’d be MUCH quicker ;)!!

    #215887
    David Martin – Support
    Moderator
    Post count: 20834

    Ah yes, ok – amended to:

    jQuery('.menu-item-language-current').prependTo('.menu-mobile-de-container .menu');
    jQuery('.menu-item-language-current').prependTo('.menu-mobile-de-english-container .menu');

    Cheers,
    David.

    #237116
    pinponketo
    Member
    Post count: 36

    Hi David,

    I added the two lines above on my custom js but it did not worked for me.

    Here is my page: https://www.tequilaysoledad.com

    Could you pls give me a hint?

    Thanks in advance

    #237125
    David Martin – Support
    Moderator
    Post count: 20834

    Hi,

    I’ll need a WP login, please start a new thread and privately add yours with a references to this post.

    Thanks.

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register