Posts Tagged ‘Widget’
WordPress 2.5.x: Widget size problem and its solution
Problem
When I try to customize it, widget size become big and all its useful buttons like remove and modify hide inside another layer. Please see the picture below. This is picture of widget when collapse(text widget)
This is same widget when it is expanded for editing. Most of its part is hidden behind main page layer (Like remove and modify buttons), which makes it difficult to edit as shown in figure below.
Solution
Find: wp-admin/js/widjets.js
Find line 20 which looks like this: li.css( 'marginLeft', ( width - 250 ) * -1 );
Change the figure 1 on the end to a 0 so the line now looks like this; li.css( 'marginLeft', ( width - 250 ) * -0 );
I notice also in the file there is a comment which says “// it seems IE chokes on these animations because of the positioning/floating”
