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

WordPress Trac noreply at wordpress.org
Mon Dec 4 07:31:58 UTC 2017


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

Comment (by srikat):

 Hi,

 We can do this easily by loading the following CSS on the /wp-
 admin/widgets.php page:


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

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

 }
 }}}

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


More information about the wp-trac mailing list