Great solution, @tuanphan! I've implemented the code with success, but it is applying to each slideshow across the website, and I'd like to only apply it to one. It's also leaving large spaces below the h2 content in other galleries and accordions after the 1st and 2nd item.
Website URL:
https://apricots-seal-6csp.squarespace.com/speaking
(No password on the site, however it has a cover page with no nav at the moment. Using the /speaker url should get you to the rest of the site.)
Correct page and usage:
The code I used:
/* Banner slideshow icons */
.user-items-list-item-container[data-section-id="63973ad77586a20269909913" {
li h2:after {
content: "";
width: 230px;
height: 125px;
display: block;
background-repeat: no-repeat;
background-position: center center;
background-size: contain;
text-align: center;
margin: 10px auto;
}
/* icon 1 */
li:nth-child(1) h2:after {
background-image: url(https://static1.squarespace.com/static/6383b4c63e5d27458802b1c8/t/639740c6281a851b32a1be9a/1670856902653/1.png);
}
/* icon 2 */
li:nth-child(2) h2:after {
background-image: url(https://static1.squarespace.com/static/6383b4c63e5d27458802b1c8/t/639741052eedab45710d5e72/1670856965966/2.png);
}
}
One of a few incorrect pages that I'd like to fix to remove the space and logo:
Thanks, as always! I've used a lot of your code over the years and I appreciate you!