Jump to content

Add arrows to product block to replace hover

Recommended Posts

Site URL: https://www.dsifood.com/products

I'd like to add arrows on either side of the product block images when in mobile so that we can easily see the other photos. Right now, it's very tricky on mobile to see the second product image as it needs my finger to tap and hold the image to create the "hover" effect. I've been looking everywhere for a solution and no luck, I'm kind of surprised there isn't an easy way around this as using hover on mobile is not good UX. Any help would be greatly appreciated! 

Link to comment
  • Replies 10
  • Views 1.5k
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

On 9/5/2022 at 3:36 AM, ttpeach said:

Sure, that is another option if you can help with that! Thank you 😀

Add to Design > Custom CSS

@media screen and (max-width:767px) {
.products.collection-content-wrapper .grid-item .grid-image-hover {
    opacity: 0 !important;
}
.products.collection-content-wrapper .grid-item .grid-image-cover {
    opacity: 1 !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
  • 1 year later...
On 9/3/2022 at 10:14 PM, tuanphan said:

Hi. No way to do your request.

Do you want to disable hover on mobile?

why can't we add arrows to product blocks to be able to see all the product photos?

I have these product blocks on this page that I would like to add arrows too so the user can look through all the photos without having to click the product.

I also tried to do a clickable gallery slideshow too but was unable to add a link, could not resize the slideshow to be the same size as the product block, and could not add a title/description to it.

Edited by nobody
Link to comment
On 1/11/2024 at 12:23 AM, nobody said:

why can't we add arrows to product blocks to be able to see all the product photos?

I have these product blocks on this page that I would like to add arrows too so the user can look through all the photos without having to click the product.

I also tried to do a clickable gallery slideshow too but was unable to add a link, could not resize the slideshow to be the same size as the product block, and could not add a title/description to it.

Here's the page:


https://donkaka.com/yogina

password: yogina

You can use Gallery Block - Slideshow. It should have an option to add link + title/description

image.thumb.png.9d86352604ee19f545fc9cf58aaac618.png

image.png.5b3252046749457efc5b2522b48bc8ee.png

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
  • 2 weeks later...
On 1/13/2024 at 12:41 AM, tuanphan said:

You can use Gallery Block - Slideshow. It should have an option to add link + title/description

image.thumb.png.9d86352604ee19f545fc9cf58aaac618.png

image.png.5b3252046749457efc5b2522b48bc8ee.png

oh ok i see now, but how do i reduce it's size so it's the same size as a product block? and how can i make it a clickable link so it goes to a product?

Link to comment
On 1/25/2024 at 12:30 PM, nobody said:

oh ok i see now, but how do i reduce it's size so it's the same size as a product block? and how can i make it a clickable link so it goes to a product?

Can you share link to page where you added it? I can check size easier

with link, just add product url here

image.png.13ae641626f7e8527377f987f37d78a1.png

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 1/28/2024 at 2:02 AM, tuanphan said:

Can you share link to page where you added it? I can check size easier

with link, just add product url here

image.png.13ae641626f7e8527377f987f37d78a1.png

ah ok, here's the link: https://donkaka.com/yogina password: yogina

you can see that the gallery block is much larger than the product blocks and i can't reduce the vertical height of the product block, only the width.

Link to comment

Try adding this to Custom CSS box

.fe-659e45e4d60f7a07f2784b17 {
.slide, .sqs-gallery-design-stacked, .gallery-block {
    max-width: 338px;
    left: 50%;
    transform: translateX(-50%);
}
.slide img {
    width: 100% !important;
    height: auto !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
On 2/4/2024 at 2:04 AM, tuanphan said:

Try adding this to Custom CSS box

.fe-659e45e4d60f7a07f2784b17 {
.slide, .sqs-gallery-design-stacked, .gallery-block {
    max-width: 338px;
    left: 50%;
    transform: translateX(-50%);
}
.slide img {
    width: 100% !important;
    height: auto !important;
}}

 

i tried that but it didn't seem to do anything

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.