This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Set filter to layout PC Visu
#1
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

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 Smile

How can I put this filter on only Layout ID 1?
Reply


Messages In This Thread
Set filter to layout PC Visu - by victor.back - 13.05.2023, 19:58
RE: Set filter to layout PC Visu - by admin - 15.05.2023, 06:03
RE: Set filter to layout PC Visu - by admin - 12.06.2023, 08:50
RE: Set filter to layout PC Visu - by admin - 12.06.2023, 09:28
RE: Set filter to layout PC Visu - by admin - 12.06.2023, 13:28

Forum Jump: