13.05.2023, 19:58
Hi.
I want to set a filter for one specific layout with the ID 1. I did'nt manage to do this in CSS, but I did manage to set every backgroud to my filter with this
and but this on every widget that I dont want this filter to follow
But I have to this on every widget and it gets a little anoying
How can I put this filter on only Layout ID 1?
I want to set a filter for one specific layout with the ID 1. I did'nt manage to do this in CSS, but I did manage to set every backgroud to my filter with this
Code:
/* Set style on every element*/
[style*="background-image"] {
filter: grayscale(80%) brightness(50%) !important;
}
and but this on every widget that I dont want this filter to follow
Code:
/* reset style for widget with data-widget-id="35" */
#widget-35 {
filter: none !important;
But I have to this on every widget and it gets a little anoying
How can I put this filter on only Layout ID 1?