How do I make the header as h1 for an article?

This topic has 4 replies, 2 voices, and was last updated 11 months, 1 weeks ago ago by Tony Rodriguez

  • Avatar: coffeedog
    coffeedog
    Participant
    December 10, 2023 at 21:24

    how do I make the header as h1 for an article?

    more info https://imgur.com/a/xNdBxSi

    Please, contact administrator
    for this information.
    3 Answers
    Avatar: Tony Rodriguez
    Tony Rodriguez
    Support staff
    December 11, 2023 at 10:00

    Hello, @coffeedog,

    Should you desire to modify the title of a single post to an H1 heading, we kindly direct your attention to the following discussion thread for guidance:

    https://www.8theme.com/topic/change-single-blog-title-heading-from-h2-to-h1/

    We trust that the information provided will effectively address your concern.

    Warm regards,
    The 8Theme Team

    Avatar: coffeedog
    coffeedog
    Participant
    December 11, 2023 at 14:08

    where can I find that? In css?

    I have changed
    <h2><?php the_title(); ?></h2>

    to
    <h1><?php the_title(); ?></h1>

    Avatar: Tony Rodriguez
    Tony Rodriguez
    Support staff
    December 12, 2023 at 06:02

    Hello, @coffeedog,

    Thank you for your response.

    We would like to inform you that the required modifications are not to be made within the CSS file. Instead, you should focus on the PHP code. Please proceed by copying the ‘single.php’ file from the Parent Theme directory, located at ‘wp-content/themes/xstore’, to the Child Theme directory, which can be found at ‘wp-content/themes/xstore-child’.

    Once you have successfully copied the file, you will need to locate and replace the specific line of code within the ‘single.php’ file in the Child Theme. This adjustment is expected to rectify the issue you are experiencing.

    Should you require any further assistance, please do not hesitate to contact us.

    Best Regards,
    The 8Theme Team

  • Viewing 4 results - 1 through 4 (of 4 total)

The issue related to '‘how do I make the header as h1 for an article?’' has been successfully resolved, and the topic is now closed for further responses

8theme customization service
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.