Jump to content

Adding opacity to next/previous images in slideshow reel

Recommended Posts

Site URL: https://www.chrisjjones.co/colour-work

I am trying to add opacity to the next / previous images in a slideshow reel. Whilst keeping the selected image at full opacity.

This is the code I am entering into page advanced custom code box:

<style>
.gallery-reel-item: next {
  opacity: 0.5;
}

.gallery-reel-item: previous {
  opacity: 0.5;
}
</style>

it is not working. Any help much appreciated. Thanks.

Edited by cjjonesyc
i did not submit before finishing
Link to comment
  • Replies 6
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

53 minutes ago, cjjonesyc said:

Site URL: https://www.chrisjjones.co/colour-work

I am trying to add opacity to the next / previous images in a slideshow reel. Whilst keeping the selected image at full opacity.

This is the code I am entering into page advanced custom code box:

<style>
.gallery-reel-item: next {
  opacity: 0.5;
}

.gallery-reel-item: previous {
  opacity: 0.5;
}
</style>

it is not working. Any help much appreciated. Thanks.

You can try adding to Home > Design > Custom Css

.gallery-reel-control-btn {
  opacity: 0.5;
}

Let me know how it works on your site

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Keyword Highlighter
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

Link to comment

My testing

image.thumb.png.aa647886e26a60ba74a4ac73efe13b81.png

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Keyword Highlighter
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

Link to comment
1 hour ago, bangank36 said:

You can try adding to Home > Design > Custom Css

.gallery-reel-control-btn {
  opacity: 0.5;
}

Let me know how it works on your site

Thank you for your reply, but I am referring to the next / previous 'images' not the buttons.

Link to comment

Ops! you can use this code for instead

.gallery-reel-item:not([data-active="true"]) {
  opacity: 0.5;
}

 

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Keyword Highlighter
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

Link to comment

My new testing

image.thumb.png.327c204d1c514a40dc70351bb13931d9.png

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Keyword Highlighter
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. 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.