Jump to content

Help with centering mobile lightbox arrows

Recommended Posts

Site URL: http://stonewall-construction-inc.squarespace.com/multi-family-old

Hey, I'm having trouble with the mobile arrows in the lightbox being centered on the images. I have added the code below to my css. The page to view is http://stonewall-construction-inc.squarespace.com/multi-family-old. Password is "jackson". Any help would be appreciated. Thanks!


/* Show arrows on mobile */
@media screen and (max-width:640px) {
.gallery-lightbox-controls {
    display: flex !important;

.gallery-lightbox-control-btn .gallery-lightbox-control-btn-icon svg * {
    stroke: white;

Edited by miskomedia
Link to comment
On 7/10/2021 at 2:13 AM, miskomedia said:

@tuanphan Just following up on any help with this. No rush I know you're probably overwhelmed every day haha. 

Add to Design > Custom CSS

/* gallery lightbox arrow */
@media screen and (max-width:767px) {
.gallery-lightbox-control-btn[aria-label="Next Slide"] {
    right: 15px;


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
  • 1 month 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.