Jump to content

Customize Grid:Simple Portfolio page to have title show under image on hover

Recommended Posts

I am on squarespace 7.1 using the Grid:Simple Portfolio page where the title shows directly underneath the image.

Would like to replicate a feature similar to this site where when you hover over the image, the text is hidden until you hover over the image then it appears below left aligned

See reference here

https://galeriehalf.com/

 

I know you are able to do hover overlay on the portfolio page but I would prefer to have the title below the image and not on top.

 

Any suggestions on adding code the the portfolio grid?

Thank you

Edited by twc001
Link to comment
  • Replies 3
  • Views 402
  • Created
  • Last Reply

Top Posters In This Topic

Use this CSS code

@media screen and (min-width:992px) {
.portfolio-text {
    opacity: 0;
    transition: opacity .5s ease;
}

a.grid-item:hover .portfolio-text {
    opacity: 1;
    transition: opacity .5s ease;
}
}

This code will run on Desktop only because mobile/tablet has no hover

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.