How to change and transform Page title H3 to H1 in case of Category and Tag pages?

First of all Congratulation. Your topics are really useful I solved a lots of thing with your earlier answers :slight_smile: But now I would like to ask your help too: there are the pages of categories and tags where you find above the page the title in H3.

Example:
https://demo.athemes.com/sydney/category/technology/
Here you find above the “page title” (as: archive-title) Category: Technology (H3) and below the posts where the post titles are H2.

So how can I change this archive title H3 to page title H1?
<h3 class="archive-title">Category: Technology</h3>
to
<h1 class="page-title">Category: Technology</h1>

I want to do this in case of tags also…

(I checked your new free theme AIRI, where you solved this problem: https://demo.athemes.com/airi-agency/category/digital/
So I would like to solve this in case of Sydney too :slight_smile: )

Hello there,

Edit the archive.php file with a child theme. Replace this line:

the_archive_title( '<h3 class="archive-title">', '</h3>' );

to

the_archive_title( '<h1 class="page-title">', '</h1>' );

Regards,
Kharis

Excellent, it’s working THANK YOU :slight_smile:

You’re welcome!

Please let us know in a new topic if you have any further questions, or if we can provide you with any other assistance.

Regards,
Kharis