-
-
Save Bicarbona/900e5bd9393ef5173fa69d36dfe98f06 to your computer and use it in GitHub Desktop.
Adds .row-closed to PageLines DMS Canvas Area section so columns within don't have spacing between columns. CHANGE your jQuery selector. Could choose to add .row-squared instead.
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
<script> | |
jQuery(document).ready(function() { | |
//from http://www.pagelinestheme.com/adding-jquery-code-dms-editor/ | |
//CHANGE the jQuery selectors using your Canvas Area's Section ID | |
jQuery('#pl_areaukh0pxs .pl-area-wrap .editor-row').addClass('row-closed'); //for when using DMS Editor non-preview mode | |
jQuery('#pl_areaukh0pxs .pl-area-wrap .row.grid-row').addClass('row-closed'); //for when not | |
}) | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment