Thank you for your feedback. I didn't notice that the URLs are different.
Check this screenshot hidden link you will see the different areas of the pages and their "origin".
You can remove the breadcrumbs with a custom code as described here hidden link
For the title and the description, I found a documentation article from Astra theme, but nothing about the archive pages. Check it here hidden link
As a workaround I hid all of them with the following CSS code:
.term-description, .page-title, .woocommerce-breadcrumb {
display: none;
}
I also disabled the custom code from functions.php by commenting on the add_action line.
Then, I thought about a solution that does not include any custom coding. It consists of customizing the view editor section, by adding adding the header on it, check this screenshot hidden link
<div class="my-archive-header" style="width:100%;">
<h1>[wpv-taxonomy-archive info="name"]</h1>
<p>[wpv-taxonomy-description]</p>
<style>
.my-archive-header {
background-image: url([wpv-taxonomy-field name='wpcf-category-background-image']);
}
</style>
</div>
And I used a custom CSS code, that can also go into the above code. This CSS code try to give a minimum and maximum width for the header:
.my-archive-header {
width: 100%;
min-height: 400px;
max-height: 700px;
background-size: cover;
background-position: center center;
margin-bottom: 20px;
}
This solution will need to be adapted for the shop page because all of the used shortcodes will not return a value:
[wpv-taxonomy-archive info="name"]</h1>
[wpv-taxonomy-description]</p>
[wpv-taxonomy-field name='wpcf-category-background-image']
Read more about these shortcodes here https://toolset.com/documentation/programmer-reference/views/views-shortcodes/
For the shop page, you can wrap all of them inside a conditional tag, and if they are empty, you can use a default value:
- "Shop" when [wpv-taxonomy-archive info="name"] is empty.
- "A description for the shop" when [wpv-taxonomy-description] is empty.
- "A default background image" when [wpv-taxonomy-field name='wpcf-category-background-image'] is empty.
I hope this helps. Let me know your feedback.