Site logo

Archived topic

Issue with Page Hero visibility

5 replies · Started by Radek on November 15, 2019

Viewing posts 1–6 of 6

Hi,

I’m trying to display page hero on blog category pages but for some reason the system is failing to display the header. The element works on other pages.

The screenshot of setup https://imgur.com/a/66AdWnc

Hi there,

The Post Category location applies to the Single Posts within the chosen category.
For the Category pages you need to use the Post Archives locations ie Post Category Archive.

Thank you for advice David, it works now.

There is another issue I’m struggling to solve. I’d like to display elements in Post Category Archive in this order:
1. Main navigation menu
2. Page Hero image/element (is 3. now)
3. Secondary navigation menu (is 2. now)

I’ve setup the Element > Site Header > Navigation Location to Bellow Header but there is no change in the arrangement of the elements.

Do you have an idea about what could be the issue?

Hi there,

in Customizer > Layout > Secondary Navigation set the Location to No Navigation.
Then create a new Hook Element and add this to content:

<?php generate_secondary_navigation_position(); ?>

Select the after_header hook, check execute PHP, and set the priority to 15. Make sure to set your display rules for Entire Site ( or wherever you want it visible ).

All good now. Thank you for your help David.

You're welcome

This archived topic is closed to new replies.