- This topic has 1 reply, 2 voices, and was last updated 6 years, 2 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
Home › Forums › All Other Themes › Change font size on mobile
Hi,
I would like to change the font size on mobile from 15px to 16px. On desktop the font pixel size is OK. How could I amend the font size only on mobile? Is it also possible to increase the size of the margins around the text on mobile?
Here is the link to my website: https://www.valkonverstas.fi/
Thanks!
Hi,
Kindly go to Appearance >> Theme Options >> Basic Settings >> Custom CSS Box:
Add this code there:
@media screen and (max-width:479px) {
body { font-size:16px; line-height:24px;}
.container { padding:0 30px;}
}
Regards,
Chris
Do you want to activate WordPress plugins from the database? This term is new yet interesting to learn. And if you are looking for an […]
Image Gallery WordPress Plugins You’ve got stunning visuals, but WordPress’s built-in gallery block is too basic. It doesn’t let you do fancy layouts, lightboxes, or […]
Insert Headers and Footers Plugins When you need to add essential scripts—think Google Analytics, Facebook Pixel, or custom CSS—to your site, modifying theme files is […]