I’m having trouble figuring out why one of my buttons is not working on my live site. (nothing happening, as if my button was not linked…)
There is a Lottie animation in my section for the background, but my button’s z index is higher than the other Div and the Lottie animation. And obviously, my button was linked so I can’t understand what is happening …
Hoping that description makes sense, would anyone have any ideas for how to fix this? I’d really appreciate the help as I’ve been stuck on this one for a little while now.
Here’s my Webflow link : Webflow - Garage O-one
Here’s my live site link : https://garageoone-bf9-af40f16752c2e.webflow.io/
Here is my public share link: LINK
(how to access public share link)
As you can see, your button is overlapped by that Lottie block. This makes it un-clickable.
Regarding z-index it works with the siblings elements, so you have to take care of the sibling’s z-index.
For divider like this, I’d rather place the divider normally without using absolute positioning and negative margins. Just play with the spacing(padding) more.
And one another option with your implementation can be, if you write a custom CSS to that class pointer-events: none. This will make that element un-clickable and your button will be clickable.
Thank you so much I’m gonna try to improve the way I build with divider