Shopify themes, liquid, logos, and UX
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.
Solved! Go to the solution
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.
my website is www.liftchairheaven.com. Currently, i have title font size of 23px and text size 16px
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 suggestion works 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
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.
Discover how to increase customer engagement on your store with articles from Shopify A...
By Jacqui Apr 23, 2025Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025