Product Photos Are Not Well-aligned on Mobile View

Product Photos Are Not Well-aligned on Mobile View

PeterTan
Visitor
3 0 0

Hi Shopify,

 

My product photos are not on the same horizontal line when shopping on mobile. The main product photo is higher than the second one.

 

Here are photo of my product page on mobile view:

截屏2023-01-31 00.31.28.png

 

P.S. 

1. On mobile view, only the first product photo is higher; the rest are fine. As the following photo shows:

截屏2023-01-31 00.31.41.png

 

2. On mobile view, not all product photos are ill-organized like this; some of them are well aligned.

3. On desktop view, product photos are well aligned.

 

Can you help me solve this question.

 

Thanks a lot!

 

Peter Tan

Replies 6 (6)

ExpertRookie
Shopify Partner
1518 249 325

Hi @PeterTan 
Thank you for your question. 
Please share your store URL, page URL and also password (if your store has one) so we can help you.

- Was my reply helpful? Please Like and Accept Solution to let me know!
- Want to modify or custom changes on store Hire me.
- Feel free to contact me on expert.rookie.team@gmail.com regarding any help.
PeterTan
Visitor
3 0 0

Hi, 

 

My store URL: https://hallucihug.com

Product page URL: https://hallucihug.com/products/natural-amethyst-ring

No password

 

Thank you for your time.

ExpertRookie
Shopify Partner
1518 249 325

Hi @PeterTan 
In this case you can try to add this code into the bottom of the file base.css

@media screen and (max-width: 749px){
.product__media-item {
    display: flex;
    align-items: flex-start;
}
}
- Was my reply helpful? Please Like and Accept Solution to let me know!
- Want to modify or custom changes on store Hire me.
- Feel free to contact me on expert.rookie.team@gmail.com regarding any help.
PeterTan
Visitor
3 0 0

Hi,

 

I did as you advised,

截屏2023-01-31 19.07.21.png

 

 

but it seems that nothing happened. 

 

The mobile view still looks like this: 

WechatIMG190.jpeg

 

 

medaminebusines
Visitor
3 0 0

In custom CSS in Product Information section add this:

 

@media screen and (max-width: 749px){
.slider-mobile-gutter,
.product__media-list,
.product__media-item{
margin:0 auto;
margin-right:5px;
}}

medaminebusines
Visitor
3 0 0

And also if you want to center all content for good view (image, title, price, quantity, share button) add this code : 

@media screen and (max-width: 749px){
.slider-mobile-gutter,
.product__media-list,
.product__media-item,{
margin:0 auto;
margin-right:5px;
text-align:center;
}
.product__title,
.price,
.quantity,
.share-button{
margin:0 auto;
text-align:center;
}}