Hi Enfold,
I’m creating a site with a transparant mobile menu and I’ve found this code on the forum from the moderator Elliott:
@media only screen and (max-width: 767px) {
#header, #header * { background: transparent !important; }
#header { position: fixed !important; }
}
The code kinda works except that the main content on the page is moved up and is now shown behind the header instead of below. (See image)
How can I fix this issue?
Kind regards! :-)
Ok so I’ve found sort of a solution which is to simply put a 40px top margin on the pages main content.
It does work on my devices but I’m not sure if it is the best solution, and most importantly I’m not sure if it’s fully compatible with the responsive design on all devices.
Any input?
Hi!
seems to be fine for me. Let us know if you come into any trouble with it and we will happily support you.
Cheers!
Andy