[Support request] Mobile Header Hooks

Home Forums Support [Support request] Mobile Header Hooks

Home Forums Support Mobile Header Hooks

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #2251651
    tolis

    Hello, how i can put in mobile header a phone icon and a account icon left and right the logo?

    https://i.postimg.cc/wMqgvk8w/Screenshot-2022-06-13-at-11-09-00-AM.png

    #2251711
    Fernando
    Customer Support

    Hi Tolis,

    It cant seem to view the site you’ve linked even when using a proxy server located in Germany: https://share.getcloudapp.com/KoujqprG

    In any case, you can try creating two separate Buttons Block through a Block Element hooked to inside_mobile_menu_control_wrapper and displayed to your preferred location. Example: https://share.getcloudapp.com/ApuXj5GZ

    Then we can use CSS to place them in the right location.

    Kindly let us know once you’ve added them.

    #2251814
    tolis

    ok i added them can you help me with the css please 😉

    #2251867
    David
    Staff
    Customer Support

    Hi there,

    did you add the Buttons to the hook ? As i cannot see them on the site.

    #2251886
    tolis

    hello, yes i added them

    #2251896
    tolis

    if i choose the hook menu_bar_items they appear in mobile menu but when i choose inside_mobile_menu_control_wrapper they dont appear

    https://postimg.cc/gallery/LZ4Vcb9

    #2251934
    David
    Staff
    Customer Support

    OK, i can see them now 🙂

    1. Select the Buttons block ( the outer block not the button ) that contains the Phone Button. In Advanced > Additional CSS Classes add: phone-button

    2. Change this CSS:

    #mobile-header .menu-toggle {
        order: -1;
        margin-right: auto;
    }

    to:

    #mobile-header .menu-toggle {
        order: -1;
    }

    3. Add this CSS:

    #mobile-header .phone-button {
        margin-right: auto;
    }
    #2251972
    tolis

    Thank you very much it worked 😉

    #2252205
    David
    Staff
    Customer Support

    Glad to hear that!

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