Created
April 24, 2014 18:43
-
-
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/
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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