Home / Forums / WoodMart support forum / how to customize the WOODMART WooCommerce Layered Nav
Home › Forums › WoodMart support forum › how to customize the WOODMART WooCommerce Layered Nav
how to customize the WOODMART WooCommerce Layered Nav
- This topic has 6 replies, 2 voices, and was last updated 4 months, 3 weeks ago by
Aizaz Imtiaz Awan.
-
AuthorPosts
-
February 10, 2026 at 8:31 am #707915
springorchid2008ParticipantHi,
I am editting the product filter widget, need to customize the style of the product filter, I hope to add the background for each attribute filters , narrow the space between the attribute filters and enlarge the arrow on the right. couldl you let me know how to achieve it? Or I need to write the code for the changes?Best regards
CathyAttachments:
You must be logged in to view attached files.February 10, 2026 at 1:44 pm #707996Hello,
Please add this code to the Theme Settings > Custom CSS > Global. Change the code as per your requirements.
.wd-swatches-filter .wc-layered-nav-term { background: #f7f7f7; padding: 10px 12px; border-radius: 8px; } .wd-swatches-filter .wc-layered-nav-term:hover { background: #eac3c3; } .wd-widget-collapse .widget-title:after { font-size: 16px; width: 32px; height: 32px; top: calc(50% - 16px); }Best Regards,
February 11, 2026 at 7:43 am #708098
springorchid2008ParticipantDear Aizaz,
Really appreciated for your assistant. the filter looks much better. thanks a lot
if possible, could you help to add some CSS to achieve the filter style as attached, I need the space between each layered nav is much narrower, and with background as well ?
It would be very appreciated for your further help.
Best regards
CathyAttachments:
You must be logged in to view attached files.February 11, 2026 at 1:45 pm #708176Hello,
Please add this code to the Theme Settings > Custom CSS > Global.
/* Main widget container background and padding */ #woodmart-woocommerce-layered-nav-25 { background: #f7f7f7; /* Widget background */ padding: 15px; border-radius: 10px; border: 1px solid #ccc; } /* Each filter item */ #woodmart-woocommerce-layered-nav-25 .wc-layered-nav-term { background: #dccccc; /* Individual item background */ border: 1px solid #ddd; /* Item border */ border-radius: 8px; /* Rounded corners */ padding: 8px 12px; margin-bottom: 6px; /* Space between items */ }Replace
#woodmart-woocommerce-layered-nav-25with the actualwidget IDon your site if it’s different. You can find this in the developer tools.Best Regards,
February 12, 2026 at 9:25 am #708275
springorchid2008ParticipantHi, Dear Aizaz,
Thanks for your help, it works very well with the CSS, but only affected on one layered Nav. I tried to add other widget with same style, but really headache and failed to find the widget id. could you kindly give me some guide?
Best regards
Cathy.Attachments:
You must be logged in to view attached files.February 12, 2026 at 9:38 am #708278
springorchid2008ParticipantHi, Dear Aizaz,
I installed a plugin to show the widget id, they are from 7-16, none is 25, and when I replaced the widget id into the number, nothing changed, is there anything wrong with me?Best regards
CathyAttachments:
You must be logged in to view attached files.February 12, 2026 at 10:54 am #708293Hello,
Please see this screenshot how to get the correct ID:
https://postimg.cc/Rqqr4fX9Best Regards,
-
AuthorPosts
- You must be logged in to create new topics. Login / Register