Reply To: Font size default in EM instead of PX

Home Forums Support Font size default in EM instead of PX Reply To: Font size default in EM instead of PX

#168950
Tom
Lead Developer
Lead Developer

Hi Paul,

So out of all of that, this is what would apply to GP:

.main-title {
    font-size: 45px;
}

.site-description {
    font-size: 18px;
}

h1, 
h1.entry-title, 
h2.entry-title {
  font-size:4vw;
}

.secondary-navigation .menu-toggle, 
.secondary-navigation ul li a  {
    font-size: 17px;
}

When I created the add-on, I figured giving people complete control over something they understand (px) was a better idea than giving them control over something only few understand (em and rem).

I also figured since there’s only a handful of areas you adjust, it wouldn’t make a massive different for mobile.

Either way, I’ll definitely take a look and see if there’s a way I can implement this in an easy to understand way using the Customizer 🙂