Jump to content

Changing Testimonial Carousel Arrows to Custom Image

Recommended Posts

Posted
21 hours ago, zoearseneau said:

Yes!  The Our Collaborators section, exactly.

Add to Design > Custom CSS

[data-section-id="6319f7397da90e75b6aef53c"] {
svg.user-items-list-carousel__arrow-icon {
    display: none !important;
}
.user-items-list-carousel__arrow-icon-background.user-items-list-carousel__arrow-icon-background-area {
    background-image: url(https://content.invisioncic.com/p289038/monthly_2022_09/1773097810_Group12@2x.png.fd2d6dc749f79343ae687e29649cea4f.png);
    background-size: contain;
    background-repeat:no-repeat;
    background-position: center center;
}
button[class*="--right"] .user-items-list-carousel__arrow-icon-background.user-items-list-carousel__arrow-icon-background-area {
    background-image: url(https://content.invisioncic.com/p289038/monthly_2022_09/1753379866_Group13@2x.png.54c2b0e59adbe1a1f31f46b8b628398d.png);
}}

image.thumb.png.1779bb0ca2fa28995e08d8550ad7fadd.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
On 9/10/2022 at 9:00 AM, tuanphan said:

Add to Design > Custom CSS

[data-section-id="6319f7397da90e75b6aef53c"] {
svg.user-items-list-carousel__arrow-icon {
    display: none !important;
}
.user-items-list-carousel__arrow-icon-background.user-items-list-carousel__arrow-icon-background-area {
    background-image: url(https://content.invisioncic.com/p289038/monthly_2022_09/1773097810_Group12@2x.png.fd2d6dc749f79343ae687e29649cea4f.png);
    background-size: contain;
    background-repeat:no-repeat;
    background-position: center center;
}
button[class*="--right"] .user-items-list-carousel__arrow-icon-background.user-items-list-carousel__arrow-icon-background-area {
    background-image: url(https://content.invisioncic.com/p289038/monthly_2022_09/1753379866_Group13@2x.png.54c2b0e59adbe1a1f31f46b8b628398d.png);
}}

image.thumb.png.1779bb0ca2fa28995e08d8550ad7fadd.png

Awesome, thanks so much! Is there a way to remove the white circle behind it?

Posted
On 9/16/2022 at 12:04 AM, zoearseneau said:

Awesome, thanks so much! Is there a way to remove the white circle behind it?

Add this CSS

.user-items-list-carousel__arrow-icon-background.user-items-list-carousel__arrow-icon-background-area {
    background-color: transparent !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!)

  • 1 year later...
Posted (edited)

Don't suppose there is a way to make this code work on all carousel lists across my site is there (rather than using section IDs)? Is there also a way for it to work on mobile too?! @tuanphan

I currently have it working on the home page > portfolio section (using the section ID code from above)

https://olio-create.squarespace.com/?password=olio123!

Thanks in advance 🙂

Edited by oliocreative
Posted
On 9/10/2022 at 7:00 PM, tuanphan said:

Add to Design > Custom CSS

[data-section-id="6319f7397da90e75b6aef53c"] {
svg.user-items-list-carousel__arrow-icon {
    display: none !important;
}
.user-items-list-carousel__arrow-icon-background.user-items-list-carousel__arrow-icon-background-area {
    background-image: url(https://content.invisioncic.com/p289038/monthly_2022_09/1773097810_Group12@2x.png.fd2d6dc749f79343ae687e29649cea4f.png);
    background-size: contain;
    background-repeat:no-repeat;
    background-position: center center;
}
button[class*="--right"] .user-items-list-carousel__arrow-icon-background.user-items-list-carousel__arrow-icon-background-area {
    background-image: url(https://content.invisioncic.com/p289038/monthly_2022_09/1753379866_Group13@2x.png.54c2b0e59adbe1a1f31f46b8b628398d.png);
}}

image.thumb.png.1779bb0ca2fa28995e08d8550ad7fadd.png

@oliocreative you can remove ID, and use this code to apply all

svg.user-items-list-carousel__arrow-icon {
    display: none !important;
}
.user-items-list-carousel__arrow-icon-background.user-items-list-carousel__arrow-icon-background-area {
    background-image: url(https://content.invisioncic.com/p289038/monthly_2022_09/1773097810_Group12@2x.png.fd2d6dc749f79343ae687e29649cea4f.png);
    background-size: contain;
    background-repeat:no-repeat;
    background-position: center center;
}
button[class*="--right"] .user-items-list-carousel__arrow-icon-background.user-items-list-carousel__arrow-icon-background-area {
    background-image: url(https://content.invisioncic.com/p289038/monthly_2022_09/1753379866_Group13@2x.png.54c2b0e59adbe1a1f31f46b8b628398d.png);
}
@media screen and (max-width:767px) {
button[class*="arrow-button"] svg {
    display: none !important;
}
button[class*="arrow-button--left"] .user-items-list-carousel__arrow-icon-background {
 background-image: url(https://content.invisioncic.com/p289038/monthly_2022_09/1773097810_Group12@2x.png.fd2d6dc749f79343ae687e29649cea4f.png);
    background-size: contain;
    background-repeat:no-repeat;
    background-position: center center;
}
button[class*="arrow-button--right"] .user-items-list-carousel__arrow-icon-background {
     background-image: url(https://content.invisioncic.com/p289038/monthly_2022_09/1753379866_Group13@2x.png.54c2b0e59adbe1a1f31f46b8b628398d.png);
     background-size: contain;
    background-repeat:no-repeat;
    background-position: center center;
}
}

 

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
On 12/11/2023 at 12:46 AM, tuanphan said:

@oliocreative you can remove ID, and use this code to apply all

svg.user-items-list-carousel__arrow-icon {
    display: none !important;
}
.user-items-list-carousel__arrow-icon-background.user-items-list-carousel__arrow-icon-background-area {
    background-image: url(https://content.invisioncic.com/p289038/monthly_2022_09/1773097810_Group12@2x.png.fd2d6dc749f79343ae687e29649cea4f.png);
    background-size: contain;
    background-repeat:no-repeat;
    background-position: center center;
}
button[class*="--right"] .user-items-list-carousel__arrow-icon-background.user-items-list-carousel__arrow-icon-background-area {
    background-image: url(https://content.invisioncic.com/p289038/monthly_2022_09/1753379866_Group13@2x.png.54c2b0e59adbe1a1f31f46b8b628398d.png);
}
@media screen and (max-width:767px) {
button[class*="arrow-button"] svg {
    display: none !important;
}
button[class*="arrow-button--left"] .user-items-list-carousel__arrow-icon-background {
 background-image: url(https://content.invisioncic.com/p289038/monthly_2022_09/1773097810_Group12@2x.png.fd2d6dc749f79343ae687e29649cea4f.png);
    background-size: contain;
    background-repeat:no-repeat;
    background-position: center center;
}
button[class*="arrow-button--right"] .user-items-list-carousel__arrow-icon-background {
     background-image: url(https://content.invisioncic.com/p289038/monthly_2022_09/1753379866_Group13@2x.png.54c2b0e59adbe1a1f31f46b8b628398d.png);
     background-size: contain;
    background-repeat:no-repeat;
    background-position: center center;
}
}

 

Thank you SO MUCH @tuanphan! Once again you've saved the day 🙂 Honestly thank you so much! Can't tell you how many times I've used CSS from your posts!

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.