Jump to content

Custom Next/Prev buttons on a slideshow

Go to solution Solved by tuanphan,

Recommended Posts

Hi,

Add to Design > Custom CSS

/* Summary block custom arrows */
.sqs-gallery-controls .next, .sqs-gallery-controls .previous {
    background-image: url(https://cdn.pixabay.com/photo/2023/01/31/05/59/zebra-7757193_1280.jpg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
.sqs-gallery-controls .previous {
    background-image: url(https://cdn.pixabay.com/photo/2023/02/14/18/55/flowers-7790227_640.jpg) !important;
}
 .sqs-gallery-controls .next:before, .sqs-gallery-controls .previous:before {
    visibility: hidden;
}

 

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...

I love you tuanphan, I haven't tried it yet and will respond soon, but i've seen so many of your responses here for so many years, I just want you to know that you are amazing. You have solved so many issues for me in so many other threads over the years, even when i didn't ask lol. You're like the Squarespace Santa Claus!! ❤️

Edited by tinyinternetcompany
spelling of santa claus lol
Link to comment
  • Solution
On 3/7/2023 at 5:03 PM, tinyinternetcompany said:

Quick question: if I just wanted to change it to plain text - and + (instead of < and >) and not images, is that possible?

Use this new CSS code

.sqs-gallery-controls .previous:before {
    content: "+" !important;
    font-family: initial !important;
}

.sqs-gallery-controls .next:before {
    content: "-" !important;
    font-family: initial !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

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.