[wp-trac] [WordPress Trac] #31195: Add a user-friendly way to preview site responsiveness in the Customizer
WordPress Trac
noreply at wordpress.org
Thu Sep 24 18:44:09 UTC 2015
#31195: Add a user-friendly way to preview site responsiveness in the Customizer
--------------------------+------------------------------------------------
Reporter: | Owner:
celloexpressions | Status: new
Type: feature | Milestone: Future Release
request | Version:
Priority: normal | Resolution:
Component: Customize | Focuses: ui, accessibility, administration
Severity: normal |
Keywords: has-patch |
--------------------------+------------------------------------------------
Comment (by Fab1en):
Thanks @westonruter for your answer. Your solution would make it possible
to add different parameters for portrait / landscase view without the
`orientation` parameter :
{{{
array(
array(
'id' => 'mobile-portrait',
'label' => __( 'Mobile - portrait' ),
'width' => 360,
'height' => 600,
),
array(
'id' => 'mobile-landscape',
'label' => __( 'Mobile - landscape' ),
'width' => 600,
'height' => 360,
)
)
}}}
And what is your opinion about having customizer controls that hide or
show depending of the preview size (see my first point above) ?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/31195#comment:22>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list