Jump to content

Make images clickable links using a simple user list

Recommended Posts

On 4/6/2022 at 5:19 PM, moonlitdesign said:

Site URL: http://www.moonlitdesign.uk

Is there some css code work around to make the images link to another page when using a simple user item list? I have seen threads for a carousel but not list. I would like the list image items on my homepage to take you to a portfolio page

 

Thanks!!! 

 

It looks like you figured it out?

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
On 4/10/2022 at 9:19 AM, tuanphan said:

It looks like you figured it out?

you answered my question on this on another users post. I can't thank you enough! 

for other members, see code here: 

 

 

Add a text link in description & add this to Design > Custom CSS

/* List section - Make clickable - Keep button */
body li.list-item {
    position: relative;
}
body .list-item-content__description {
    position: static;
}
body .list-item-content__description a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    color: transparent !important;
    background-color: transparent !important;
}
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.