Solved

How to adjust font size for mobile devices

Allen6224
Tourist
10 0 1

Hi,

I wanted to know how to adjust the text font size and text font size for mobile devices. I wanted to make this text a little smaller.


Allen6224_0-1718004039758.png

 

Accepted Solution (1)

PageFly-Henry
Shopify Partner
1139 322 276

This is an accepted solution.

Hi @Allen6224 

This is Henry from PageFly - Landing Page Builder App

 

You can try this code by following these steps: 

Step 1: Go to Online Store->Theme->Edit code.

Step 2: Search file base.css

Step 3: Paste the below code at bottom of the file -> Save

 

@media (max-width: 767px){

strong[data-mce-fragment="1"] {

    font-size: 23px !important;

}}

 

Hope that my solution works for you.

Best regards,

Henry | PageFly

Please let me know if it works by giving it a Like or marking it as a solution!


PageFly - #1 Page Builder for Shopify merchants.


All features are available from Free plan. Live Chat Support is available 24/7.

View solution in original post

Replies 3 (3)

Allen6224
Tourist
10 0 1

my website is www.liftchairheaven.com. Currently, i have title font size of 23px and text size 16px

mageplaza-cs
Visitor
3 0 0

Hi @Allen6224 ,

You can go to your Online Store > Themes > Customize > Theme Settings> Custom CSS and add this code 

@media (max-width: 749px) {
  body {
    font-size: 1.4rem;
  }
}


On the custom CSS, you can change 1.4rem to px value. 

Mageplaza | Top-Rated Shopify Agency | Trusted by 230,000+ worldwide merchants


If our suggestions work for you, please give it a Like or mark it as a Solution!


Should you have any questions or concerns, feel free to contact us via consultant@mageplaza.com

PageFly-Henry
Shopify Partner
1139 322 276

This is an accepted solution.

Hi @Allen6224 

This is Henry from PageFly - Landing Page Builder App

 

You can try this code by following these steps: 

Step 1: Go to Online Store->Theme->Edit code.

Step 2: Search file base.css

Step 3: Paste the below code at bottom of the file -> Save

 

@media (max-width: 767px){

strong[data-mce-fragment="1"] {

    font-size: 23px !important;

}}

 

Hope that my solution works for you.

Best regards,

Henry | PageFly

Please let me know if it works by giving it a Like or marking it as a solution!


PageFly - #1 Page Builder for Shopify merchants.


All features are available from Free plan. Live Chat Support is available 24/7.