[wp-trac] [WordPress Trac] #30359: Widget Areas should stick to the browser viewport

WordPress Trac noreply at wordpress.org
Thu Jan 3 13:37:14 UTC 2019


#30359: Widget Areas should stick to the browser viewport
-------------------------------------+-------------------------------------
 Reporter:  dd32                     |       Owner:  ajensen
     Type:  enhancement              |      Status:  assigned
 Priority:  normal                   |   Milestone:  Future Release
Component:  Widgets                  |     Version:  4.0
 Severity:  normal                   |  Resolution:
 Keywords:  good-first-bug has-      |     Focuses:  ui, javascript,
  patch                              |  administration
-------------------------------------+-------------------------------------

Comment (by cleancoded):

 Hi,

 The below styling in wp-admin/widgets.php should work to make sticky area.

 {{{
 <style>

 @media only screen and (min-width: 481px) {

         .widget-liquid-right {
                  position: sticky;
                  top: 45px;
         }

 }

 </style>
 }}}



 Have a look on below screenshot to view output for me.

 [[Image(widgets.png)]]

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/30359#comment:18>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list