Jump to content

Thumbnails in Mobile

Recommended Posts

Hi there,

I am trying to achieve Thumbnails in Mobile.

I have managed to place CSS code to force thumbnails on, however the main image also appears as a thumbnail size. I would like main image to fill frame as per image below it.

I would also like to keep the thumbnails anchored to center as opposed to shifting each time one is clicked.

 

The page I am working on is https://www.matthewjensen.com.au/work/circuit-emm6e

Current CSS code is:

 

gallery-reel-item img {left: 0px !important;}
.gallery-reel-item img {
    transform: scale(0.77
    
    );
}

/* Reel right arrow */
button.gallery-reel-control-btn[aria-label="Next Slide"]>div {
    background-image: url(https://www.flaticon.com/svg/static/icons/svg/709/709586.svg) !important;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
}
button.gallery-reel-control-btn[aria-label="Next Slide"]:before {
    background: none !important;
}
button.gallery-reel-control-btn[aria-label="Next Slide"]>div>* {
    visibility: #8888888;
}
button.gallery-reel-control-btn[aria-label="Previous Slide"]>div {
    background-image: url(https://www.flaticon.com/svg/static/icons/svg/709/709586.svg) !important;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    transform: rotate
}
button.gallery-reel-control-btn[aria-label="Previous Slide"]:before {
    background: none !important;
}
button.gallery-reel-control-btn[aria-label="Previous Slide"]>div>* {
    visibility: #;
}
button.gallery-reel-control-btn {
    background: none;
}
@media screen and (max-width:767px) {
.portfolio-text {
    opacity: 1.25 !important;

}
}
/* text color on mobile */
@media screen and (max-width:767px) {
.portfolio-text h3 {
    color: white !important;
}
}
@media screen and (max-width:767px) {

}

.gallery-fullscreen-slideshow {
    height: 40vh !important;
}
/* Mobile slideshow padding */
@media screen and (max-width:767px) {
.gallery-slideshow {
    height: 35vh !important;
}

}

@media screen and (max-width:767px) {
[data-section-id="6139fee9f3582504885a6f71"] .gallery-slideshow-thumbnails {
    display: block !important;
}
}

.gallery-slideshow-thumbnails-thumb {
    width: 50px;
    height: 50px;
}

Link to comment
10 hours ago, MattsJensen said:

Hi there,

I am trying to achieve Thumbnails in Mobile.

I have managed to place CSS code to force thumbnails on, however the main image also appears as a thumbnail size. I would like main image to fill frame as per image below it.

I would also like to keep the thumbnails anchored to center as opposed to shifting each time one is clicked.

 

The page I am working on is https://www.matthewjensen.com.au/work/circuit-emm6e

Current CSS code is:

 

gallery-reel-item img {left: 0px !important;}
.gallery-reel-item img {
    transform: scale(0.77
    
    );
}

/* Reel right arrow */
button.gallery-reel-control-btn[aria-label="Next Slide"]>div {
    background-image: url(https://www.flaticon.com/svg/static/icons/svg/709/709586.svg) !important;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
}
button.gallery-reel-control-btn[aria-label="Next Slide"]:before {
    background: none !important;
}
button.gallery-reel-control-btn[aria-label="Next Slide"]>div>* {
    visibility: #8888888;
}
button.gallery-reel-control-btn[aria-label="Previous Slide"]>div {
    background-image: url(https://www.flaticon.com/svg/static/icons/svg/709/709586.svg) !important;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    transform: rotate
}
button.gallery-reel-control-btn[aria-label="Previous Slide"]:before {
    background: none !important;
}
button.gallery-reel-control-btn[aria-label="Previous Slide"]>div>* {
    visibility: #;
}
button.gallery-reel-control-btn {
    background: none;
}
@media screen and (max-width:767px) {
.portfolio-text {
    opacity: 1.25 !important;

}
}
/* text color on mobile */
@media screen and (max-width:767px) {
.portfolio-text h3 {
    color: white !important;
}
}
@media screen and (max-width:767px) {

}

.gallery-fullscreen-slideshow {
    height: 40vh !important;
}
/* Mobile slideshow padding */
@media screen and (max-width:767px) {
.gallery-slideshow {
    height: 35vh !important;
}

}

@media screen and (max-width:767px) {
[data-section-id="6139fee9f3582504885a6f71"] .gallery-slideshow-thumbnails {
    display: block !important;
}
}

.gallery-slideshow-thumbnails-thumb {
    width: 50px;
    height: 50px;
}

Do you mean something like this on mobile display?

image.thumb.png.1ea11d5d5b46a7b6db37d63a05d52c3d.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
On 11/4/2022 at 10:10 AM, MattsJensen said:

Hi There BaNgan! Thank you for getting back to me.

Yes exactly!

However is it possible to make the thumbnails smaller and the key image bigger?

Appreciate your help!

You can try adding to Home > Design > Custom Css

@media only screen and (max-width: 767px) {
  .gallery-slideshow .gallery-slideshow-thumbnails {
    display: block !important;
    height: 15%;
  }
  .gallery-slideshow .gallery-slideshow-wrapper {
    height: 85% !important;
  }
  .gallery-slideshow .gallery-slideshow-item img {
    height: 100% !important;
    width: auto !important;
  }
  .gallery-slideshow .gallery-slideshow-thumbnails-scroll {
    height: 100%;
  }
  .gallery-slideshow .gallery-slideshow-thumbnails-thumb {
    height: 100%;
  }
}

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

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.