How to change the default font size

Post Reply
Posts: 16
Joined: 15 Dec 2011, 06:57

11 Jul 2018, 22:56

I would like to change the value of the font size that is currently at 14px; I have read in the documentation in the SASS Variables section that this operation can be carried out but I really do not have much knowledge of SASS.

Please help considering that the only thing I want is to change the font size from 14px to 12px

Greetings from Ecuador

Posts: 123
Joined: 27 Mar 2016, 13:05

12 Jul 2018, 09:59


You could run the sass language on the commond line

Sass code :

Code: Select all

 sass -w .\src\ --sourcemap=none 
You will change font-size from 14px to 12px, this code follows to watch your changes from sass codes.

You could find the font-size in the _common.scss.


Posts: 18108
Joined: 05 Jan 2009, 00:21
Location: Cybertron

29 Aug 2018, 08:38

Yes, at _common.scss, there is a $fontSize parameter, if you change and then rebuild your theme, it will take effect.

Post Reply

Return to “Avalon - PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest