[Resolved] Container box on author pages

Home Forums Support [Resolved] Container box on author pages

Home Forums Support Container box on author pages

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #814364
    Matthew

    Hey

    Having some real issues with this page, I have managed to get the white container to stay now for the content but for some reason there’s no padding at the bottom of the container any more and also it starts a little late at the top of the box as well.

    I think it’s ending up becoming more complex because I am pulling content from a few different places. I have had this issue on most pages but the fix I was provided previously didn’t seem to solve the issue on this page.

    Any help you could provide on this would be much appreciated!

    #814748
    Tom
    Lead Developer
    Lead Developer

    It looks like masonry is initiating on that page, likely because it’s the author archives (although it’s been edited).

    Try adding this function:

    add_filter( 'generate_blog_masonry', function( $masonry ) {
        if ( is_author() ) {
            return false;
        }
    
        return $masonry;
    } );
    #815731
    Matthew

    That is great thanks Tom! ๐Ÿ™‚

    #815775
    Tom
    Lead Developer
    Lead Developer

    You’re welcome ๐Ÿ™‚

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