[Support request] Content Scroll Up to Reveal Footer

Home Forums Support [Support request] Content Scroll Up to Reveal Footer

Home Forums Support Content Scroll Up to Reveal Footer

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #661771
    Justin

    Hi there, I was wondering if it is possible to achieve a similar footer reveal effect to this with only CSS:
    https://codepen.io/nickcil/pen/Eoqiv

    I saw the other help topic but I believe the OP didn’t mention how they eventually resolved it.

    Thanks!
    -Justin

    GeneratePress 2.1.4
    GP Premium 1.7.2
    #662059
    David
    Staff
    Customer Support

    Hi there,

    this CSS provides the basic requirements:

    @media (max-width: 1024px) {
        .site-footer {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            z-index: -1;
        }
    
        #page {
            margin-bottom: 250px; /* adjust to the height of the footer */
        }
    }

    The media query limits it to desktop.

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