This topic has 4 replies, 2 voices, and was last updated 11 months, 1 weeks ago ago by Tony Rodriguez
how do I make the header as h1 for an article?
more info https://imgur.com/a/xNdBxSi
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
where can I find that? In css?
I have changed
<h2><?php the_title(); ?></h2>
to
<h1><?php the_title(); ?></h1>
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
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