Site logo

[Support request] How do I get rid of these elements?

Home Forums Support [Support request] How do I get rid of these elements?

Home Forums Support How do I get rid of these elements?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #473747
    Brent Wilson

    I am using some Elementor shortcodes in the GP hooks for a header and a footer. But on the blog page (http://www.brentawilson.com/blog/) how do I get rid of the white just below the header and the black bar with the copyright stuff in it that is just above the footer?

    #473773
    Leo
    Staff
    Customer Support

    Hi there,

    You can remove the header with this snippet:
    https://docs.generatepress.com/article/generate_header/

    and the footer with this snippet:

    add_action( 'after_setup_theme','lh_remove_footer' );
    function lh_remove_footer() {
        remove_action( 'generate_footer','generate_construct_footer' );
    }

    Adding PHP: https://docs.generatepress.com/article/adding-php/

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