- This topic has 11 replies, 4 voices, and was last updated 6 years, 3 months ago by
Tom.
-
AuthorPosts
-
November 17, 2015 at 4:51 am #153700
Pekka Murtokangas
How can change font-size and line-height in normal paragraphs (p) I have tried to add to childtheme css:
p{font-size:18px;line-height:1.2}, but no affect…
Pekka M
November 17, 2015 at 11:25 am #153780Tom
Lead DeveloperLead DeveloperYou can change the font size in “Customize > Typography”.
For the line height, what you have above should work:
p { line-height: 17px; }
Adjust as necessary.
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentAugust 1, 2016 at 5:47 pm #214618Chris
The Line Height variable might be a good option to add under โCustomize > Typographyโ in a future update to the GP Premium package. This way users can adjust there instead of the CSS file. ๐
August 1, 2016 at 11:25 pm #214684Tom
Lead DeveloperLead DeveloperI agree ๐
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentOctober 19, 2016 at 12:30 pm #237074Bogdan
I also agree ๐ line-height is the second most used setting in typography and graphic design, generally speaking. It should be more accesible = in the Typography interface, and most definitely not available only through custom CSS. Please help! ๐
October 19, 2016 at 12:46 pm #237079Tom
Lead DeveloperLead DeveloperGP Premium 1.2.90 made it possible to add line-height in an upcoming version.
It’s coming soon ๐
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentOctober 19, 2016 at 12:49 pm #237082Chris
That’s great news Tom. Much appreciated!
– Chris
October 19, 2016 at 1:04 pm #237087Bogdan
Thanks! ๐
October 20, 2016 at 12:55 pm #237432Bogdan
I found smth which may be IMHO the ideal example of Typography settings: https://typeanything.io/
With one more very useful feature: live update when hovering over a font name in a dropdown.
October 20, 2016 at 12:57 pm #237433Tom
Lead DeveloperLead DeveloperVery cool, not sure something like that would work in the Customizer, but worth looking into ๐
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentOctober 20, 2016 at 1:02 pm #237435Bogdan
I predict that if you make this, youl’ll suddendly have a boost in sales ๐ , since this is the correct approach from a designer’s point of view – most other implementations in wp/front-end/page builders omit many settings which:
– are quite esential for a very good styling (for example – letter-spacing)
– are already available as specs – nothing fancy to re-invent, just implementOctober 20, 2016 at 1:03 pm #237436Tom
Lead DeveloperLead DeveloperReally appreciate the ideas ๐
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-development -
AuthorPosts
- You must be logged in to reply to this topic.