Hello,
I tried to create a floating menu on an existing page, but I’m struggling.
Can you help me? I would love to have something like this url attached in the private content
Thank you
Hi octopussolutions,
Please try to add this CSS code in Enfold > General Styling > Quick CSS:
@media only screen and (min-width:1080px) {
.html_header_top.html_header_transparency #header {
background-color: white;
margin-top: 30px;
max-width: 1080px;
left: 50%;
transform: translateX(-50%);
border-radius: 8px;
box-shadow: 0 0 20px rgba(0,0,0,0.05);
overflow: hidden;
}
}
This code only takes effect on desktops and laptops but not on tablets and mobile phones.
Hope this helps.
Best regards,
Nikko
Hello Nikko,
I tried to do something similar, without success.
Now I have a problem with the submenu (dropdown), which unfortunately doesn’t work with this code. Can we solve this maybe?
Thanks
I fixed this by removing overflow. What do you think about that?
Also, I see that border radius loses its value while scroling down.
Hi octopussolutions,
I think what you made is the correct solution, to fix the border radius issue, please add this inside the media query:
.html_header_top.html_header_transparency #header .header_bg {
border-radius: 8px;
}
Hope it helps.
Best regards,
Nikko
Thank you Nikko,
unfortunately the code you suggested for border radius inside media query does not work.
Any other class?