diff --git a/index3.css b/index3.css index f61e5556..afc78d98 100644 --- a/index3.css +++ b/index3.css @@ -672,7 +672,7 @@ } .catalog-grid { - grid-template-columns: repeat(5, minmax(0, 1fr)); + grid-template-columns: repeat(4, minmax(0, 1fr)); } .catalog-card { diff --git a/wp-content/themes/twentytwentyfour/page-test1.php b/wp-content/themes/twentytwentyfour/page-test1.php index f07090bc..5d473251 100644 --- a/wp-content/themes/twentytwentyfour/page-test1.php +++ b/wp-content/themes/twentytwentyfour/page-test1.php @@ -19,9 +19,9 @@ function twentytwentyfour_test1_catalog_markup() { $products = wc_get_products( array( 'status' => 'publish', - 'limit' => 3, - 'order' => 'ASC', - 'orderby'=> 'date', + 'limit' => 4, + 'order' => 'DESC', + 'orderby' => 'popularity', ) );