[Support request] Align Footer

Home Forums Support [Support request] Align Footer

Home Forums Support Align Footer

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #568665
    Davide

    Hi, guys!

    I created a website with a left sidebar main navigation. I’d like that the footer was centered with the content area and not with the full website container (left sidebar + content area).

    I’m fighting with the CSS without success. Any tricks?

    Thanks in advance!

    GP Premium 1.6.2
    #568910
    Leo
    Staff
    Customer Support

    Hi there,

    Can you link me to the site in question?

    You can edit the original topic and use the private URL field.

    Let me know ๐Ÿ™‚

    #568956
    Davide

    Edited ๐Ÿ™‚

    #569142
    Leo
    Staff
    Customer Support

    Try this snippet:

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

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

    Let me know.

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