Shopify themes, liquid, logos, and UX
Hi,
We need help to change the imagesize for this Image Banner in Dawn template. The size is nice for mobile, but extremely big for desktop. Please see attached.
Hi @MikaelMo , kindly provide your store URL please. Thanks
Hi @MikaelMo,
Please go to Actions > Edit code > Assets > base.css file and paste this at the bottom of the file:
@media screen and (min-width: 750px) {
#shopify-section-template--21909981364525__image_banner_QtdVxp .banner {
max-height: 80rem;
}
#shopify-section-template--21909981364525__image_banner_QtdVxp .media > img {
width: auto;
height: 100%;
left: 50%;
transform: translateX(-50%);
}
}
Hi @MikaelMo,
I checked and the code is giving me an error, can you check it again?
Hi again,
I checked, and it's copied straight from the board you sent me..
Hi @MikaelMo,
Can you try to copy it?
@media screen and (min-width: 750px) {
#shopify-section-template--21909981364525__image_banner_QtdVxp .banner {
max-height: 80rem;
}
#shopify-section-template--21909981364525__image_banner_QtdVxp .media > img {
width: auto;
height: 100%;
left: 50%;
transform: translateX(-50%);
}
}
That one did not work either..
Hi @MikaelMo,
Can I send you a collaborator invite? it will help me debug everything best
Sure! How do we do that?
Hi @MikaelMo,
Please send me the collaborator code in private message, I will send you the invitation and check it
Hi @MikaelMo,
Because the current base.css file is an error, it won't work well when added at the end of the file:
I changed it, please check and let me know
Amazing!! How can I make it even smaller? Like these ones.
Hi @MikaelMo,
You just need to reduce 80rem to 50rem or less, it will work fine as you want:
Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By 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, 2024