Looking to have product images more centred aligned in product pages

Looking to have product images more centred aligned in product pages

duart2023
Explorer
62 1 23

Is there a way to have the product images more centred aligned in the product pages? It is currently sitting quite far down the page.

 

duart2023_0-1724559648354.png

 

Replies 2 (2)

niraj_patel
Shopify Partner
2378 514 511

Hello @duart2023 

You can add code by following these steps

1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file

3. Paste the below code before </body> on theme.liquid
<style>
@media only screen and (min-width: 990px) {
  .product-detail .gallery.gallery--layout-carousel-beside > .gallery__inner {
      display: flex;
      align-items: center !important;
      justify-content: center;
   }
}
</style>

niraj_patel_0-1724560283452.png

Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution.

Shopify Partner || Helping eCommerce Stores
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution.
- For further discussion contact: Email ID- info@techlyser.com

BSS-TekLabs
Shopify Partner
2136 633 735

- Here is the solution for you @duart2023 
- Please follow these steps:

z5686811214059_e66de1953f1db631f9134af5cdb796ad.jpg

- Then find the theme.liqid file.
- Then add the following code at the before tag </head> and press 'Save' to save it.

<style>
@media only screen and (min-width: 600px) {
.main-image {
 top: -100px !important;
}
}
</style>

- Here is the result you will achieve:

BSSTekLabs_0-1724562188713.png

 

- Please press 'Like' and mark it as 'Solution' if you find it helpful. Thank you.

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


Salepify: Efficiently increase sales conversion with sale-driven features like auto add to cart, free gifts (free plan available)

BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now