Skip to content

Instantly share code, notes, and snippets.

@cliffordp
Created April 24, 2014 18:43
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cliffordp/11265044 to your computer and use it in GitHub Desktop.
Save cliffordp/11265044 to your computer and use it in GitHub Desktop.
Change content-width sections inside a DMS Canvas Area to full-width -- http://www.pagelinestheme.com/make-content-width-section-full-width/
// from http://www.pagelinestheme.com/make-content-width-section-full-width/
// overriding dms/dms/less/pl-structure.less
body.display-boxed #site .boxed-wrap .pl-area.makestuffinsidefullwidth .pl-area-wrap > .pl-content {
padding-left: 0px;
padding-right: 0px;
}
body.display-full #site .pl-area.makestuffinsidefullwidth .pl-content {
max-width: none;
}
// optional to remove section padding from the sections you put inside
body #site .pl-area.makestuffinsidefullwidth .pl-section .pl-section > .pl-section-pad {
padding: 0px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment