Product page image (mobile view)

Solved

Product page image (mobile view)

Ryan1998
Pathfinder
101 2 32
Accepted Solutions (2)

BSSCommerce-HDL
Shopify Partner
1989 698 849

This is an accepted solution.

Hi @Ryan1998

Step 1: Go to Shopify Admin -> Online Store ->Theme -> Edit code

Step 2: Search file theme.liquid

Step 3: Insert this code above </head> tag: 

 

<style>
 @media only screen and (max-width: 749px) {
        .product  .slider-buttons {
          z-index: 999;
          transform: translateY(-50%);
          position: absolute;
          justify-content: space-between !important;
          width: 100vw;
          top: 50%;
          display: flex;
          align-items: center;
        }

        .product  .slider-counter.caption {
            display: none !important;
        }
        .product  .slider-button .icon {
           height: 100% !important;
        }
      }
 </style>

 

 

 

If our suggestions are useful, please let us know by giving it a like, marking it as a solution, or donating here .


B2B Solution & Custom Pricing | Product Labels by BSS


Need help from our expert? Kindly share your request with us via community@bsscommerce.com


BSS Commerce - Full-service eCommerce Agency

View solution in original post

BSSCommerce-HDL
Shopify Partner
1989 698 849

This is an accepted solution.

And this code make image longer: 

 

<style>
.product-media-container .media {
     padding-top: calc(1 / 1.5* 100% + 80px) !important;
}
.product-media-container .media img {
     object-fit: fill !important;
 }
</style>

 

 Here is result: 

BSSCommerceHDL_0-1723393750360.png

Hope this can help you,

If our suggestions are useful, please let us know by giving it a like or marking it as a solution. Thank you 😍

 

If our suggestions are useful, please let us know by giving it a like, marking it as a solution, or donating here .


B2B Solution & Custom Pricing | Product Labels by BSS


Need help from our expert? Kindly share your request with us via community@bsscommerce.com


BSS Commerce - Full-service eCommerce Agency

View solution in original post

Replies 5 (5)

BSSCommerce-HDL
Shopify Partner
1989 698 849

This is an accepted solution.

Hi @Ryan1998

Step 1: Go to Shopify Admin -> Online Store ->Theme -> Edit code

Step 2: Search file theme.liquid

Step 3: Insert this code above </head> tag: 

 

<style>
 @media only screen and (max-width: 749px) {
        .product  .slider-buttons {
          z-index: 999;
          transform: translateY(-50%);
          position: absolute;
          justify-content: space-between !important;
          width: 100vw;
          top: 50%;
          display: flex;
          align-items: center;
        }

        .product  .slider-counter.caption {
            display: none !important;
        }
        .product  .slider-button .icon {
           height: 100% !important;
        }
      }
 </style>

 

 

 

If our suggestions are useful, please let us know by giving it a like, marking it as a solution, or donating here .


B2B Solution & Custom Pricing | Product Labels by BSS


Need help from our expert? Kindly share your request with us via community@bsscommerce.com


BSS Commerce - Full-service eCommerce Agency
Ryan1998
Pathfinder
101 2 32

thank you!

BSSCommerce-HDL
Shopify Partner
1989 698 849

@Ryan1998 , I'm glad I could help you 😍

If our suggestions are useful, please let us know by giving it a like, marking it as a solution, or donating here .


B2B Solution & Custom Pricing | Product Labels by BSS


Need help from our expert? Kindly share your request with us via community@bsscommerce.com


BSS Commerce - Full-service eCommerce Agency

BSSCommerce-HDL
Shopify Partner
1989 698 849

This is an accepted solution.

And this code make image longer: 

 

<style>
.product-media-container .media {
     padding-top: calc(1 / 1.5* 100% + 80px) !important;
}
.product-media-container .media img {
     object-fit: fill !important;
 }
</style>

 

 Here is result: 

BSSCommerceHDL_0-1723393750360.png

Hope this can help you,

If our suggestions are useful, please let us know by giving it a like or marking it as a solution. Thank you 😍

 

If our suggestions are useful, please let us know by giving it a like, marking it as a solution, or donating here .


B2B Solution & Custom Pricing | Product Labels by BSS


Need help from our expert? Kindly share your request with us via community@bsscommerce.com


BSS Commerce - Full-service eCommerce Agency
Ryan1998
Pathfinder
101 2 32

even better!