• Resolved sabrinamlis

    (@sabrinamlis)


    I am having an issue figuring out how to set my site title as the h1 across my site. Right now, I have the site title which links to our home page, but it is not assigned an h1 tag. This is a problem because I am receiving an accessibility error that my site does not have an h1 and that I have skipped level headings (as my page titles are all at h2 level). How can I set the site title to be the h1 across my site when using the OceanWP theme? It is very difficult to customize this already so hopefully this can be an easy fix, as I am not too well versed in PHP or child themes, etc.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Abhishek

    (@abhikr781)

    Hello,

    Please go to Appearance > Customize > General Options > Page Title, from here you can set the h1 tag for page titles.

    In addition, kindly share that page URL where you facing the issue.

    Thread Starter sabrinamlis

    (@sabrinamlis)

    Hi there,

    The issue is, I don’t want to set page titles as the h1, I want the site title to be the h1 for the entire site (so every page). I want the page titles to remain at h2.

    Here is a link to the site in question: https://ischoolgroups.sjsu.edu/alasc/wp-students/

    You can see we do not have an h1 currently, I want the site title “SJSU ALASC” to be the h1, not “Welcome back Spring 2022 students”.

    Abhishek

    (@abhikr781)

    Hello,

    Please copy the logo.php file into the child theme by following the same path.
    You will get the logo.php file by following the path: /oceanwp/partials/header

    Edit the copied logo.php file in the child theme and add the H1 tag for the site title, please see the snapshot for reference.

    https://ibb.co/hDnZwKR

    If you don’t have a child theme, following the doc will help you.
    https://docs.oceanwp.org/article/90-sample-child-theme

    Thread Starter sabrinamlis

    (@sabrinamlis)

    Thank you so much for that information, that should be the solution!

    I appreciate it!

    Abhishek

    (@abhikr781)

    You are most welcome.😊

    Hello
    Am keen to follow this but the https://ibb.co/hDnZwKR link to image just goes to a page does not exist, can you help? Thanks.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Missing h1 from OceanWP Theme’ is closed to new replies.