Jump to content

Z-index not working on home page

Go to solution Solved by EFIC,

Recommended Posts

Hi @EFIC - it looks like it's the fluid engine block's z-index, a parent element, that is set to 1 which is getting in the way of your custom z-index of the child. I'm wondering if maybe in the edit panel, SS gives you the option to change it's native order ("send to front"?)

If not, you can target the direct block: 

.fe-block-yui_3_17_2_1_1689711613120_11603 {
z-index: 999;

Lmk if that works!

Link to comment
  • Solution

Hi @MayaViolet,

While trying your solution I got another idea which worked!

I was trying to input your code in the page's CSS, which didn't work sadly, then I had the idea of putting the button's code in the pages CSS, which worked! I think the page's CSS has a higher z-index than what goes straight on the page.

Thank you for giving me the idea!

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.