Hello,
I have a problem with banner.heading font size. I want to change font size, but ONLY ON DESKTOP.
Website: amberound.com
Before:
After:
Thanks!
A user needed to adjust banner heading font size specifically for desktop view on their Shopify store (amberound.com), while keeping mobile sizing unchanged.
Solution Provided:
Multiple approaches were shared, with the successful method involving:
</body> tag.banner__heading class with !important flagAdditional Requests:
The original poster also asked about adjusting the smaller “Women’s Jewelry” text below the heading, which was resolved using similar CSS targeting .banner__box .banner__text p with appropriate font-size values.
Alternative Approach:
Another user suggested modifying the section-image-banner.css file directly and using viewport width (vw) units for responsive sizing, providing separate media queries for desktop (min-width: 749px) and mobile (max-width: 749px) breakpoints.
Status: Resolved - The issue was successfully addressed with working CSS code examples.
Hello,
I have a problem with banner.heading font size. I want to change font size, but ONLY ON DESKTOP.
Website: amberound.com
Before:
After:
Thanks!
Hi @Atsimataves
Check this one.
From your Shopify admin dashboard, click on “Online Store” and then “Themes”.
Find the theme that you want to edit and click on “Actions” and then “Edit code”.
In the “Assets” folder, click on “section-image-banner.css” file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:
@media only screen and (min-width: 749px){
.slideshow__text.banner__box .banner__heading {
font-size: 50px;
}
}
And Save.
Result:
You can adjust the sizes you like.
Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!
Hello @Atsimataves
You can add code by following these steps
Go to Online Store → Theme → Edit code.
Open your theme.liquid file
Paste the below code before on theme.liquid
@niraj_patel , boooom! It works. :)) May I know if I want to change the text below how I can do that? Now it looks a little too small “Women’s Jewelry”.
Thanks a lot!
Hello @Atsimataves
You can add code by following these steps
Go to Online Store → Theme → Edit code.
Open your theme.liquid file
Paste the below code before on theme.liquid
Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution.
@niraj_patel Thank you very much! ![]()
Welcome ![]()
hi there can will the positioning change for mobile to?
In my case, the Image Banner element is under the section-image-banner.css
This code worked for adjusting the header height and the text height, specified in vw for responsiveness
@media only screen and (min-width: 749px){
.banner__box .banner__heading {
font-size: 5vw;
}
.banner__box .banner__text {
font-size: 3.5vw;
}
}
@media only screen and (max-width: 749px){
.banner__box .banner__heading {
font-size: 7vw;
}
.banner__box .banner__text {
font-size: 5.5vw;
}
}