Archived topic
Archive Title Targeting
9 replies · Started by Ian on August 3, 2022
I see Typography has Archive Content Title H2 but our archive has an H1 title? Did something change?
Hi there,
Any chance you can link us to the page in question?
You can use the private information field:
https://docs.generatepress.com/article/using-the-premium-support-forum/#private-information
Let me know :)
The site in question won't be accessible but I have shared a URL in the original post to another relatively recent site and it also shows H1. Check the link. Thanks.
The Archive Content Title is for the post titles highlighted in green.
If you want to change the "Books" title highlighted in red then it would be <h1>
Reference image: https://www.screencast.com/t/wkQ5lYxffyb3
Let me know if this answers your question :)
I see what you are saying now.
.archive .page-header - this works for adding character treatment line :after but cannot control the font-weight
How do we target just the H1 in the Category Archive Title for font weight?
Just to confirm, the Heading 1 (H1) setting doesn't work for you?
That will change the static page and single post titles as well.
I should have checked. Will that setting also change all H1 Headings throughout the site? If not, I can certainly use that.
Will that setting also change all H1 Headings throughout the site?
Yes
If you want to target the archive title only then try this selector:
.page-header h1.page-title
Let me know :)
Thank you!
No problem :)