hungrycheetah
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] number of columns problemI found a solution. It’s all css (maybe it’s only for divi theme)
parent stylesheet
comment out this:
/* et_pb_shop_grid .woocommerce ul.products li.product, .woocommerce-page ul.products li.product { clear: none; }*/
child stylesheet:
and add this
.woocommerce ul.products li.product, .woocommerce-page ul.products li.product {
margin: 1% !important;
}@media only screen and (min-width: 980px){
.et_pb_column_4_4 .et_pb_grid_item:nth-child(4n+1), .et_pb_column_3_4 .et_pb_grid_item:nth-child(3n+1), .et_pb_column_2_3 .et_pb_grid_item:nth-child(2n+1), .et_pb_column_1_2 .et_pb_grid_item:nth-child(2n+1), .et_pb_column_4_4 .et_pb_shop_grid .woocommerce ul.products li.product:nth-child(4n+1), .et_pb_column_3_4 .et_pb_shop_grid .woocommerce ul.products li.product:nth-child(3n+1), .et_pb_column_2_3 .et_pb_shop_grid .woocommerce ul.products li.product:nth-child(2n+1), .et_pb_column_1_2 .et_pb_shop_grid .woocommerce ul.products li.product:nth-child(2n+1), .et_full_width_page.woocommerce-page ul.products li.product:nth-child(4n+1), .et_left_sidebar.woocommerce-page ul.products li.product:nth-child(3n+1), .et_right_sidebar.woocommerce-page ul.products li.product:nth-child(3n+1){
clear: none;
}
}Forum: Plugins
In reply to: [WooCommerce] number of columns problemHi, (hallo)
I have the same kind of problem.
Now I see it’s WooCommerce related or WP settings…
I first tought it was a problem with my theme.But you have a different one and you have a similar problem.
Hope to solve this quickForum: Plugins
In reply to: [Category Color] how can you use it with product categories (woocommerce) ?thanks for the quick reply…
At the moment I’m trying to put a div with an id around a menu.
And I want the id to be the product category.I’m trying to put this in the id” “
`<?php echo $product->get_categories(); ?>That way I can assign different css rules.
Do you know what my problem is or can you suggest a good resource ?