[Resolved] After site-footer Hook

Home Forums Support [Resolved] After site-footer Hook

Home Forums Support After site-footer Hook

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #486802
    Arthur

    I want to wrap everything from the <header> element to the .site-footer element in a div and then style that div accordingly. Possibly create a drop shadow for all the wrapped elements.

    I can add an opening div using the generate_before_header hook but I don’t see anything like a generate_after_footer hook. I can use wp_footer but that will wrap more elements than I want.

    Any ideas?

    #486847
    Leo
    Staff
    Customer Support

    Hi there,

    Is this what you are looking for? https://docs.generatepress.com/article/adding-a-container-wrapper/

    #488323
    Arthur

    That’s exactly what I’m looking for. I’ll have to test that out. I didn’t want to wrap all the other elements after the .site-footer section (like the Back to Top button and Slide-Out Navigation).

    Thanks

    #488517
    Leo
    Staff
    Customer Support

    No problem!

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