Shopify themes, liquid, logos, and UX
Hello everyone! When I post my "As Seen In" banner on my website the font shrinks a lot in mobile view. Is there a code I can add to my theme to make it responsive? I'm using Dawn theme 14.0.0. I found a code through another post, but it did not work. My URL is www.jennszencreations.com.
Solved! Go to the solution
This is an accepted solution.
@JenniferF - replace old code with this
@media screen and (max-width: 749px) {
#Banner-template--22812441805081__image_banner_zJhjLQ{flex-direction: column-reverse;}
#Banner-template--22812441805081__image_banner_zJhjLQ .banner__box{padding: 2rem 3.5rem;}
}
@JenniferF - have you added the banner on home page?
I've added it but have it hidden for now.
@JenniferF - can you activate it?
It is active now.
@JenniferF - it is not the font which is shrinking, but it is the image which is shrinking, you need to separate text and image
How would I do that?
@JenniferF - create a new banner without text as seen in.... add this text as text only from customize settings and add this new banner as image
Ok, I will try that. Thank you, I appreciate your help. 💜
Also when I view it on mobile, the image is above the text. How would I fix that?
I separated them, but the text is over the image. I'm not sure how to move the text up.
@JenniferF - using custom css the text can be moved, I am not able to see this text on live home page
Ok, I saved it. It is live now.
@JenniferF - add this to the end of your base.css file and check
@media screen and (max-width: 749px) {
#Banner-template--22812441805081__image_banner_zJhjLQ{flex-direction: column-reverse;}
}
I added the code, it is not working.
This is an accepted solution.
@JenniferF - replace old code with this
@media screen and (max-width: 749px) {
#Banner-template--22812441805081__image_banner_zJhjLQ{flex-direction: column-reverse;}
#Banner-template--22812441805081__image_banner_zJhjLQ .banner__box{padding: 2rem 3.5rem;}
}
I tried the new code, it's still not working.
I adjusted the position of the logo on the banner and it looks better on mobile view.
How do I change the settings for desktop? Does that need a separate code?
@JenniferF - hi yes desktop needs different css
Actually it did put the text above in mobile view but the logo is really far down now.
Desktop view, the text is still over the image.
Learn how to expand your operations internationally with Shopify Academy’s learning path...
By Shopify Feb 4, 2025Hey Community, happy February! Looking back to January, we kicked off the year with 8....
By JasonH Feb 3, 2025Expand into selling wholesale with Shopify Academy’s learning path, B2B on Shopify: Lau...
By Shopify Jan 28, 2025