This topic has 13 replies, 5 voices, and was last updated 9 years ago ago by Eva Kemp
hello
like on your simple (https://www.8theme.com/demo/legenda/home-page-3/) I would like to show my product categroies.
How can I show 4 or 5 categories per row?
thank you and best regards
Fabienne
Hello,
You need use “Product Categories” element in Visual Composer editor.
Please try it.
Regards,
Eva Kemp.
hello
I did use this but I cannot change the number of categories per line.
how can I change this?
thank you
regards
Fabienne
Hello,
Please provide us with wp-admin panel credentials in Private Content.
Regards,
Eva Kemp.
hello
attached you find the infos.
regards
Fabienne
hi… i already add slide in my homepage. but above the slide it appear line.. how can i delete it? and how can i make text like the sample theme above the top menu?
thx
Hello @fabienne,
To use 4 product category in a row try use this code in custom.css.
.product-category:nth-child(3n+1){
clear:none;
}
.product-category:nth-child(4n+1){
clear:both;
}
.product-category {
width:23% !important;
margin: 4px !important;
}
.product-category.last {
margin-left:5px !important;
}
.product-category.first {
margin-left:5px !important;
}
Here is a video tutorial how to create custom.css: https://www.youtube.com/watch?v=Qok2zRedRMY&feature=youtu.be.
Regards,
Robert Hall.
Hello @jamaliah,
Please provide us with wp-admin access in Private Content.
Regards,
Robert Hall.
hello Robert
GREAT! thank you so much. it looks much better as before.
do you also know how to remove the count behind the cetegory titels.
I tried:
.product-category.count {
display: none !important;
}
but does not work.
Thank you
and bet regards
Fabienne
hi, please answer this
Hello @fabienne and @jamaliah,
To disable count in category you need to comment the code in the wp-content/themes/legenda/woocommerce/content-product_cat.php file in lines 64, 65:
if ( $category->count > 0 )
echo apply_filters( 'woocommerce_subcategory_count_html', ' (' . $category->count . ')', $category );
Best regards,
Jack Richardson.
hello
the categories are perfectly shown on my homepage on the pc but now they are not nicely shown on the mobile view.
on the mobile view there is only shown one category per line but there would be space for four per line.
How can I change the mobile view?
thank you and best regards
Fabienne
Hello @fabienne,
Please use this css code:
@media (max-width: 480px) {.product-category {
width: 19% !important;
display: inline-block !important;
}}
Regards,
Eva Kemp.
You must be logged in to reply to this topic.Log in/Sign up