Shopify themes, liquid, logos, and UX
I'm wondering if there is a way to change the size of a second banner on a website for mobile. Currently the second banner is a square regardless of the size I change it to on desktop. I'd like it to be smaller than a square. Thanks!
Link to my shopify website: https://fleurelleflowers.myshopify.com/
Solved! Go to the solution
This is an accepted solution.
Hello @smander
You can follow these steps:
1. Go to Online Store->Theme->Edit code
2. Open your theme.liquid file, paste the below code before </body>
<style>
@media (max-width: 500px) {
#Banner-template--17308519792962__1a13a93f-37b3-4485-86ef-7ea4a4e11362 .banner__media {
height: 22rem;
}
}
</style>
I hope the above is useful to you.
Kind & Best regards,
GemPages Support Team
Hi
This is Victor from PageFly - Shopify Page Builder App
Please add this code to your base.css file to get this sove
Step 1: Online Stores > Themes > More Actions > Edit code
Step 2: find and click on base.css and paste the code at the bottom of the file
@media screen and (max-width: 767px){
#Banner-template--17308519792962__1a13a93f-37b3-4485-86ef-7ea4a4e11362 .banner__media media {
width: 100%;
height: 300px;
}
.banner__media media > img {
object-fit: contain; // use this in case the image got cropped
}
}
Please change your height px value to match with your requirements.
Hope this can help you solve the issue
Best regards,
Victor | PageFly
This is an accepted solution.
Hello @smander
You can follow these steps:
1. Go to Online Store->Theme->Edit code
2. Open your theme.liquid file, paste the below code before </body>
<style>
@media (max-width: 500px) {
#Banner-template--17308519792962__1a13a93f-37b3-4485-86ef-7ea4a4e11362 .banner__media {
height: 22rem;
}
}
</style>
I hope the above is useful to you.
Kind & Best regards,
GemPages Support Team
@Nicky_bob I noticed that the font is too light on the footer. I haven't quite figured out how to change it, I can only find how to change the background but I'd really like to darken the font instead
By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024Thanks to everyone who participated in our AMA with 2H Media: Marketing Your Shopify St...
By Jacqui Sep 6, 2024