[Resolved] Hook Postition

Home Forums Support [Resolved] Hook Postition

Home Forums Support Hook Postition

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1134769
    David

    Hello

    I’ve set up some ACF in a hook that needs to sit inside the header.

    I’ve then created a new hook with the hook position as header. All is working fine, until you resize to mobile, then the mobile header appears under the hook…

    http://185.20.51.60/~rapidpersonnelco/vacancies/

    How can I get the header position to move above? I’ve played around with priority but haven’t had much luck.

    Thanks
    Dave

    #1134944
    David
    Staff
    Customer Support

    Hi there,

    try the after_header hook instead of the header hook

    #1134948
    David

    The content then sits outside the red header…

    https://ibb.co/VBF4Kpp

    #1134970
    David
    Staff
    Customer Support

    Hmmm ok leave it in the header hook and try this CSS to reverse order on mobile:

    @media (max-width: 768px) {
        .header-wrap {
            display: flex;
            flex-direction: column-reverse;
        }
    }
    #1134984
    David

    Perfect – thanks David!

    #1135005
    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.