Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Change Layout of tick box to button style › Reply To: Change Layout of tick box to button style
March 2, 2021 at 11:24 am
#31887
Keymaster
I’m afraid you can’t do that via custom CSS. The label and the checkbox are within different parent nodes, and there is no way to target parent nodes via CSS. The only way to do that is using javascript code. Using probably a click event handler on the labels to check the checkbox statuses and adding classes is the easiest way to go.