{"id":89962,"date":"2021-10-14T10:00:51","date_gmt":"2021-10-14T14:00:51","guid":{"rendered":"https:\/\/optinmonster.com\/?post_type=optinmonster_docs&#038;p=89962"},"modified":"2025-08-14T10:26:45","modified_gmt":"2025-08-14T14:26:45","slug":"how-to-remove-the-padding-from-canvas-optins","status":"publish","type":"optinmonster_docs","link":"https:\/\/optinmonster.com\/docs\/how-to-remove-the-padding-from-canvas-optins\/","title":{"rendered":"How to Remove the Padding from Campaigns"},"content":{"rendered":"\n<p>OptinMonster makes it easy to remove or adjust the padding and margin when customizing the appearance of your campaign.<\/p>\n\n\n\n<p>In this article, you\u2019ll learn how to remove the padding or margins from any element in your campaign.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Before You Start<\/h2>\n\n\n\n<p>Here are some things to know before you begin:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Padding and margin can be adjusted or removed from any element, block, column, row, or campaign background. Each is edited in a similar way.<\/li>\n\n\n\n<li>Padding and margin are using to control the spacing around and within elements of the campaign.<br><img decoding=\"async\" width=\"800\" height=\"400\" class=\"alignnone size-full wp-image-150505\" src=\"https:\/\/optinmonster.com\/wp-content\/uploads\/2020\/09\/OM-Box-Model-Diagram.png\" alt=\"\" srcset=\"https:\/\/optinmonster.com\/wp-content\/uploads\/2020\/09\/OM-Box-Model-Diagram.png 800w, https:\/\/optinmonster.com\/wp-content\/uploads\/2020\/09\/OM-Box-Model-Diagram-300x150.png 300w, https:\/\/optinmonster.com\/wp-content\/uploads\/2020\/09\/OM-Box-Model-Diagram-768x384.png 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/li>\n\n\n\n<li><strong>Padding is inside of the border (or edge) of your element.<\/strong><br>If you increase the padding, it will &#8220;push&#8221; your content into the middle of your box, away from your borders. If you remove the padding, your content will take up the entire box.<br><img decoding=\"async\" width=\"800\" height=\"200\" class=\"alignnone size-full wp-image-150507\" src=\"https:\/\/optinmonster.com\/wp-content\/uploads\/2020\/09\/OM-padding-and-no-padding.png\" alt=\"\" srcset=\"https:\/\/optinmonster.com\/wp-content\/uploads\/2020\/09\/OM-padding-and-no-padding.png 800w, https:\/\/optinmonster.com\/wp-content\/uploads\/2020\/09\/OM-padding-and-no-padding-300x75.png 300w, https:\/\/optinmonster.com\/wp-content\/uploads\/2020\/09\/OM-padding-and-no-padding-768x192.png 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/li>\n\n\n\n<li><strong>Margin is on the outside of the border of your element.<\/strong><br>If you increase the margin, it will increase the space between this element and the ones next to it. If you remove your margin, there will be no extra space between your elements.<br><img decoding=\"async\" width=\"800\" height=\"400\" class=\"alignnone size-full wp-image-150721\" src=\"https:\/\/optinmonster.com\/wp-content\/uploads\/2020\/09\/OM-margin-and-no-margin-1.png\" alt=\"\" srcset=\"https:\/\/optinmonster.com\/wp-content\/uploads\/2020\/09\/OM-margin-and-no-margin-1.png 800w, https:\/\/optinmonster.com\/wp-content\/uploads\/2020\/09\/OM-margin-and-no-margin-1-300x150.png 300w, https:\/\/optinmonster.com\/wp-content\/uploads\/2020\/09\/OM-margin-and-no-margin-1-768x384.png 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"lightbox-canvas\">Element Spacing<\/h2>\n\n\n\n<p>To edit the spacing for individual block elements, follow these steps:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>From the <strong>Design<\/strong> view of the campaign builder click on the element you would like to edit then select the&nbsp;<strong>pencil icon<\/strong> for the Spacing option.<br><img decoding=\"async\" width=\"800\" height=\"533\" class=\"alignnone wp-image-170603\" src=\"https:\/\/optinmonster.com\/wp-content\/uploads\/2021\/10\/text-box-spacing-icon.png\" alt=\"\" srcset=\"https:\/\/optinmonster.com\/wp-content\/uploads\/2021\/10\/text-box-spacing-icon.png 997w, https:\/\/optinmonster.com\/wp-content\/uploads\/2021\/10\/text-box-spacing-icon-300x200.png 300w, https:\/\/optinmonster.com\/wp-content\/uploads\/2021\/10\/text-box-spacing-icon-768x511.png 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/li>\n\n\n\n<li>Next, edit the <strong>Inner Spacing (Padding) <\/strong>and\/or <strong>Outer Spacing (Margin) <\/strong>as desired.<br><img decoding=\"async\" width=\"800\" height=\"504\" class=\"alignnone wp-image-170602\" src=\"https:\/\/optinmonster.com\/wp-content\/uploads\/2021\/10\/text-inner-and-outer-spacing.png\" alt=\"\" srcset=\"https:\/\/optinmonster.com\/wp-content\/uploads\/2021\/10\/text-inner-and-outer-spacing.png 958w, https:\/\/optinmonster.com\/wp-content\/uploads\/2021\/10\/text-inner-and-outer-spacing-300x189.png 300w, https:\/\/optinmonster.com\/wp-content\/uploads\/2021\/10\/text-inner-and-outer-spacing-768x483.png 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/li>\n\n\n\n<li>When you are finished, click <strong>Save.<\/strong><\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\">Column or Row Spacing<\/h2>\n\n\n\n<p>To edit the spacing for columns or rows, follow these steps:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>In the <strong>Design View<\/strong> of the builder, hover over the column or row you would like to edit and select the&nbsp;<strong>gear icon<\/strong>.<br><img decoding=\"async\" width=\"800\" height=\"455\" class=\"alignnone size-large wp-image-170634\" src=\"https:\/\/optinmonster.com\/wp-content\/uploads\/2021\/10\/row-settings-gear-OptinMonster.png\" alt=\"row settings gear \"><\/li>\n\n\n\n<li>Within the&nbsp;<strong>Advanced<\/strong> tab select the&nbsp;<strong>pencil icon<\/strong> for the Spacing option and adjust the&nbsp;<strong>Inner Spacing (Padding)&nbsp;<\/strong>and\/or&nbsp;<strong>Outer Spacing (Margin)<\/strong> as desired.<br><img decoding=\"async\" width=\"800\" height=\"455\" class=\"alignnone size-large wp-image-170634\" src=\"https:\/\/optinmonster.com\/wp-content\/uploads\/2021\/10\/row-advanced-spacing-inner-outer-settings-OptinMonster.png\" alt=\"row advanced spacing inner outer settings\"><\/li>\n\n\n\n<li>When you are finished, click <strong>Save.<\/strong><\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\">Campaign Container Spacing<\/h2>\n\n\n\n<p>You can also apply Outer Spacing (Padding) to the main campaign container. This is what gives your campaign space around the edges, or removing the padding allows you to have your content completely fill the campaign.<\/p>\n\n\n\n<p>To edit the spacing for your campaign container, follow these steps:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>In the&nbsp;<strong>Design<\/strong> view of the campaign builder, select the<strong>&nbsp;Settings<\/strong> icon.<br><img decoding=\"async\" width=\"800\" height=\"455\" class=\"alignnone size-large wp-image-170634\" src=\"https:\/\/optinmonster.com\/wp-content\/uploads\/2021\/10\/click-settings-gear-OptinMonster.png\" alt=\"click settings gear\"><\/li>\n\n\n\n<li>Within the&nbsp;<strong>Advanced<\/strong> tab expand the&nbsp;<strong>View Styling<\/strong> option and select the&nbsp;<strong>pencil icon<\/strong> for the Spacing setting and edit the <strong>Inner Spacing (Padding)<\/strong> as desired.<br><img decoding=\"async\" width=\"800\" height=\"700\" class=\"alignnone size-full wp-image-164984\" src=\"https:\/\/optinmonster.com\/wp-content\/uploads\/2021\/09\/campaign-padding.jpg\" alt=\"Edit the campaign padding in the campaign builder.\" srcset=\"https:\/\/optinmonster.com\/wp-content\/uploads\/2021\/09\/campaign-padding.jpg 800w, https:\/\/optinmonster.com\/wp-content\/uploads\/2021\/09\/campaign-padding-300x263.jpg 300w, https:\/\/optinmonster.com\/wp-content\/uploads\/2021\/09\/campaign-padding-768x672.jpg 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/li>\n\n\n\n<li>(Optional) You can choose to apply the styling to all views (Yes\/No, Optin, Success) by toggling the&nbsp;<strong>Global View Styling?<\/strong> option from the same section.<br><img decoding=\"async\" width=\"648\" height=\"512\" class=\"alignnone size-full wp-image-164898\" src=\"https:\/\/optinmonster.com\/wp-content\/uploads\/2021\/09\/advanced-global-styles-option.jpg\" alt=\"Apply advanced styles globally.\" srcset=\"https:\/\/optinmonster.com\/wp-content\/uploads\/2021\/09\/advanced-global-styles-option.jpg 648w, https:\/\/optinmonster.com\/wp-content\/uploads\/2021\/09\/advanced-global-styles-option-300x237.jpg 300w\" sizes=\"(max-width: 648px) 100vw, 648px\" \/><\/li>\n\n\n\n<li>When you are finished, click <strong>Save.<\/strong><\/li>\n<\/ol>\n\n\n","protected":false},"excerpt":{"rendered":"<p>OptinMonster makes it easy to remove or adjust the padding and margin when customizing the appearance of your campaign. In this article, you\u2019ll learn how to remove the padding or margins from any element in your campaign. Before You Start Here are some things to know before you begin: Element Spacing To edit the spacing&nbsp;&hellip;<\/p>\n","protected":false},"author":4657,"comment_status":"open","ping_status":"closed","template":"","documentation\/categories":[96],"documentation\/tags":[31399,31409,31411],"class_list":["post-89962","optinmonster_docs","type-optinmonster_docs","status-publish","hentry","categories-extending"],"acf":[],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/optinmonster.com\/wp-json\/wp\/v2\/documentation\/89962","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/optinmonster.com\/wp-json\/wp\/v2\/documentation"}],"about":[{"href":"https:\/\/optinmonster.com\/wp-json\/wp\/v2\/types\/optinmonster_docs"}],"author":[{"embeddable":true,"href":"https:\/\/optinmonster.com\/wp-json\/wp\/v2\/users\/4657"}],"replies":[{"embeddable":true,"href":"https:\/\/optinmonster.com\/wp-json\/wp\/v2\/comments?post=89962"}],"version-history":[{"count":11,"href":"https:\/\/optinmonster.com\/wp-json\/wp\/v2\/documentation\/89962\/revisions"}],"predecessor-version":[{"id":202796,"href":"https:\/\/optinmonster.com\/wp-json\/wp\/v2\/documentation\/89962\/revisions\/202796"}],"wp:attachment":[{"href":"https:\/\/optinmonster.com\/wp-json\/wp\/v2\/media?parent=89962"}],"wp:term":[{"taxonomy":"categories","embeddable":true,"href":"https:\/\/optinmonster.com\/wp-json\/wp\/v2\/documentation\/categories?post=89962"},{"taxonomy":"internal_tags","embeddable":true,"href":"https:\/\/optinmonster.com\/wp-json\/wp\/v2\/documentation\/tags?post=89962"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}