Text size issue on home page for mobile - Dawn Theme

Joi_Johnston
Excursionist
20 0 4

Hi everyone, 

 

I am having issues with my home page for the Dawn theme. The font size is wack when I view it on mobile. I have tried out a few codes but unfortunately, I'm still not able to sort it out. I would also love to add a semi-transparent background behind the text. I truly appreciate any help! Thank you!!

Replies 9 (9)

Made4uo-Ribe
Shopify Partner
6388 1534 1903

Hi @Joi_Johnston 

Would you mind to share your Store URL website? with password if its unpublish. Thanks!

If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.
Joi_Johnston
Excursionist
20 0 4

Thank you so much for replying! 

https://joi-handbags.myshopify.com/

Joi_Johnston
Excursionist
20 0 4

Screen Shot 2023-12-11 at 11.24.30 AM.pngScreen Shot 2023-12-11 at 9.33.44 AM.pngScreen Shot 2023-12-11 at 11.22.49 AM.png

Made4uo-Ribe
Shopify Partner
6388 1534 1903

Thanks for the info, Do you mean like this?

Made4uoRibe_0-1702330702498.png

Im sorryy, I descrease the size of the font. The size of the font is not adviceable for the mobile screen. It will take all the screen area of your mobile view. This is the code ive used. I also adjust the ipad screen but not the dekstop. 

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 "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 (max-width: 999px){
.banner__box {
    align-self: flex-end !important;
}
h2.banner__heading.inline-richtext.h1 {
    font-size: 2.5rem !important;
}
h2.banner__heading.inline-richtext.h1 {
   background-color: rgba(0, 0, 0, 0.5) !important;
    color: white !important;
    padding: 15px;
}
.banner__box.content-container.content-container--full-width-mobile.color-background-1.gradient {
    padding-bottom: 2rem !important;
}
}
@media only screen and (max-width: 749px){
h2.banner__heading.inline-richtext.h1 {
    font-size: 1.7rem !important;
}
}

 

And Save.

You can adjust it if you like. 

 

 

Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.
Joi_Johnston
Excursionist
20 0 4

Thank you so much for your help!!! I have added the code and when I click on mobile this is how it appears... Is there a way to make the text move down?

 

Screen Shot 2023-12-11 at 4.07.49 PM.png

Made4uo-Ribe
Shopify Partner
6388 1534 1903

Would you mind to place it on the theme.liquid. 

 

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 "theme. Liquid" file. Find the </body> tag and paste the code below before the tag. 

 

<style>
@media only screen and (max-width: 999px){
.banner__box {
    align-self: flex-end !important;
}
h2.banner__heading.inline-richtext.h1 {
    font-size: 2.5rem !important;
}
h2.banner__heading.inline-richtext.h1 {
   background-color: rgba(0, 0, 0, 0.5) !important;
    color: white !important;
    padding: 15px;
}
.banner__box.content-container.content-container--full-width-mobile.color-background-1.gradient {
    padding-bottom: 2rem !important;
}
}
@media only screen and (max-width: 749px){
h2.banner__heading.inline-richtext.h1 {
    font-size: 1.7rem !important;
}
}
</style>

 

And Save. 

 

 

Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.
Joi_Johnston
Excursionist
20 0 4

I put it right below this section and it didn't change it. Let me know if I am doing something wrong, please. Thank you again!Screen Shot 2023-12-12 at 2.03.11 PM.png

Made4uo-Ribe
Shopify Partner
6388 1534 1903

Before the </body>

that is not before the body its before the {% endif %}

After {% endif %} and before the </body>

If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.
Joi_Johnston
Excursionist
20 0 4

Hi, I pasted it in the correct spot and it's still not showing any change.