Hi, I tried to make display socket menu in the phone and tablet view with this code:
@media only screen and (max-width: 767px) {
.responsive #socket .sub_menu_socket {
display: block !important;}
}
But it display menu (two items: one for privacy policy and the other for terms and conditions) only at 479px (see screenshot below):
At 480px until 767px instead of menu there is a block with nothing inside but a useless vertical space (see screenhot):
Can you help me please? Thanks
Hey!
Try adding this code to the Quick CSS:
@media only screen and (max-width: 767px) and (min-width: 480px) {
.responsive #socket .sub_menu_socket {
display: block !important;
clear: both;
}
}
Cheers!
Josue
Thanks Josue, now i get the menu in tablet view but not in the phone view…
Hi!
Please change Josue’s code to following one
@media only screen and (max-width: 767px) {
.responsive #socket .sub_menu_socket {
display: block !important;
clear: both;
}
}
Regards,
Yigit
Thanks, it works. Why @media only screen instead of @media screen?
Thanks. You can mark as resolved. Great support!