[Support request] Hide Footer Copyright without Hiding Footer Bar

Home Forums Support Hide Footer Copyright without Hiding Footer Bar

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1518508
    Aaron

    Hi,

    We’ve got some widgets in the footer bar which we want to continue to display however we want to hide the whole footer copyright section.

    There isn’t an option in GeneratePress for doing this, same for Navigation.

    If you look at the link in the private information you can see the copyright is still there, also there is a big grey section… I can’t get rid of either of them.

    #1518528
    Elvin
    Staff
    Customer Support

    Hi,

    Any reason why you must add the floating link inside the site-info?

    Consider placing it somewhere else so we could completely remove the .site-info section. 🙂

    A wise man once said:
    "Have you cleared your cache?"

    #1518926
    Aaron

    Hi Elvin,

    For ease of use. We usually have 2-4 widgets in the footer bar.

    As for removing (display: none;) the .site-info section that doesn’t fix the grey area at the bottom of the page which we can’t figure out why it’s happening.

    #1518958
    David
    Staff
    Customer Support

    Hi there,

    to remove just the copyright you can use this PHP Snippet:

    add_action( 'after_setup_theme','db_remove_credits' );
    function db_remove_credits() {
        remove_action( 'generate_credits', 'generate_add_footer_info' );
    }

    Although Elvins recommendation to completely remove the footer bar and you can use a Hook or another widget to add your floating link would make more sense. This article explains how to remove the footer bar:

    https://docs.generatepress.com/article/changing-the-copyright-message/#removing-the-entire-footer-bar

    The space below the footer bar is the body background as the page is not long enough to fill the height of the screen. I provide some CSS to force the footer to the bottom of the page:

    https://generatepress.com/forums/topic/cant-get-menu-nav-or-footer-to-be-sticky/#post-1232453

    But this will just move the empty space above your footer widgets.

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