Support » Theme: OceanWP » What HTML class to use for a page title?

  • Question

    My theme like most WP themes defaults the page title to an H1. However, my theme OceanWP allows me to change the heading tag to either H1-H6, div, span, or p.

    I don’t want my page title to be H1 as I want my H1 on my page body for SEO. So which do I choose?

    Definitely not H1-H6 and from my understanding, not a div. So, span or p for page title?

Viewing 1 replies (of 1 total)
  • Hello,

    To do it you need to modify the theme file –
    1. Install oceanwp child theme
    2. copy the oceanwp > partials > page header file into the child following the same path
    3. Now edit it using a code editor as per your need.

Viewing 1 replies (of 1 total)
  • The topic ‘What HTML class to use for a page title?’ is closed to new replies.