Uneven grid layout on search-results page

Home Forums Gillion Theme Uneven grid layout on search-results page

Home Forums Gillion Theme Uneven grid layout on search-results page

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    RESOLVED Posts
  • Tré
    Participant

    I’m using the grid layout for my blog, which lines up each row of posts perfectly — even if the row above it has a post with a title long enough (like two rows of text instead of one) that it pushes its overall length to be a bit longer than the rest of the row. But, for posts on a search page, they’re arranged in a grid that gets more and more uneven when the post titles get long. With this row reset happening for one grid but not the other, it seems like a bug and not an intentional design choice. Is there a way to fix or work around this?

     

    Here’s an example on the Gillion demo site, where two of the posts on the left have long titles that knock the grid more and askew: https://gillion.shufflehound.com/page/2/?s=non

    Solution for this topic

    Hi @Tré,

     

    I hope you are well today and thank you for your question.

     

    This is happening because the search results page displays in masonry format.

     

    You can display it in grid format adding the following CSS code in the Custom CSS code option of your theme on the below path.

     

    Admin Area -> Appearance -> Theme Settings -> Custom Code -> CSS Code

     

    .search-results .blog-style-masonry article {
        position: static !important;
    }
    
    .search-results .blog-style-masonry article:nth-child(2n+1) {
        clear:both;
    }

     

    Best regards,
    Shufflehound team

    Tré
    Participant

    Awesome, thanks!

    You are most welcome here 🙂

Viewing 4 posts - 1 through 4 (of 4 total)

Popular choice

Professional Developers At Your Fingertips!

If you need services beyond standard support, we've got your back!

Services we offer:

Demo setup
Advanced customization
Layout adjustment
Graphic work / visualizations
Custom coding
Full WordPress development and design

Services

What we can offer

  • Demo setup +

    If you'd prefer not to handle the installation yourself or need help getting started, we'll set everything up for you.

  • Layout adjustment +

    We'll help you rearrange sections, adjust spacing, and modify the page structure to fit your needs.

  • Advanced customization +

    More complex styling changes, theme option modifications, and third-party integrations.

  • Custom coding +

    If you need something that's not included in the theme, we can code it for you.

  • Graphic work / visualizations +

    Web design services to create custom sections, pages, and blocks for your theme, plus graphics and visualizations.

  • Full WordPress development and design +

    Full website builds, custom theme development, or plugin creation from scratch.

  • About pricing +

    We'll provide a clear quote based on what you need. No hidden fees.

Professional Developers At Your Fingertips!

Custom Work Form