This topic has 8 replies, 2 voices, and was last updated 6 years, 8 months ago ago by Rose Tyler
How to make accordion category product cat page like accordion category style in home and sho page.
—————————————————————————————–
I attach an existing global css below
.products-grid .product {
width: 33.33% !important;
}
.row-count-3 .product:nth-child(2n+1), .home .row-count-4 .product:nth-child(2n+1){
clear: none !important;
}
.products-loop.products-grid {
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-flex-wrap: wrap;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
float:left;
}
.products-loop.products-grid .product {
position: relative;
padding-bottom: 35px;
}
.products-loop.products-grid .add_to_cart_button {
position: absolute;
left: 3px;
bottom: 0;
}
.products-loop.products-grid .product .price,
.products-loop.products-grid .product del {
font-size: 14px !important;
}
.products-loop.products-grid .product .add_to_cart_button {
padding: 5px;
}
.pagination-cubic li span.page-numbers.current,
.woocommerce-message .button, .cart-collaterals .checkout-button {
color: #fff !important;
}
.single-product .product-information .cart button[type=”submit”], .footer-product a, .footer-product .show-quickly,
.quick-view-popup .product-information .cart button[type=”submit”] {
color: white!important;
}
.home .categories-menu-element.product-categories.with-accordion {
border: 2px solid #f3b714;
margin-right: 0px;
margin-bottom: 20px;
margin-left: 0px;
}
.home .categories-menu-element.product-categories > li > a {
padding-left: 20px !important;
}
.home .categories-menu-element.product-categories.with-accordion h2 {
text-align: center;
border: 2px solid #f3b714;
background-color: #f3b714;
color: white;
font-size: 20px;
padding: 10px;
}
.post-type-archive-product #woocommerce_product_categories-2 .widget-title:before,
.post-type-archive-product #woocommerce_product_categories-2 .widget-title:before {
display: none;
}
.post-type-archive-product #woocommerce_product_categories-2 .widget-title {
text-align: center;
border: 2px solid #f3b714;
background-color: #f3b714;
color: white;
font-size: 20px;
padding: 10px;
}
.post-type-archive-product #woocommerce_product_categories-2 .widget-title span {
background: #f3b714;
}
.post-type-archive-product #woocommerce_product_categories-2 {
border: 2px solid #f3b714;
margin-right: 0px;
margin-bottom: 20px;
margin-left: 0px;
}
.post-type-archive-product #woocommerce_product_categories-2 li > a {
padding-left: 20px !important;
}
.post-type-archive-product #woocommerce_product_categories-2 .product-categories {
margin-bottom: 0px;
}
Hello,
Please change this code http://prntscr.com/imz2xb to:
.archive.woocommerce-page #woocommerce_product_categories-2 .widget-title:before,
.archive.woocommerce-page #woocommerce_product_categories-2 .widget-title:before {
display: none;
}
.archive.woocommerce-page #woocommerce_product_categories-2 .widget-title {
text-align: center;
border: 2px solid #f3b714;
background-color: #f3b714;
color: white;
font-size: 20px;
padding: 10px;
}
.archive.woocommerce-page #woocommerce_product_categories-2 .widget-title span {
background: #f3b714;
}
.archive.woocommerce-page #woocommerce_product_categories-2 {
border: 2px solid #f3b714;
margin-right: 10px;
margin-bottom: 20px;
margin-left: 0px;
}
.archive.woocommerce-page #woocommerce_product_categories-2 li > a {
padding-left: 20px !important;
}
.archive.woocommerce-page #woocommerce_product_categories-2 .product-categories {
margin-bottom: 0px;
}
Regards
okay FIx. and
arrow right and left navigation black, how to turn it white
http://prntscr.com/in01qn
footer .owl-nav .owl-next:before, footer .owl-nav .owl-prev:before {
color: white;
}
Regards
okay fix, and
how to shrink font size breadcrumps
http://prntscr.com/in1f3b
Theme Options > Typography > Breadcrumbs > Page heading title.
Regards
okay, fix. thank you for Great Support
You’re welcome!
Regards
The issue related to '‘Accordion Category Style’' has been successfully resolved, and the topic is now closed for further responses