Make Mobile Product Image full width (Dawn Theme)

Make Mobile Product Image full width (Dawn Theme)

bellevo
Explorer
88 0 23

Hey, is there a way to make my product images full width on MOBILE view only? I will add a picture of the issue and desired outcome below. Thanks in advance!

You can't see it in the picture, but there are small white lines on the left and right side of the picture on my website. It is easier to see on the actual product page: https://bellevodesign.com/products/stella-navy-washed-cotton-bedding-set



My store: https://bellevodesign.com

 

The issue:

IMG_5363.jpeg
Desired outcome:

IMG_5364.jpeg

Replies 7 (7)

Made4uo-Ribe
Shopify Partner
7617 1833 2245

Hi @bellevo 

check this one,. 

  1. From you Admin page, go to Online Store > Themes
  1. Select the theme you want to edit
  2. Under the Asset folder, open the main.css(base.css, style.css or theme.css)
  3. Then place the code below at the very bottom of the file.

 

@media only screen and (max-width: 749px){
section#MainProduct-template--21762617311576__main .page-width {
    padding: 0;
}
section#MainProduct-template--21762617311576__main .product__info-wrapper {
    padding: 0 1.5rem;
}
}

 

  • And Save. 
  • Result:
  • Made4uoRibe_0-1721225094437.png

     

 

Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.
Need THEME UPDATES but has custom codes? No worries, contact us for affordable price.
bellevo
Explorer
88 0 23

Hey, I added this to the bottom of "Base.css" but nothing happened.

Made4uo-Ribe
Shopify Partner
7617 1833 2245

try to add on the theme editor. Go to product page.

Made4uoRibe_0-1721252738258.png

When you click the prodcut info on the left side there will new tab will come out > scroll down and find this one. 

Made4uoRibe_1-1721252804856.png

Paste the code here and save. Thanks!

If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.
Need THEME UPDATES but has custom codes? No worries, contact us for affordable price.
bellevo
Explorer
88 0 23

Hey, I cannot paste it there, it is giving me an error. I will add a picture below.

Screenshot 2024-07-18 004947.png

BSS-TekLabs
Shopify Partner
1842 526 612

 

@media only screen and (max-width: 600px) {
.page-width {
 padding: 0px !important;
}
.product__info-wrapper {
padding: 0 1.5rem !important;
}
}

 

- Can you try adding it in the last line file base.css @bellevo 

BSSTekLabs_0-1721225727860.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 .
Need help from our expert? Kindly share your request with us via community@bsscommerce.com
BSS Commerce - Full-service eCommerce Agency

For give Gift to customers and Upsell in Cart, check out Salepify: Free Gifts with purchase


Post purchase upsell, downsell offers to improve sales and AOV
Salemate Post Purchase Upsell

bellevo
Explorer
88 0 23

Didn't do anything either, still white edges on the product image. Thank you though.

bellevo
Explorer
88 0 23

Anyone know how to fix this?