Jump to content

List Images Clickable, with Flex Hover off

Go to solution Solved by tuanphan,

Recommended Posts

Site URL: https://gold-bat-dxhj.squarespace.com/ceiling-systems

Hello

I have this code in my Custom CSS and I want to use the Flex animation for my website, but because of that, when I hover over the items in my list, a white box appears and covers the images. Can someone please help me with this issue?

https://gold-bat-dxhj.squarespace.com/ceiling-systems
Pass: Testing10

/* Make list images clickable */
li.list-item {
    position: relative !important;
}
.list-item-content__button-container {
    position: absolute !important;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}
a.list-item-content__button.sqs-block-button-element {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    color: transparent !important;
    background-color: transparent !important;
}

Link to comment
  • Solution
12 hours ago, caqtec said:

Site URL: https://gold-bat-dxhj.squarespace.com/ceiling-systems

Hello

I have this code in my Custom CSS and I want to use the Flex animation for my website, but because of that, when I hover over the items in my list, a white box appears and covers the images. Can someone please help me with this issue?

https://gold-bat-dxhj.squarespace.com/ceiling-systems
Pass: Testing10

/* Make list images clickable */
li.list-item {
    position: relative !important;
}
.list-item-content__button-container {
    position: absolute !important;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}
a.list-item-content__button.sqs-block-button-element {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    color: transparent !important;
    background-color: transparent !important;
}

Add this CSS under

a.list-item-content__button.sqs-block-button-element:before {
    display: none !important;
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

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.