ordering elements z-index
-
i'm trying to set a text over an image with css code so i guess i have to create a css class and add
.menu{
z-index:1;
}meaning thet if i add the class "menu" to an element, it will be over everything that has no class (which by default is 0), so it seem it does not work,
I need help. anyone??
thanks!
-
Dear @giselach
Could you please give more context, or a link to your website with the "menu" element in question 🔍
I would suggest using different names than ones that may clash with native Lay Theme classes.
e.g not
menubutcustom-menu
Just to make sure you don't add CSS properties to classes that have already been set.
Best wishes ✨
Richard
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login