Shopify themes, liquid, logos, and UX
Hi there,
I want to resize the first banner image on this page: https://taneraskin.com/pages/kpguide (Dawn theme) in MOBILE only. It should be larger.
Also, if you know how, I would like to make the small images (icons) in the table here larger in MOBILE only.
Best regards,
Isabelle
Solved! Go to the solution
This is an accepted solution.
This is Noah from PageFly - Shopify Page Builder App
Hi @isabellemaria Please add code here to change size image:
Step 1: Online Stores > Themes > Edit code
Step 2: Choose file theme.liquid
Step 3: Add code above the tag </body>
<style>
@media screen and (max-width: 767px){
#Banner-template--19921508663564__8278a745-3a9e-430c-bf90-92ae8be53bc7{
height: 15vh !important;
}
}
</style>
Hope my solution will help you resolve the issue.
Best regards,
Noah | PageFly
Please let me know if it works by giving it a Like or marking it as a solution!
PageFly - #1 Page Builder for Shopify merchants.
All features are available from Free plan. Live Chat Support is available 24/7.
- Here is the solution for you
- Please follow these steps:
- Then find the base.css file.
- Then add the following code at the end of the file and press 'Save' to save it.
@media screen and (max-width: 749px) {
.banner__media:first-child {
height: 140px !important;
}
.markdown table td {
padding: 0 !important;
}
}
- Here is the result you will achieve:
- Please press 'Like' and mark it as 'Solution' if you find it helpful. Thank you.
If our suggestions are useful, please let us know by giving it a like or marking it as a solution.
Salepify: Efficiently increase sales conversion with sale-driven features like auto add to cart, free gifts (free plan available)
Salemate: Boost your AVO with 2-layer offer, countdown upsell in your post purchase page
This is an accepted solution.
This is Noah from PageFly - Shopify Page Builder App
Hi @isabellemaria Please add code here to change size image:
Step 1: Online Stores > Themes > Edit code
Step 2: Choose file theme.liquid
Step 3: Add code above the tag </body>
<style>
@media screen and (max-width: 767px){
#Banner-template--19921508663564__8278a745-3a9e-430c-bf90-92ae8be53bc7{
height: 15vh !important;
}
}
</style>
Hope my solution will help you resolve the issue.
Best regards,
Noah | PageFly
Please let me know if it works by giving it a Like or marking it as a solution!
PageFly - #1 Page Builder for Shopify merchants.
All features are available from Free plan. Live Chat Support is available 24/7.
Hi @isabellemaria,
I would suggest to have different section for mobile and desktop. Then you can assign different image sizes or even images. Please follow the tutorial below to achieve this
Please press 'Like' and mark it as 'Solution' if you find it helpful.
2m ago Learn the essential skills to navigate the Shopify admin with confidence. T...
By Shopify Feb 12, 2025Learn 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, 2025