Skip to content

Instantly share code, notes, and snippets.

@Artisan-Asad
Created November 22, 2018 11:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Artisan-Asad/121e3dc19f0b383925550083da463c66 to your computer and use it in GitHub Desktop.
Save Artisan-Asad/121e3dc19f0b383925550083da463c66 to your computer and use it in GitHub Desktop.
Divi full width pages with no sidebar
/*** Take out the divider line between content and sidebar ***/
#main-content .container:before {
background: none;
}
/*** Expand the content area to fullwidth ***/
@media (min-width: 981px){
#left-area {
width: 100% !important;
max-width: 800px;
padding: 23px 0px 0px !important;
float: none !important;
margin: 0 auto;
}
#left-area .et_post_meta_wrapper img {
width: 100% !important;
}
}
#sidebar {
display: none;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment