Div tag has no ID, unable to apply custom CSS

I have a form with a checkbox, see the image below. I’d like the checkbox to be right aligned on the page. I’ve tried added “justify-content: end;” CSS to the “fieldset id=field_4_27” element and also the “div id=input_4_27” element, but neither of those will right align the checkbox. The only element that the justify-content CSS will work on is the highlighted div that has no ID value. I can’t apply my custom CSS to the ginput_container or ginput_container_checkbox classes without affecting all the other checkboxes on the form. Is this a bug or is there another way I can access this specific div element?

You can combine selectors to target that specific element, e.g. #field_4_27 .ginput_container_checkbox {

Thank you. that worked.

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.