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
  • Views 524
  • 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

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, 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

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment

Ops! you can use this code for instead

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

 

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, 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

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, 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.