Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

Different font size for mobile and destop

Different font size for mobile and destop

Simplinote
Excursionist
40 0 3

Hello, I want a different font size in all of my store for desktop and phone. How can I code or do that?

Replies 11 (11)

Moeed
Shopify Partner
7527 2033 2499

Hey @Simplinote 

 

Could you please provide your Store URL and, if applicable, the Password too? Also, please share a screenshot of what you want to change the font size of. Your cooperation is greatly appreciated!

 

Best Regards,
Moeed

- Need a Shopify Specialist? Chat on WhatsApp

- Get a quick Shopify quote – Click here!

- Custom Design | Advanced Coding | Store Modifications


Simplinote
Excursionist
40 0 3

My store url is http://simplinote.com and the password is 5547

Simplinote
Excursionist
40 0 3

ZestardTech
Shopify Partner
6147 1099 1475

Hello There,

Please share your store URL and password.
So that I will check and let you know the exact solution here.

Want to modify or develop new app, Hire us.
If helpful then please Like and Accept Solution .
Email: support@zestard.com
Shopify Apps URL :- https://apps.shopify.com/partners/zestard-technologies
Custom Modifications Into Shopify Theme | Shopify Private App | SEO & Digital Marketing
Simplinote
Excursionist
40 0 3

My store url is http://simplinote.com and the password is 5547, thank you so much 

Simplinote
Excursionist
40 0 3

So I had to change the password, now it is 3948

Simplinote
Excursionist
40 0 3

Hello ZestardTech, are you still there? Can you please help?

PageFly-Noah
Shopify Partner
1317 233 281

Hi @Simplinote 

 

This is Noah from PageFly - Shopify Page Builder App

 

Please add this code to your theme.liquid above the </head> to get this solved

Step 1: Online Stores > Themes > More Actions > Edit code

Step 2: click on theme.liquid and paste the code above the </head>

<style>
html,body, * {
font-size: 25px !important;
}
@media screen and (max-width: 767px){
html,body, * {
font-size: 15px !important;
}
}
</style>

Note: You can change the value to match with your style

Hope this can help you solve the issue 

 

Best regards,

Noah | 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.

Simplinote
Excursionist
40 0 3

Thank you so much! I will let you know if I madd it happen😊😊

Simplinote
Excursionist
40 0 3

Hello, so i truid this, and it is working, but now all of the headlines are extremely small. Can you please help me find a solution for this?

PageFly-Noah
Shopify Partner
1317 233 281

Hi @Simplinote Please replace the code above with this new one, and you can change the value of the size for your headlines

<style>
html,body, * {
font-size: 25px !important;
}
html,body, h1,h2,h3,h4,h5,h6 {
font-size: 30px !important;
}
@media screen and (max-width: 767px){
html,body, * {
font-size: 15px !important;
}
html,body, h1,h2,h3,h4,h5,h6 {
font-size: 20px !important;
}
}
</style>

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.