Guest User

Untitled

a guest
Dec 9th, 2024
38
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. function custom_admin_css() {
  2. echo '<style type="text/css">
  3. /* Main column width */
  4. .wp-block {
  5. max-width: 720px;
  6. }
  7.  
  8. /* Width of "wide" blocks */
  9. .wp-block[data-align="wide"] {
  10. max-width: 1080px;
  11. }
  12.  
  13. /* Width of "full-wide" blocks */
  14. .wp-block[data-align="full"] {
  15. max-width: none;
  16. }
  17. </style>';
  18. }
  19. add_action('admin_head', 'custom_admin_css');
  20.  
Advertisement
Add Comment
Please, Sign In to add comment