- This topic has 9 replies, 2 voices, and was last updated 5 months, 2 weeks ago by David.
September 13, 2022 at 2:04 am #2341345Lee
Can you please tell me how to change the font size and the alignment for Page header fonts. When I alter H1, it doesnt alter the main page headers?
Many thanks in advance.September 13, 2022 at 4:33 am #2341473DavidStaffCustomer Support
in your Typography settings you should see the
H1 Single content Title.
Do you have both of those set ? As the latter one is what will override the H1 for your single pages / posts
Adding CSS: http://docs.generatepress.com/article/adding-css/September 13, 2022 at 9:10 am #2341880Lee
I have four options that I could update:
Cache Dynamic CSS
Is it recommended that I update all four options?September 13, 2022 at 9:16 am #2341887DavidStaffCustomer Support
Only the Dynamic Typography option an actual update. The others are options that you can enabled if required, i would suggest enabling: Combine CSS – and leaving the rest as they are.
Adding CSS: http://docs.generatepress.com/article/adding-css/September 15, 2022 at 6:04 am #2343675Lee
Brilliant! Absolutely love Dynamic Typography.
Just going back to the original post, is there a way I can selectively create a larger H1 font size for one page only? I want a H1 header in a large font on my homepage with selective keywords. But on every other page on the website, I want the H1 font to be smaller.September 15, 2022 at 8:26 am #2343957DavidStaffCustomer Support
So with the Dynamic Typography -> Add Typography in the Target Element list there is one called
Custom. Selecting that shows the
Enter custom CSS selector.field.
Here you can do your own custom CSS Selectors. eg.
And then set the font styles you want for the H1 on the home page ( which has the home body class ).
You’re alternative, for the home page as that is built with GenerateBlocks is to swap the Heading block you have for your H1 to a GenerateBlocks Headline Block, as that has a wealth of responsive controls.
Adding CSS: http://docs.generatepress.com/article/adding-css/October 18, 2022 at 12:32 pm #2377982Lee
Thanks for this David,
Can I just ask. Do you think swapping the regular h1 to a custom .home h1 might effect the homepage SEO ranking at all?October 19, 2022 at 3:43 am #2378503DavidStaffCustomer Support
No, its quite common to have different H1 styles for different pages and purposes.
In fact GP Customizer > Typography provides two H1 styling options, theres:
Heading H1which is the global style
and then theres the
Single Content Title H1which allows you to override the global style on single posts and pages.
This allows users to differentiate the styles used on archives to that used on single posts.
You will also see many designs where the home page or other static pages have very custom designs.
Adding CSS: http://docs.generatepress.com/article/adding-css/October 19, 2022 at 6:17 am #2378642Lee
Amazing! Just what I needed to hear. Thanks David.October 19, 2022 at 6:26 am #2378656DavidStaffCustomer Support
Adding CSS: http://docs.generatepress.com/article/adding-css/
- You must be logged in to reply to this topic.