Shopify themes, liquid, logos, and UX
Hi guys,
Im working on the design of my page (dawn theme) and the image-banner section makes the image much too square for me- I'm looking for a panoramic - type of image - banner. I will be trying to change that in the "section-image-banner.css" code, but since there are multiple codes for different screen widths I was hoping there is a way to add a rule that changes the height of the image for all of the screen widths at once, instead of having to change each one individually.
Can somebody lend me a hand? 1. Is that possible to add just a single rule to make the height smaller for the section no matter the screen size? 2. What should the changes be?
Thanks in advance
Hii, @PABoucle
Kindly share your store URL so,
I can solve this issue.
Thank You.
@PABoucl
To customize the height of the "Image Banner" element in the Dawn theme, first create a backup version of your site, avoid working in the original version!
Next go to the code editor. Click on Assets > section-image-banner.css . In the line 65 we will find the selector .banner_media with the height definition, if you want to make the image visible remove the height: 100%.
@media screen and (min-width: 750px) {
.banner__media {
height: 100%;
}
}
Save the changes before making a preview.
I hope this helps!
All the best ,PABoucle
User | RANK |
---|---|
72 | |
66 | |
56 | |
55 | |
42 |
As a business owner, have you ever wondered when your customer's first impression of yo...
By Skye Jun 6, 2023We're excited to announce improvements to the threaded messaging experience in our communi...
By TyW May 31, 2023Thank you to everyone who participated in our AMA with Klaviyo. It was great to see so man...
By Jacqui May 30, 2023