• 0

Assigning Fonts for different Elements


Question

Posted (edited) · Report post

I would like to change the font TYPE and SIZE for these elements: Paragraph, H1, H2, H3, H4, and H5.

 

I would also like to specify a different font TYPE and SIZE for menu bars and widget items.

 

I've looked and looked, and all I can see is the Global Setting -> Typography which does not offer options beyond "Primary Text" and "Text headers".  When I made a change to "Primary Text" , it changed everything (including Nav Bar and Widget texts), and when I made a change to "Text Headers" there was no option to specify font sizes for each of the H elements.

 

The 'old' Pagelines offered easy customization of all these elements. Now I'm lost.

 

Grateful if you could point me in the right direction.

Edited by leftcoastmichael

Share this post


Link to post
Share on other sites

3 answers to this question

  • 0

Posted · Report post

Hi there,

 

These settings are generalized in DMS. You will need to use css to adjust the specific h tags on selected elements. Example of the css belwo for you.

 

h1, h2, h3, h4, h5, h6, p {
    font-size:18pt;
}
1 person likes this

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Thanks for the response. Can you remind me where to input this code?

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

All custom CSS/LESS can go into the Custom CSS option in the DMS Toolbar. However, if you're using a child theme, then your custom CSS/LESS should go into the style.less file, if there isn't one present then you will need to create it.

 

I recommend you see our Customization documentation for a more in-depth guide.

 

http://docs.pagelines.com/customize/how-to-customize

http://docs.pagelines.com/tutorials/adding-custom-fonts

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

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

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now