What's your biggest current challenge? Have your say in Community Polls along the right column.

Re: How to Increase Font Size on an Image Banner Beyond the Limit for Desktop?

How to Increase Font Size on an Image Banner Beyond the Limit for Desktop?

edwinsoltan
Excursionist
45 0 14

How can I make the font size on an image banner larger than the default limit specifically for desktop screens?

STORE https://timecraft.se/

Skärmavbild 2024-11-30 kl. 18.45.26.png

Replies 3 (3)

Made4uo-Ribe
Shopify Partner
9141 2181 2693

Hi @edwinsoltan 

Try this one.

  1. From your Shopify admin dashboard, click on "Online Store" and then "Themes".
  2. Find the theme that you want to edit and click on "Actions" and then "Edit code".
  3. In the "Assets" folder, click on "base.css, style.css or theme.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: 750px){
h2.banner__heading.inline-richtext.hxxl {
    font-size: 10rem;
}

.banner__box.content-container.content-container--full-width-mobile {
    max-width: 100%;
}
}

 

  • And Save.
  • Result:
  • Made4uoRibe_0-1732967507872.png

     

Your Feedback Matters! Please mark the solution and give likes to posts that helped you. Your appreciation fuels our motivation to assist you better! 

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.
Create custom Shopify pages effortlessly with PageFly's drag-and-drop ⚙️.
edwinsoltan
Excursionist
45 0 14

Hi, it didn’t change anything. Could you please assist me further? 

Im using the DAWN theme

Made4uo-Ribe
Shopify Partner
9141 2181 2693

Try to add !important, replace on this one. 

 

@media only screen and (min-width: 750px){
h2.banner__heading.inline-richtext.hxxl {
    font-size: 10rem !important;
}

.banner__box.content-container.content-container--full-width-mobile {
    max-width: 100% !important;
}
}

 

And Save. 

 

 

Your Feedback Matters! Please mark the solution and give likes to posts that helped you. Your appreciation fuels our motivation to assist you better! 

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.
Create custom Shopify pages effortlessly with PageFly's drag-and-drop ⚙️.