Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 2
Mournfuldog

How to reduce size of all mobile fonts?

Question

I've about got my website the way I like, using the Aviator template, but on a mobile phone, the font size, which is quite comfortable on a desktop monitor, is kind of huge. As the mobile styles already change many things, I figure there might be some way of saying, "Do all the stuff you always do for mobile devices, but make all the fonts 70% of the regular mobile size, please."

For reference, my website, on a page other than the Info Page so you can see the problem: http://www.withinsight-therapy.com/what-we-offer/

Edited by chriscc
retag

Share this post


Link to post

9 answers to this question

Recommended Posts

  • 2
Guest

CSS:


@media only screen and (max-width: 640px) {
  p {
      font-size: 14px;
  }
}


Edited by Guest

Share this post


Link to post
  • 1

Sorry:


@media only screen and (min-width: 1025px) {

 #main-navigation {
 background: rgba(101, 89, 60, 0.9);
 width:15%;
 }

} 

#main-navigation {
 background: rgba(101, 89, 60, 0.9) 
     }

@media only screen and (max-width: 640px) {
  body {
      font-size: 16px;
  }

  h1 {
      font-size: 28px;
  }

  h2 {
      font-size: 24px;
  }

  h3 {
      font-size: 20px;
  }

  blockquote {
      font-size: 16px !important;
  }

}

Edited by Mournfuldog

Share this post


Link to post
  • 0
Guest

If you also want to change the weight of the font on mobile, you can use something like this:


@media screen and (max-width: 640px) {
   p {
     font-weight: 300;
   }
}

Replacing

300;

with your own value.

Hope this helps!

Share this post


Link to post
  • 0

Does not work for me doesn't change menu text size and the linked pages inside the menu but changes all the other text instead. Wack. Super super fucking wack @NickBrit @HarryBrown

Share this post


Link to post
  • 0

This worked great for me! Thanks @NickBrit @HarryBrown

Do you know how to target the links in a mobile overlay navigation? I set my mobile breakpoint super high so I always have the mobile navigation active. Trying to use a large font for the desktop nav but would like to make it small for mobile. Using Brine as the template.

Share this post


Link to post
  • 0

hi! How do you make this work, but just for specific pages? For example, I used h1 as the style for overlay text on my web banner, and want to reduce font size for mobile, without affecting other h1 text on the rest of the site.

Share this post


Link to post
  • 0
1 hour ago, aleithialow said:

hi! How do you make this work, but just for specific pages? For example, I used h1 as the style for overlay text on my web banner, and want to reduce font size for mobile, without affecting other h1 text on the rest of the site.

@aleithialow page settings > advanced > page header code injection 

Add <style>PASTE CODE HERE</style>

This will target only that specific page with the code instead of the whole site.

https://support.squarespace.com/hc/en-us/articles/205815908-Using-Code-Injection

Let me know if this helped!

Share this post


Link to post
  • 0
Posted (edited)

@Thurstings Is it possible to increase the font size for a single line of text on a page (eg. keep multiple font sizes on the page)?

I'm trying to increase the "Getting Signed with ..." title, only.

 

IMG-6227.thumb.png.7dbcec18598f155590403700a691c3ad.png

Edited by Niculeahwr

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...