• Resolved Barry Brunning

    (@datastream)


    We want a very simple backend for some users. In consequence, for them, we have removed the admin bar from the backend using code by User Role Editor PRO. However, this results in mis-positioning of the Wicked Folders Pane.

    The #wpcontent is moved up as intended when the admin bar is not displayed. But, the #wicked-object-folder-pane is still in the same position and obscuring the “Screen Options” button and partly the heading “Products”. How might one make the #wicked-object-folder-pane move up? I tried CSS of #wicked-object-folder-pane {padding-top: 0px !important;} but that was not effective.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author wickedplugins

    (@wickedplugins)

    Hi Barry (@datastream),

    You should be able to fix that by using the <a href="https://developer.www.ads-software.com/reference/hooks/admin_body_class/" rel="noopener" target="_blank">admin_body_class</a> filter and removing the “admin-bar” class from the body tag.

    Let me know if you still have trouble.

    Thread Starter Barry Brunning

    (@datastream)

    Hi Wicked,

    Tried to use your suggestion but without success, perhaps due to my lack of understanding.

    However, in case it might assist someone else, I have now achieved my objective by adding:

    body.admin-bar .woocommerce-layout__header, body.admin-bar .wicked-content{
    	top: 0px !important;
    }

    to function fix_adminbar_padding() in the User Role Editor code mentioned in my question.

    Thank you anyway.

    Regards,

    Barry Brunning

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Folder Pane Position’ is closed to new replies.