How can I modify the H1 title in a custom post type?

I want to modify the H1 title used in one of my custom post types. I’m looking to add an additional text to it for SEO purposes and this text will appear in all the posts under that custom post type.

Hello @stan255,

Thanks for writing in! With what you have in mind, it will require customization to be able to add an additional text to it for SEO purposes and that the text will appear in all the posts under that custom post type. Be advised that custom development is beyond the scope of our support. We highly recommend that you upgrade to the Pro Theme so that you can utilize the Layout builder will would allow you to easily create a custom layout and modify the H1 title for your custom post type. To be familiar with the Layout Builder, please check out this documentation:

https://theme.co/docs/layout-builder-overview

Hope this helps.

Thanks for the reply @ruenel but I don’t need to change the layout. I have another plugin that does that for me.

Would you be able to point in the right direction of how to do this myself?

Hi @stan255,

I believe your custom post type is using the default single template (unless you modify it using another plugin), if so, then you can modify the h1 title using the selector below.

h1.entry-title {
	/*CSS rules*/
}

Hope it helps,
Cheers!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.