Jump to content

Move Mobile View Testimonial Arrows to Center on a Specific Block

Go to solution Solved by tuanphan,

Recommended Posts

Posted (edited)

Hi there, 

I've found a few codes for moving testimonial section arrows to center in mobile view, however as I have 2 different testimonial sections on the same page, it's working to move one of them, but not the other. The block I'm looking to move the arrows to center for mobile view only is section-id="66727b6daa6e5a1a9b1ba4eb" 

Thank you in advance! 

Edited by DHoskin
  • Replies 5
  • Views 1.2k
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

Posted

@tuanphan my apologies, I put the url in the original form I filled to post, but it doesn't appear to have shown up. Url is https:www.japanjunket.com.au, I think it may have been trying was this one. 

 

/* Carousel auto arrows */
@media screen and (max-width:767px) {
.user-items-list-carousel .desktop-arrows {
    display: flex !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
}
.mobile-arrows {
    display: none !important;
}
}
  • Solution
Posted
On 7/6/2024 at 5:43 PM, DHoskin said:

@tuanphan my apologies, I put the url in the original form I filled to post, but it doesn't appear to have shown up. Url is https:www.japanjunket.com.au, I think it may have been trying was this one. 

 

/* Carousel auto arrows */
@media screen and (max-width:767px) {
.user-items-list-carousel .desktop-arrows {
    display: flex !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
}
.mobile-arrows {
    display: none !important;
}
}

This code will

  • Remove Mobile Arrows
  • Make Desktop Arrows appear on Mobile
  • Since desktop arrows already appear on left/right side, so you will see code works on bottom carousel

It doesn't work on Top Carousel because you disabled Desktop Arrow on this slide.

You need

  • Enable Arrow
  • We can use code to hide it on Desktop

image.thumb.png.8620ab1c8988711ba2b07bcf2eb28343.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!)

Posted

I understand! Thank you. If you have the code to hide the arrows on just that block in web view, that would be amazing! Thank you so much, have send across $5 for a coffee 🙂 

Posted
On 7/10/2024 at 6:24 PM, DHoskin said:

I understand! Thank you. If you have the code to hide the arrows on just that block in web view, that would be amazing! Thank you so much, have send across $5 for a coffee 🙂 

You can use this CSS code

@media screen and (min-width:768px) {
section[data-section-id="66727b6daa6e5a1a9b1ba4eb"] .desktop-arrows {
    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!)

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.