SHARE
TWEET

Untitled

a guest Mar 26th, 2019 71 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // *******************************
  2. // Make Gutenberg Sidebar Wider / Fluid
  3. // -------------------------------
  4. function wider_gutenberg_settings_sidebar() { ?>
  5.     <style>
  6.         @media (min-width: 1080px) {
  7.             #wpwrap .edit-post-layout.is-sidebar-opened .components-notice-list {
  8.                 right: 26vw !important;
  9.             }
  10.             #wpwrap .edit-post-layout.is-sidebar-opened .edit-post-plugin-sidebar__sidebar-layout,
  11.             #wpwrap .edit-post-layout.is-sidebar-opened .edit-post-sidebar {
  12.                 width: 26vw !important;
  13.             }
  14.             #wpwrap .edit-post-layout.is-sidebar-opened .edit-post-layout__content {
  15.                 margin-right: 26vw !important;
  16.             }
  17.         }
  18.     </style>
  19. <?php
  20. }
  21. add_action('admin_head','wider_gutenberg_settings_sidebar');
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top