Site logo

[Resolved] Changing “Columns” layout on Search Results Page Only

Home Forums Support [Resolved] Changing “Columns” layout on Search Results Page Only

Home Forums Support Changing “Columns” layout on Search Results Page Only

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1880417
    Kyle Van Deusen

    I’m using both GeneratePress Pro and GenerateBlocks Pro.

    I’ve gone into the Customizer (Layout > Blog) and changed the settings for “Columns” to “Display posts in columns” and set my columns to 2. This is exactly the look I want for both my blog page, as well as my category and tag archive pages.

    That’s working like a charm!

    However, I’m working on a “search results” page layout and it is inheriting that same 2-column layout.

    What I’d prefer on the search results page is a single column layout (think more like the Google search results we’re used to).

    I imagine this will take a line of code somehwere, but I don’t have the foggiest idea of where to start.

    Any help would be greatly apprecaited!

    #1880444
    David
    Staff
    Customer Support

    Hi Kyle,

    this article provides the snippet you’re looking for:

    https://docs.generatepress.com/article/using-columns-in-the-blog/#changing-the-number-of-columns

    #1880460
    Kyle Van Deusen

    Wow, David — I totally missed that! Thank you — you guys have thought of everything 🙂

    #1880539
    Kyle Van Deusen

    Working perfectly now! https://ogalweb.com/?s=website+design

    #1881317
    David
    Staff
    Customer Support

    Awesome – looks great!

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