[Resolved] Issue with Page Hero visibility

Home Forums Support [Resolved] Issue with Page Hero visibility

Home Forums Support Issue with Page Hero visibility

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1064404
    Radek

    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

    #1064450
    David
    Staff
    Customer Support

    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.

    #1064460
    Radek

    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?

    #1064462
    David
    Staff
    Customer Support

    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 ).

    #1065062
    Radek

    All good now. Thank you for your help David.

    #1065141
    David
    Staff
    Customer Support

    You’re welcome

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.