Jump to content

How to click through slideshow gallery with no arrows?

Recommended Posts

I have played around with this myself and so far found that if I hide the controls then you can't get anywhere but forward by clicking. So with that discovery I decided to change the look with code. This code is adjustable so if you wish to try it here it is. It goes into custom css you can change the color, the size of the arrows,  and make the background round if you wish, notice the radius control. 

.sqs-gallery-block-slideshow .sqs-gallery-controls .next,
.sqs-gallery-block-slideshow .sqs-gallery-controls .previous {
  background: none; /*removes the original background behind the arrows*/
}
.sqs-gallery-block-slideshow .sqs-gallery-controls .next::before,
.sqs-gallery-block-slideshow .sqs-gallery-controls .previous::before {
  background: white;
  color: black;
  font-size: 1.5em; /*this changes the size of the arrows*/
  padding: 10px;
  border-radius: 30%; /*remove this is you don't want the background rounded*/
}

Link to comment
  • 9 months later...
On 8/12/2020 at 10:09 PM, derricksrandomviews said:

I have played around with this myself and so far found that if I hide the controls then you can't get anywhere but forward by clicking. So with that discovery I decided to change the look with code. This code is adjustable so if you wish to try it here it is. It goes into custom css you can change the color, the size of the arrows,  and make the background round if you wish, notice the radius control. 

.sqs-gallery-block-slideshow .sqs-gallery-controls .next,
.sqs-gallery-block-slideshow .sqs-gallery-controls .previous {
  background: none; /*removes the original background behind the arrows*/
}
.sqs-gallery-block-slideshow .sqs-gallery-controls .next::before,
.sqs-gallery-block-slideshow .sqs-gallery-controls .previous::before {
  background: white;
  color: black;
  font-size: 1.5em; /*this changes the size of the arrows*/
  padding: 10px;
  border-radius: 30%; /*remove this is you don't want the background rounded*/
}

Thank you! This is extremely helpful!

By the way, is there a way to position the arrows outside (or nearly) the block so that it doesn't overlay the images? 

Link to comment
  • 1 year later...

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.