[wp-trac] [WordPress Trac] #39362: Checkbox control for 'Automatically add new top-level pages to this menu' not wrapped in checkbox customize control
WordPress Trac
noreply at wordpress.org
Wed Dec 21 11:48:36 UTC 2016
#39362: Checkbox control for 'Automatically add new top-level pages to this menu'
not wrapped in checkbox customize control
---------------------------+-----------------------------
Reporter: dingo_bastard | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Customize | Version: 4.7
Severity: normal | Keywords:
Focuses: |
---------------------------+-----------------------------
When you go to set the menu in the customizer you have the option to check
the Menu Options for Adding the top-level pages automatically to the
current menu. This option isn't wrapped in the
{{{
<li class="customize-control customize-control-checkbox"></li>
}}}
This isn't a bug, but a hindrance if you want to customize the look of the
customizer and would like to have all the checkboxes look the same.
One could say that all one needs to add is the style for
{{{
.input[type="checkbox"]
}}}
but this is not true if you have a custom control that has a checkbox
input, and you want to style it differently. In that case you'd need to
overwrite additionally. Plus the current style is styled via
{{{.customize-control-checkbox input[type="checkbox"]}}} as well as with
just {{{input[type="checkbox"]}}}.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39362>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list