Front Page 2 section of Outfitter Pro's homepage shows featured products in a masonry grid layout out of the box.
This tutorial provides the steps to disable the masonry and display the products in a normal/traditional layout i.e., in 2 rows of 4 columns each.
Step 1
In front-page.php change
// Defines the front-page styles and scripts.
function outfitter_enqueue_front_script_styles() {
wp_enqueue_style( 'outfitter-front-styles', get_stylesheet_directory_uri() . '/style-front.css' );
wp_enqueue_script( 'jquery-masonry', array( 'jquery' ), '1.0.0', true );
wp_enqueue_script( 'outfitter-masonry-args', get_stylesheet_directory_uri() . '/js/masonry-args.js', array( 'jquery-masonry', 'jquery' ), '1.0.0', true );
}
to
To view the full content, please sign up for the membership.
Already a member? Log in below or here.