I wanted to change checkbox color in multiple catalog 'once' on a portal view. Client script needed
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2022 08:47 AM
I wanted to change checkbox background color when it is checked in multiple catalog but want to change it 'once' on a portal view.
Client script needed which is used once to change the color of all catalog item checkbox color once.
Thank you.
Kind Regards

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2022 11:27 AM - edited 12-06-2022 11:28 AM
Hi askari,
not sure what you want to achieve here. Do I understand well that if you are on portal if you check the box it changes background color? If you want to do it for all catalog items, you can edit the SC Catalog Item widget instance and add there CSS, for example to change it to red:
.type-boolean label input[type="checkbox"]:checked ~ span:before {
background: #f00;
}
it looks like this