Back to contents

How to set the header conditions in JetThemeCore

Find out how to set the condition for the header to apply it for the different parts of the site: the entire site, Singular page or the Archive one to meet your requirements.

When you’re using a default header, it is rare to get a choice to use several header templates, and even rarely you can set a different header for a specific page. Learn about the way to create a custom header from this tutorial.

However, with JetThemeCore you can create as many header templates as you want, and then use the template conditions to define on which pages you wish to display each of the headers.

Header template conditions

Step 1 — To start setting the proper conditions for the header, you should go to Crocoblock > My library, find your Header and click Edit with Elementor.

Header template in Crocoblock library

Step 2 — Then, click the Settings icon in the left bottom corner of the page and open the Conditions tab.

Here you can select 3 types of general conditions:

    • Entire Site – if you select this option, the header will be applied to each page of your site.
Conditions for the Header settings
    • Singular – this option gives you an opportunity to apply the header to particular posts or pages. You can set the header to specific categories, tags, custom post types, and custom pages.
Singular conditions in the Header settings
    • Archive – choose this option to apply header template to all of the archives, or only to the specific ones.
Archive conditions for the Header settings

Step 3 — Don’t forget to click the Update button to save the conditions.

Step 4 — Now you can proceed to front-end and view the results.

Also, in Crocoblock > My library, you’ll see the list of the header templates and check which of them are currently active.