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
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
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
Hey!
That would be the correct approach. We would provide you the same or similar code :)
Glad you figured it out!
Cheers!
Yigit
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
Hi!
Please change the code to following one
.html_visible_cart .home .cart_dropdown {
right: 6%;
}
Cheers!
Yigit
Of course :-) My thanks!