• I’m using Storefront + Elementor.

    The search results is being displayed with one column, oversized images, and I can’t find any way to change this.

    I made a custom product archive page with elementor, and set it to display on search results. It still shows the same search results page.

    I made a standard archive page, set it to display on search results, and this does change the search results page, but the results show as if they were blog posts, not products.

    Even without elementor, the search result page doesn’t seem to fit the theme and isn’t functional, so I need to figure out a way to edit it.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Hello @kerosity,

    For general searches, Storefront uses the same template as the blog archive (index.php) to display results. It’s not a separate file so the results should look something like this:

    standard search results

    WooCommerce does have support for searching for products separately. It picks that up when the post_type filter is added to the search like this:

    
    /?s=hoodie&post_type=product
    

    product search

    When that happens it runs the results through the product archive layout instead.

    If you’re wanting search results just for products, try setting up your search form so it uses the post_type=product filter.

    If you only want to customize the main search results, you could create a child theme and add a search.php file there. That way you could customize the search results to be exactly as you’d like them to be.

    Let me know if you have any questions.

Viewing 1 replies (of 1 total)
  • The topic ‘Search result page isn’t dispaying properly’ is closed to new replies.