Shop Categories

X

Reply To: Disable header on archive pages

Home Forums Agama Pro Disable header on archive pages Reply To: Disable header on archive pages

#26297
Zex
Moderator

Hello, Anja!

1. You can only remove the header. So if you want to do that, insert the following code into Customizing->General->Additional CSS:

.archive #masthead {
    display: none!important;  
}

There is a plugin called “Archive Control” by which you can edit some parts on archive pages.
Here you can find a good guide on how to use it:
https://www.abrightclearweb.com/how-to-add-custom-content-to-wordpress-category-archives/

Also, the Elementor Page builder PRO version has the ability to create the Archive templates:
https://docs.elementor.com/article/464-archive-posts-widge
Dynamic Series #02: Archives Template in Elementor PRO
How to Design the Archive Template in WordPress

2. Insert the following code into Customizing->General->Additional CSS:

.wp-custom-header img{
height: 300px!important; /*set your height*/
width:100%;
object-fit:cover!important;
/*object-position: center bottom;*/
}

Uncomment the “object-position” value if you want to set the custom image position.

Regards

  • This reply was modified 4 years ago by Zex.