Opened 7 years ago
Closed 7 years ago
#42744 closed defect (bug) (wontfix)
Need to Modify Radio & Checkbox Label Class
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 4.9 |
Component: | Customize | Keywords: | reporter-feedback |
Focuses: | Cc: |
Description
Radio and Checkbox label are shifted left,unable to click.Required to add margin-left: 24px; in .customize-control-checkbox label and .customize-control-radio label class in customize-control.css.
Attachments (2)
Change History (8)
#2
in reply to:
↑ 1
;
follow-up:
↓ 3
@
7 years ago
Replying to westonruter:
@santai89 please add a screenshot. Are these inputs in core or part of a theme/plugin? If so, which one?
Hi westonruter,
Inputs are developed by theme(http://wp.nootheme.com/?theme=jobmonster) through extending WP_Customize_Control class. In the previous version of wordpress .customize-control-checkbox label and .customize-control-radio label was the css style margin-left: 24px;.Current version it was removed.But in .customize-control-radio input and .customize-control-checkbox input have the style margin-left: -24px; line no 999 in customize-controls.css.So its make problem for this current version of wordpress.I have attach two screenshot of different version.
#3
in reply to:
↑ 2
@
7 years ago
- Keywords has-patch added
Replying to santai89:
Replying to westonruter:
@santai89 please add a screenshot. Are these inputs in core or part of a theme/plugin? If so, which one?
@westonruter,
Inputs are developed by theme(http://wp.nootheme.com/?theme=jobmonster) through extending WP_Customize_Control class. In the previous version of wordpress .customize-control-checkbox label and .customize-control-radio label was the css style margin-left: 24px;.Current version it was removed.But in .customize-control-radio input and .customize-control-checkbox input have the style margin-left: -24px; line no 999 in customize-controls.css.So its make problem for this current version of wordpress.I have attach two screenshot of different version.
#4
follow-up:
↓ 5
@
7 years ago
- Keywords has-patch removed
@santai89 please also share the code that is responsible for extending the control.
The structure of radio/checkboxes was updated to make the label
a sibling of the checkbox instead of the radio/checkbox's parent element. See r41740 for #33085. There is now a .customize-inside-control-row
element that wraps each label and radio/checkbox. If you add the same to your subclass, you'll get the proper styles.
#5
in reply to:
↑ 4
@
7 years ago
Replying to westonruter:
@santai89 please also share the code that is responsible for extending the control.
The structure of radio/checkboxes was updated to make the
label
a sibling of the checkbox instead of the radio/checkbox's parent element. See r41740 for #33085. There is now a.customize-inside-control-row
element that wraps each label and radio/checkbox. If you add the same to your subclass, you'll get the proper styles.
@westonruter
I am go through with your solution and found that it was theme issue.They can not compatible it with latest version of wordpress. I will contact with them for these issue they have.By the way thanks for your suggestion/reply.
@santai89 please add a screenshot. Are these inputs in core or part of a theme/plugin? If so, which one?