Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #539743

    Hi,

    I’ve changed the homepage to always show the mobile menu icon instead of the normal menu. Problem is when you put something in the cart the cart icon appears and overlaps the mobile menu icon on smaller screens. How can I solve this with css?

    Cheers,
    Jaap

    #539747

    Hey Jaap!

    Please add following code to Quick CSS in Enfold theme options under General Styling tab

    .html_visible_cart .cart_dropdown {
        right: 6%;
    }

    Cheers!
    Yigit

    #539763

    Hi Yigit,

    Thanks for the quick reply. The code works on my 15″ but on smaller screens the buttons still overlap each other. I’ve added this code also for the various resolutions:

    @media only screen and (max-width: 1300px)
    {.responsive.html_mobile_menu_tablet.html_visible_cart #top .cart_dropdown {
    right: 8% !important;
    }}

    @media only screen and (max-width: 950px) and (min-width: 767px)
    {.responsive.html_mobile_menu_tablet.html_visible_cart #top .cart_dropdown {
    right: 10% !important;
    }}

    If this can be done more easy let me know.

    Cheers,
    Jaap

    #539766

    Hey!

    That would be the correct approach. We would provide you the same or similar code :)
    Glad you figured it out!

    Cheers!
    Yigit

    #539768

    Hi Yigit,

    One more thing I notice. On other pages where the normal menu is present the cart icon currently overlaps the social icons :-)
    Any ideas?

    Cheers,
    Jaap

    #539772

    Hi!

    Please change the code to following one

    .html_visible_cart .home .cart_dropdown {
        right: 6%;
    }

    Cheers!
    Yigit

    #539775

    Of course :-) My thanks!

    #539779

    Hi!

    You are welcome! Let us know if you have any other questions or issues and have a great weekend! :)

    Cheers!
    Yigit

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Mobile menu icon and shop icon’ is closed to new replies.