How can I adjust my mobile view font size to prevent word cut-off?

I want to change the font size for mobile view only since it appears to be too big and some of the words are cut off. I’m actually okay with the current size, but it seems that maybe to text box or margins arent big enough to fit the entire words.

My site url is https://leediastore.com/

1 Like

Hi @LEEDIA

Can I check? Would you mind to share the password? Thanks!

1 Like

Sorry about that, it’s ‘yaurow’

1 Like

Thank you, Do you like to adjust the font size or take out the padding only?

If the padding only this will be the result.

And this is the code.

  • 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: 749px){
div#ImageWithText--template--21211836514609__image-with-text {
    padding-left: 0px;
    padding-right: 0px;
}
}

For decrease the font. This is the result:

@media only screen and (max-width: 749px) {
#ImageWithText--template--21211836514609__image-with-text > h2 {
    font-size: 40px;
}
}
  • Note: you can increase or decrease the size just change only the numbers.
1 Like

Amazing, this worked perfectly. I really appreciate your help!