maleka
June 28, 2022, 3:49pm
1
Hey, Really hoping someone can help!
I’m using a 3rd party app to place an image banner at the top of my website. It’s the perfect size on desktop but TINY on mobile. I’m using the Dawn theme. How could I enlarge it on mobile without affecting the desktop size?
How it appears on desktop:
How it appears on mobile:
Password: Development123
Thanks in advance!
1 Like
Hello There,
Please share your store URL and Password.
So that I will check and let you know the exact solution here.
maleka
June 29, 2022, 6:57am
3
Hi @maleka ,
I checked and it shows to the aspect ratio of the image, so it would be impossible for someone else to change it for you.
You can only upload one more image for mobile, I will help you to add the code so that the sections show only on desktop or mobile.
Hope it helps!
1 Like
maleka
June 29, 2022, 9:34pm
5
@LitCommerce Thank you for your response.
I have added another image banner that is the correct size for mobile as advised. Please see below:
Please can the banner in yellow be hidden on mobile but visible on desktop?
Please can the banner in green be hidden on desktop but be visible on mobile?
Thanks in advance!
Hi @maleka ,
Go to Assets > base.css and paste this at the bottom of the file:
#shopify-section-template--16017771233494__16565293920ce47754 {
display: none;
}
@media only screen and (max-width: 749px) {
#shopify-section-template--16017771233494__1656256634e4ca2646 {
display: none;
}
#shopify-section-template--16017771233494__16565293920ce47754 {
display: block !important;
}
}
Hope it helps!
1 Like
maleka
June 30, 2022, 8:18pm
7
@LitCommerce
Amazing! It worked! Thank you so much for your help
Kind regards!
1 Like
Hi,
I seem to be having a similar issue where my Desktop banner is showing of the size I want to it to be ( I don’t want to change this size ) but want increase the image depth for mobile. How can I do so? ( USING DAWN THEME )