shopify DAWN Banner image too big on desktop

Solved

shopify DAWN Banner image too big on desktop

MelissaM92
New Member
10 0 0

I'm currently having trouble with the dawn theme. I've personalized the website and am pretty happy with everything, but I can't seem to get the image banner right for the desktop. it cuts off a lot of the picture and its quite blurry. Can someone help me? these are the details to my site:

 

URL: moimeme.com.au

password: Kbf295GhpF113

 

Also, I'd like to get the text on the image banner to be moved to the left on mobile view. Can anyone help with this also?

 

Thanks in advance!

Accepted Solution (1)

Dan-From-Ryviu
Shopify Partner
9182 1837 1871

This is an accepted solution.

Hi @MelissaM92 

Your image dimension is suitable for mobile only. I recommend you create two Image banner sections, one for mobile and one for desktop so that you can upload images separately and add custom CSS code to each section's custom CSS to hide mobile's section on desktop and vice versa.

Mobile section

@media (min-width: 768px) {
.banner { display: none; }
}

Desktop section

@media (max-width: 767px) {
.banner { display: none; }
}

 

- Helpful? Like and Accept solution!
- Ryviu - Reviews & QA app: Collect product reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Shopee, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image: Easy and fast to create Photo Gallery, Lookbook, Shop The Look.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.

View solution in original post

Replies 7 (7)

Dan-From-Ryviu
Shopify Partner
9182 1837 1871

This is an accepted solution.

Hi @MelissaM92 

Your image dimension is suitable for mobile only. I recommend you create two Image banner sections, one for mobile and one for desktop so that you can upload images separately and add custom CSS code to each section's custom CSS to hide mobile's section on desktop and vice versa.

Mobile section

@media (min-width: 768px) {
.banner { display: none; }
}

Desktop section

@media (max-width: 767px) {
.banner { display: none; }
}

 

- Helpful? Like and Accept solution!
- Ryviu - Reviews & QA app: Collect product reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Shopee, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image: Easy and fast to create Photo Gallery, Lookbook, Shop The Look.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.

MelissaM92
New Member
10 0 0

Could you please tell me how to insert each one separately? or the steps to put the codes in? tried to put it in the custom CSS part in theme settings but it ended up just completely removing the picture from desktop view? so not sure how to upload it separately

Dan-From-Ryviu
Shopify Partner
9182 1837 1871

Each section has its own Cusom CSSScreenshot_7.jpg

- Helpful? Like and Accept solution!
- Ryviu - Reviews & QA app: Collect product reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Shopee, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image: Easy and fast to create Photo Gallery, Lookbook, Shop The Look.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.

MelissaM92
New Member
10 0 0

Yes i have input both the codes in that same section. but then it just removes the picture for either view depending on which code goes in first or last, but either way it just removes the picture.

Dan-From-Ryviu
Shopify Partner
9182 1837 1871

Please create 2 banner sections and add a code for each, not add both codes in the same section. 

- Helpful? Like and Accept solution!
- Ryviu - Reviews & QA app: Collect product reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Shopee, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image: Easy and fast to create Photo Gallery, Lookbook, Shop The Look.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.

MelissaM92
New Member
10 0 0

thank you for bearing with me. this worked. thanks 🙂

BSSCommerce-HDL
Shopify Partner
2008 706 862

Hi @MelissaM92

 

Your image source have to zoom out to fit your banner size, from 1:1 to  rectangle ratio, therefore its going to more blur.

 

You can use some code here to fix a little bit:

 

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

Step 2: Search file theme.liquid

Step 3: Insert this code above </head> tag:

<style>
@media screen and (min-width: 750px) {
.content-for-layout.focus-none .section:nth-child(1) {
min-height: 1000px!important;
}
.banner.banner--content-align-left.banner--content-align-mobile-center.banner--small.banner--desktop-transparent.scroll-trigger.animate--fade-in {
min-height: 1000px!important;
}
}
</style>

Hope this can help you, If our suggestions are useful, please let us know by giving it a like or marking it as a solution. Thank you 😍

 

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


B2B Solution & Custom Pricing | Product Labels by BSS


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


BSS Commerce - Full-service eCommerce Agency