Jump to content

Blog Thumbnails Hover

Recommended Posts

Site URL: https://dalmatian-ladybug-6fza.squarespace.com

Hello community!

Password: Annie

Page: Fabrics (blog page)

I am wondering if anybody has ever found away to create an image rollover effect on a blog thumbnail? I am wanting the image to alternate between two different photos of that particular fabric. Just like it does in a product section, but I need to create my items as blog as they're not for sale online.

Thanks in advance for any help!

Kirstie

Link to comment
  • Replies 3
  • Views 729
  • Created
  • Last Reply

Top Posters In This Topic

On 8/5/2021 at 11:19 AM, kirstie.pallier said:

Site URL: https://dalmatian-ladybug-6fza.squarespace.com

Hello community!

Password: Annie

Page: Fabrics (blog page)

I am wondering if anybody has ever found away to create an image rollover effect on a blog thumbnail? I am wanting the image to alternate between two different photos of that particular fabric. Just like it does in a product section, but I need to create my items as blog as they're not for sale online.

Thanks in advance for any help!

Kirstie

Hi. The password is incorrect. Can you check it again?

If your site has very few posts, we can use manual code for each post.

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 8/9/2021 at 11:23 AM, kirstie.pallier said:

@tuanphan Sorry! Should be right now 🙂

Hi. Try adding this to Design > Custom CSS

/* fabrics first post */
a.image-wrapper[href="/fabrics/tavira"]:hover img {
    visibility: hidden;
}
a.image-wrapper[href="/fabrics/tavira"]:hover {
    background-image: url(https://cdn.pixabay.com/photo/2021/08/07/21/00/ural-owl-6529375__340.jpg);
    background-repeat: no-repeat;
    background-size: cover;
}

If it works, I will give code for other posts

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.