First row of product images on product page are misaligned

Solved

First row of product images on product page are misaligned

pop12345
New Member
4 0 0

The first row of images on every one of the product pages on mobile is misaligned for some reason and I was wondering if there was a way to fix it. Since only the mobile is affected, I want a solution that doesn't require adjusting the desktop. I'm using the Dawn theme.

 

Thanks so much in advanced!

 

https://piecesofporcelain.store/products/the-sweet-escape-panty

Accepted Solution (1)

BSSCommerce-B2B
Shopify Partner
1237 325 381

This is an accepted solution.

Hi @pop12345 ,
Step 1:
 Go to Admin -> Online store -> Theme > Edit code:
Step 2: Search for the file base.css. And add this code snippet to the end of the file.

 

@media screen and (max-width: 749px) {
    .grid--peek.slider .grid__item:first-of-type {
        margin-left: 0px!important;
    }
}

 

Step 3: Save and reload home page.

=>> The result: 

BSSCommerceB2B_0-1724426269859.png

I hope these instructions will help you. If they are helpful, please give us likes and mark as the solution.

Have a nice day sir! 

 

 

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


BSS: B2B Wholesale Solution |BSS: B2B Portal, Quote, Net 30 | B: B2B Lock Password Protect


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 6 (6)

BSSCommerce-B2B
Shopify Partner
1237 325 381

This is an accepted solution.

Hi @pop12345 ,
Step 1:
 Go to Admin -> Online store -> Theme > Edit code:
Step 2: Search for the file base.css. And add this code snippet to the end of the file.

 

@media screen and (max-width: 749px) {
    .grid--peek.slider .grid__item:first-of-type {
        margin-left: 0px!important;
    }
}

 

Step 3: Save and reload home page.

=>> The result: 

BSSCommerceB2B_0-1724426269859.png

I hope these instructions will help you. If they are helpful, please give us likes and mark as the solution.

Have a nice day sir! 

 

 

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


BSS: B2B Wholesale Solution |BSS: B2B Portal, Quote, Net 30 | B: B2B Lock Password Protect


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


BSS Commerce - Full-service eCommerce Agency
pop12345
New Member
4 0 0

Thanks so much! The preview looked great but when I saved it, it began to display the following message in my header: Liquid error (layout/theme line 42): internal. The mobile site also began to crash.

After removing the code, the error message is still present though the mobile site is functional.

These are lines 42-48 in my theme.liquid file:

 

{{ content_for_header }}

{%- liquid
assign body_font_bold = settings.type_body_font | font_modify: 'weight', 'bold'
assign body_font_italic = settings.type_body_font | font_modify: 'style', 'italic'
assign body_font_bold_italic = body_font_bold | font_modify: 'style', 'italic'
%}

BSSCommerce-B2B
Shopify Partner
1237 325 381

@pop12345 , All stores are experiencing this problem. It's not caused by my code and should be fixed in the next few minutes.

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


BSS: B2B Wholesale Solution |BSS: B2B Portal, Quote, Net 30 | B: B2B Lock Password Protect


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


BSS Commerce - Full-service eCommerce Agency
pop12345
New Member
4 0 0

Amazing, thanks so much for letting me know!

pop12345
New Member
4 0 0

Looks great now, I appreciate your help!

BSSCommerce-B2B
Shopify Partner
1237 325 381

Yeah you can follow this post, other people are also experiencing the same situation as you https://community.shopify.com/c/shopify-design/liquid-error-layout-theme-line-28-internal-error-on-t...

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


BSS: B2B Wholesale Solution |BSS: B2B Portal, Quote, Net 30 | B: B2B Lock Password Protect


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


BSS Commerce - Full-service eCommerce Agency