What's your biggest current challenge? Have your say in Community Polls along the right column.

How can I resize images for mobile view on Dawn theme?

How can I resize images for mobile view on Dawn theme?

jewelryeyelove
New Member
6 0 0

Hi, I can't figure out how to resize the photos on my home page or my about section, they are too wide so they get cut off. Can someone help? I'm using the Dawn theme.

 

jewelryeyelove.com 

 

Thank you!

Replies 10 (10)

PageFly-Kate
Shopify Partner
1317 368 402

Hi @jewelryeyelove 

This is Kate from PageFly - Landing page builder. I’d like to suggest this idea:

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

Step 2: Asset->/base.css->paste below code at the bottom of the file:

 

 

.media>img {
object-fit: fill !important;
}

 

 

Hope my answer will help you

Please let me know if it works by giving it a Like or marking it as a solution!


Unlock the secrets to a record-breaking BFCM with PageFly and Canva


➜ Optimize your Shopify store with PageFly Page Builder (Free plan available)


➜ Weekly updated Shopify tutorials on YouTube


All features are available from the Free plan. Live Chat Support is available 24/7.


jewelryeyelove
New Member
6 0 0

Thank you. That does help, but I think it looks a little odd because of my logo. Are there any other solutions by chance? If not that is okay, I really do appreciate your help 🙂

jewelryeyelove
New Member
6 0 0

328387040_1381506909289250_2050556209707395107_n.jpg

my logo looks squished lol

PageFly-Kate
Shopify Partner
1317 368 402

Hi @jewelryeyelove. The image is resized to fill the given dimension. If necessary, the image will be stretched or squished to fit on different devices.

Please let me know if it works by giving it a Like or marking it as a solution!


Unlock the secrets to a record-breaking BFCM with PageFly and Canva


➜ Optimize your Shopify store with PageFly Page Builder (Free plan available)


➜ Weekly updated Shopify tutorials on YouTube


All features are available from the Free plan. Live Chat Support is available 24/7.


jewelryeyelove
New Member
6 0 0

Thank you. So there is no way around this? Could I possibly display two different images? One on desktop and one on mobile?

alex44
Visitor
1 0 0

I am having a problem with the view of my product pages. On mobile it is totally differently images are showing extra large the layout of product pages are not on their place when i zoom out any of product page the right side of page remains blank and product pages are not fit on mobile view kindly help me out in it. I tried this code but still its not working out. 

jewelryeyelove
New Member
6 0 0

Still looking for a solution, thank you!

PageFly-Kate
Shopify Partner
1317 368 402

I see the problem has been fixed. Anything else you want me to help you with?

Please let me know if it works by giving it a Like or marking it as a solution!


Unlock the secrets to a record-breaking BFCM with PageFly and Canva


➜ Optimize your Shopify store with PageFly Page Builder (Free plan available)


➜ Weekly updated Shopify tutorials on YouTube


All features are available from the Free plan. Live Chat Support is available 24/7.


jmoney1234
Visitor
2 0 0

Hi I am having a similar problem. My used your code above but now the image is too stretched. Is there a different code to add to make the picture less stretched? https://anciennechains.com

jewelryeyelove
New Member
6 0 0

Hey! So when you're in edit mode on the top right hand corner you can switch to mobile view and edit it that way! That fixed my issue completely!