SHARE
TWEET

Divi Child Theme alignwide + alignfull support

a guest Dec 9th, 2018 94 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. .et_full_width_page .alignwide {
  2.   margin-left: -6%;
  3.   margin-right: -6%;
  4. }
  5. .et_full_width_page .alignfull {
  6.   margin-left: -12.5%;
  7.   margin-right: -12.5%;
  8. }
  9. @media (max-width: 980px) {
  10.   .et_left_sidebar .alignwide, .et_right_sidebar .alignwide {
  11.     margin-left: -6%;
  12.     margin-right: -6%;
  13.   }
  14.   .et_left_sidebar .alignfull, .et_right_sidebar .alignfull {
  15.     margin-left: -12.5%;
  16.     margin-right: -12.5%;
  17.   }
  18. }
  19. @media (min-width: 981px) {
  20.   .et_left_sidebar .alignwide {
  21.     margin-left: -4%;
  22.     margin-right: -6%;
  23.   }
  24.   .et_left_sidebar .alignfull {
  25.     margin-left: -4%;
  26.     margin-right: -16.8%;
  27.   }
  28.   .et_right_sidebar .alignwide {
  29.     margin-left: -6%;
  30.     margin-right: -4%;
  31.   }
  32.   .et_right_sidebar .alignfull {
  33.     margin-left: -16.8%;
  34.     margin-right: -4%;
  35.   }
  36. }
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
 
Top