Dean
asked 4 years ago

Hi There dear DW people

Another questions about setting DW Trendy

In shop – again on your demo (and my site I am trying to create) when shop is seen on wide screen laptop, so theme is in full version (not mobile), there are only 3 products in the row, even that is clearly enough space for 4th product. This make unusual empty space right of the products, between products and side bar.

I looked a bit in CSS but could not be able to move that 4th product back in the same row. But for sure you can see that there is enough space. Still even reducing padding around products did not allow with products to show, so there is still awkward empty space.

Can you please help em show 4 products int he row?
Screenshot attached

![enter image description here](http://violanto.com/screen/trendy/4products.jpg "enter image title here")

1 Answers
DominicStaff
answered 4 years ago

Hi,
I have checked our demo and there are some bugs from previous version. We have fixed it and update the new version 1.1.7. Right now, you can download DW Trendy 1.1.7 package in your profile.
P/s: After updating, if you want to display 4 product per row, you can add the following code to the functions.php file:

add_filter('loop_shop_columns', 'loop_columns');
if (!function_exists('loop_columns')) {
    function loop_columns() {
        return 4; // 4 products per row
    }
}

Regards,

deanl
replied 4 years ago

Great Dominic, that worked. 4 in the row it is now. Thanks a lot.

Powered by DW Question & Answer Pro