Search Results Page - 3 Column Layout - Part 2

I’d like to create a 3 column search with Pro Header Search Module.

Please refer to my previous post here -> https://theme.co/apex/forum/t/search-results-page-3-column-layout/56995/8

I’ve done all the steps and this is what I get.- https://youtu.be/2ZwocoKNR0I

Hi @bjmiller,

Please also add this custom code under functions.php file locates in your child theme:

add_filter( 'post_class', 'x_product_class' );
function x_product_class( $classes ){
	if( get_post_type() == 'product' ){
		$classes[] = "hentry";
	}
	return $classes;
}

Hope that helps and thank you for understanding.

That’s awesome! I’ve seemed to lose the ability to do much styling. Is there any way to get it looking like the attached picture?

Hi @bjmiller,

Unfortunately, Wordpress search isn’t meant for products, it’s a general search feature that shouldn’t be designed for products. Still possible but with custom development, or please try this https://docs.woocommerce.com/document/woocommerce-product-search/

Thanks!

How can I make it three columns? It’s only showing in two.

Hi @bjmiller,

It’s showing up 3 columns right now:

Could you please send us with your sceenshot?

Thank you.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.