Archived topic
why an attribute doesn't shown in sidebar
6 replies · Started by roadlink on September 30, 2020
Hi,
I have 2 questions;
#1 I have added an attribute which is brand. Then added this attribute to 2 products.
Also added filter by attribute widget in the sidebar. But it doesn't show.
Price filter is there but nıt attribute filter.
#2 I tried to change price color and size with below code. But it is affecting even cart items.
I want to change only category /archive prices and single product prices. Any suggestion?
/* Price Color change */
.woocommerce-Price-amount.amount {
color: #f4a51c;
font-size: 22px;
}
Hi there,
1. I'm actually only seeing 2 sidebar widgets added:
https://www.screencast.com/t/ZNWqOcbWH
Can you confirm the widget is actually added?
2. Have you tried this option in the customizer?
https://www.screencast.com/t/Mwdmq0Lp
Hi Leo,
Thank you for reply.
Actually I have added 3 widgets. https://prnt.sc/ur6zc5
Weirdly today i can see that.
Forget to mention about second question :(
#2 I tried to change price color and size with below code. But it is affecting even cart widget items.
I want to change only category / archive prices and single product prices. Any suggestion?
Weirdly today i can see that.
Probably a caching issue.
#2 I tried to change price color and size with below code. But it is affecting even cart widget items.
I want to change only category / archive prices and single product prices. Any suggestion?
Did the customizer solution here not work for you?
https://generatepress.com/forums/topic/why-an-attribute-doesnt-shown-in-sidebar/#post-1466314
Color part definitely yes, it worked. Sorry i just didn't see it.
Size part solved with this code. https://generatepress.com/forums/topic/woocommerce-price-typography-size/#post-326055
Thank you for your time.
No problem :)