Feature #28595

Please remove font definition from the body element.

Added by sergio . over 4 years ago. Updated almost 4 years ago.

Status:Needs feedbackStart date:
Priority:NormalDue date:
Assignee:-% Done:


Target version:-



body { font-family: Verdana, sans-serif; font-size: 12px; #333; margin: 0; padding: 0; min-width: 900px; }

It's really bad idea to redefine default user font size and family. You can define any font (menu, footer, anywhere), but the main one should be user defined.


#1 Updated by Ivan Verevkin almost 4 years ago

+1 for customizing that parameter

or at least make it based on screen size, I guess changing 12px => 1rem would be nice

#2 Updated by Anonymous almost 4 years ago

+1, but not going to happen... likely not in this century... sadly.

#3 Updated by Marius BALTEANU almost 4 years ago

  • Tracker changed from Defect to Feature
  • Status changed from New to Needs feedback

Why is bad to define font size and family in body element? I'm asking because I would like to understand the reasons and honestly, is the first time when I hear this.

#4 Updated by sergio . almost 4 years ago

Default font is a user setting, that user can define in browser settings.
My choice is 20px DejaVu. It's comfortable for me. And you say: "NO! you will break you eyes on my 12px verdana and will not be able to change it!"

It's ok to set font (with size) for menus, headings, footer anything else, except the main text that user need to read a lot of.

Also available in: Atom PDF