looking to enlarge the thumbnail images on product pages in mobile version in debut theme

Solved

looking to enlarge the thumbnail images on product pages in mobile version in debut theme

Matt_Dubinsky
Excursionist
27 0 11

Looking to find out how to enlarge the thumbnail icons that appear below my product image on product pages while using the mobile version of my website and using debut theme

 

please see image here:

 

enlarge.jpg

 

you can find this page here:

 

https://chelseasbeads.com/collections/new-products/products/feathered-lines-motif-glass-multi-color-...

 

Accepted Solution (1)

Kyle_Poieo-Dev
Shopify Partner
54 6 9

This is an accepted solution.

From your Shopify admin dashboard, click on "Online Store" and then "Themes".

Find the theme that you want to edit and click on "Actions" and then "Edit code".

In the "Assets" folder, click on "theme.liquid" file, look for:

@media only screen and (max-width: 749px) {
  .template-product .main-content {
    padding-top: 22px; }
  .product-single__media-group {
    position: relative; }
  .thumbnails-wrapper {
    position: relative;
    top: 10px;
    text-align: center;
    margin: 0 2px 30px 2px; }
  .thumbnails-slider__btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding-top: 10px;
    padding-bottom: 10px; }
    .thumbnails-slider__btn .icon {
      height: 14px;
      width: 14px; }
  .thumbnails-slider__prev {
    left: -15px; }
  .thumbnails-slider__next {
    right: -15px; }
  .product-single__thumbnail {
    margin: 0 auto; } }

 We are going to add: width: {whatever width you want} px; to ".product-single__thumbnail":

@media only screen and (max-width: 749px) {
  .template-product .main-content {
    padding-top: 22px; }
  .product-single__media-group {
    position: relative; }
  .thumbnails-wrapper {
    position: relative;
    top: 10px;
    text-align: center;
    margin: 0 2px 30px 2px; }
  .thumbnails-slider__btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding-top: 10px;
    padding-bottom: 10px; }
    .thumbnails-slider__btn .icon {
      height: 14px;
      width: 14px; }
  .thumbnails-slider__prev {
    left: -15px; }
  .thumbnails-slider__next {
    right: -15px; }
  .product-single__thumbnail {
    width: {desired width} px;
    margin: 0 auto; } }

Where desired width is the size you want you thumbnails to be.

-

Need a Shopify developer? Send me an Email


- CEO & Lead Developer at Poieo Dev
- Shopify Design Changes | Shopify Custom Coding | Custom Modifications | SEO | E-Commerce Management
Poieo Dev

View solution in original post

Replies 2 (2)

Kyle_Poieo-Dev
Shopify Partner
54 6 9

This is an accepted solution.

From your Shopify admin dashboard, click on "Online Store" and then "Themes".

Find the theme that you want to edit and click on "Actions" and then "Edit code".

In the "Assets" folder, click on "theme.liquid" file, look for:

@media only screen and (max-width: 749px) {
  .template-product .main-content {
    padding-top: 22px; }
  .product-single__media-group {
    position: relative; }
  .thumbnails-wrapper {
    position: relative;
    top: 10px;
    text-align: center;
    margin: 0 2px 30px 2px; }
  .thumbnails-slider__btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding-top: 10px;
    padding-bottom: 10px; }
    .thumbnails-slider__btn .icon {
      height: 14px;
      width: 14px; }
  .thumbnails-slider__prev {
    left: -15px; }
  .thumbnails-slider__next {
    right: -15px; }
  .product-single__thumbnail {
    margin: 0 auto; } }

 We are going to add: width: {whatever width you want} px; to ".product-single__thumbnail":

@media only screen and (max-width: 749px) {
  .template-product .main-content {
    padding-top: 22px; }
  .product-single__media-group {
    position: relative; }
  .thumbnails-wrapper {
    position: relative;
    top: 10px;
    text-align: center;
    margin: 0 2px 30px 2px; }
  .thumbnails-slider__btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding-top: 10px;
    padding-bottom: 10px; }
    .thumbnails-slider__btn .icon {
      height: 14px;
      width: 14px; }
  .thumbnails-slider__prev {
    left: -15px; }
  .thumbnails-slider__next {
    right: -15px; }
  .product-single__thumbnail {
    width: {desired width} px;
    margin: 0 auto; } }

Where desired width is the size you want you thumbnails to be.

-

Need a Shopify developer? Send me an Email


- CEO & Lead Developer at Poieo Dev
- Shopify Design Changes | Shopify Custom Coding | Custom Modifications | SEO | E-Commerce Management
Poieo Dev

PageFly-Noah
Shopify Partner
1317 233 281

 

This is Noah from PageFly - Shopify Page Builder App

 

Hi @Matt_Dubinsky  please add code here to fix it:

Step 1: Online Stores > Themes > Edit code

Step 2: Choose file theme.liquid
Step 3: Add code above the tag </body>

 

<style>
@media only screen and (max-width: 749px) {
    .product-single__thumbnails-item {
        width: 150px !important;
        
    }
}
</style>

 

Hope my solution will help you resolve the issue.

 

Best regards,

Noah | PageFly

Please let me know if it works by giving it a Like or marking it as a solution!


PageFly - #1 Page Builder for Shopify merchants.


All features are available from Free plan. Live Chat Support is available 24/7.