{"id":146,"date":"2022-10-12T12:00:00","date_gmt":"2022-10-12T09:00:00","guid":{"rendered":"https:\/\/elementor.com\/help\/?p=146"},"modified":"2026-02-26T13:59:17","modified_gmt":"2026-02-26T11:59:17","slug":"layout-issue-padding-at-the-top-and-bottom-of-site","status":"publish","type":"post","link":"https:\/\/elementor.com\/help\/layout-issue-padding-at-the-top-and-bottom-of-site\/","title":{"rendered":"How to troubleshoot margin and padding issues in Elementor"},"content":{"rendered":"\n<p>To fix margin or padding issues in Elementor, identify if the gap is external (margin) or internal (padding). Reset widget values to zero in the Advanced tab, set Column Gap to &#8220;No Gap&#8221; in the Layout settings, and use Responsive Mode to eliminate mobile-specific spacing conflicts or theme-based CSS overrides.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">What is the difference between margin and padding?<\/h3>\n\n\n\n<p>Understanding the mechanics of CSS spacing is essential for fixing layout issues in Elementor:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Margin (External):<\/strong> This is the space outside the element. It pushes neighboring widgets away.<\/li>\n\n\n\n<li><strong>Padding (Internal):<\/strong> This is the space inside the element, specifically between the border and the content.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img fetchpriority=\"high\" decoding=\"async\" width=\"1024\" height=\"559\" src=\"https:\/\/elementor.com\/help\/wp-content\/uploads\/2022\/10\/Margin-and-padding-1-1024x559.png\" alt=\"A visual representation of an element with the Margin area highlighted in orange outside the border and the Padding area highlighted in green inside the borde\" class=\"wp-image-164626\" srcset=\"https:\/\/elementor.com\/help\/wp-content\/uploads\/2022\/10\/Margin-and-padding-1-1024x559.png 1024w, https:\/\/elementor.com\/help\/wp-content\/uploads\/2022\/10\/Margin-and-padding-1-300x164.png 300w, https:\/\/elementor.com\/help\/wp-content\/uploads\/2022\/10\/Margin-and-padding-1-768x419.png 768w, https:\/\/elementor.com\/help\/wp-content\/uploads\/2022\/10\/Margin-and-padding-1.png 1256w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">How do you troubleshoot common spacing problems in Elementor?<\/h3>\n\n\n\n<p>If you encounter unwanted &#8220;ghost space&#8221; or overlapping elements, follow these diagnostic steps to isolate the cause.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">How do you reset widget spacing values?<\/h4>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Click the<strong> Handle<\/strong> (pencil icon) of the specific widget.<br><img decoding=\"async\" width=\"680\" height=\"192\" class=\"wp-image-164635\" style=\"width: 680px;\" src=\"https:\/\/elementor.com\/help\/wp-content\/uploads\/2022\/10\/Click-the-widget-handle.png\" alt=\"The widget handle which opens the widget options\" srcset=\"https:\/\/elementor.com\/help\/wp-content\/uploads\/2022\/10\/Click-the-widget-handle.png 1240w, https:\/\/elementor.com\/help\/wp-content\/uploads\/2022\/10\/Click-the-widget-handle-300x85.png 300w, https:\/\/elementor.com\/help\/wp-content\/uploads\/2022\/10\/Click-the-widget-handle-1024x289.png 1024w, https:\/\/elementor.com\/help\/wp-content\/uploads\/2022\/10\/Click-the-widget-handle-768x217.png 768w\" sizes=\"(max-width: 680px) 100vw, 680px\" \/><\/li>\n\n\n\n<li>Click the <strong>Advanced<\/strong> tab in the Elementor panel.<br><img decoding=\"async\" width=\"180\" height=\"281\" class=\"wp-image-164642\" style=\"width: 180px;\" src=\"https:\/\/elementor.com\/help\/wp-content\/uploads\/2022\/10\/Click-the-advanced-tab-padding.png\" alt=\"The advanced tab which opens up the spacing options\" srcset=\"https:\/\/elementor.com\/help\/wp-content\/uploads\/2022\/10\/Click-the-advanced-tab-padding.png 616w, https:\/\/elementor.com\/help\/wp-content\/uploads\/2022\/10\/Click-the-advanced-tab-padding-193x300.png 193w\" sizes=\"(max-width: 180px) 100vw, 180px\" \/><\/li>\n\n\n\n<li>Review the <strong>Margin<\/strong> and <strong>Padding<\/strong> input fields.<br><img loading=\"lazy\" decoding=\"async\" width=\"180\" height=\"275\" class=\"wp-image-164649\" style=\"width: 180px;\" src=\"https:\/\/elementor.com\/help\/wp-content\/uploads\/2022\/10\/Check-the-margins.png\" alt=\"Elementor Advanced Tab Interface - Close-up of the Advanced tab showing the Margin and Padding input fields with the link icon unlinked and values set to zero\" srcset=\"https:\/\/elementor.com\/help\/wp-content\/uploads\/2022\/10\/Check-the-margins.png 578w, https:\/\/elementor.com\/help\/wp-content\/uploads\/2022\/10\/Check-the-margins-196x300.png 196w\" sizes=\"(max-width: 180px) 100vw, 180px\" \/><\/li>\n\n\n\n<li>Delete any existing values and manually type &#8220;0&#8221; to clear manual overrides and return to default spacing.<\/li>\n<\/ol>\n\n\n\n<h4 class=\"wp-block-heading\">How do you remove default column gaps?<\/h4>\n\n\n\n<p>[callout type=&#8221;note&#8221;]By default, the Elementor Editor uses containers. The information below only applies to those using the older sections and columns layout.[\/callout]<\/p>\n\n\n\n<p>Elementor often adds a 10px default gap between columns that can create unintended whitespace.<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Click the <strong>Edit Section<\/strong> handle (six-dot icon) at the top of the section.<\/li>\n\n\n\n<li>Navigate to the <strong>Layout<\/strong> tab.<\/li>\n\n\n\n<li>Locate the <strong>Columns Gap<\/strong> dropdown menu.<\/li>\n\n\n\n<li>Select <strong>No Gap<\/strong> to remove the default internal spacing between columns.<br><img loading=\"lazy\" decoding=\"async\" width=\"280\" height=\"503\" class=\"wp-image-164656\" style=\"width: 280px;\" src=\"https:\/\/elementor.com\/help\/wp-content\/uploads\/2022\/10\/Columns-gap.png\" alt=\"Elementor Section Layout Settings - The Layout tab of a section showing the Columns Gap dropdown menu \" srcset=\"https:\/\/elementor.com\/help\/wp-content\/uploads\/2022\/10\/Columns-gap.png 534w, https:\/\/elementor.com\/help\/wp-content\/uploads\/2022\/10\/Columns-gap-167x300.png 167w\" sizes=\"(max-width: 280px) 100vw, 280px\" \/><\/li>\n<\/ol>\n\n\n\n<h4 class=\"wp-block-heading\">How do you fix responsive spacing conflicts on mobile?<\/h4>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Click the <strong>Tablet or Mobile<\/strong> icon In the Elementor top tool bar.<br><img loading=\"lazy\" decoding=\"async\" width=\"680\" height=\"45\" class=\"wp-image-164663\" style=\"width: 680px;\" src=\"https:\/\/elementor.com\/help\/wp-content\/uploads\/2022\/10\/The-top-tools-bar.png\" alt=\"The top tool bar with tablet and mobile highlighted\" srcset=\"https:\/\/elementor.com\/help\/wp-content\/uploads\/2022\/10\/The-top-tools-bar.png 1722w, https:\/\/elementor.com\/help\/wp-content\/uploads\/2022\/10\/The-top-tools-bar-300x20.png 300w, https:\/\/elementor.com\/help\/wp-content\/uploads\/2022\/10\/The-top-tools-bar-1024x68.png 1024w, https:\/\/elementor.com\/help\/wp-content\/uploads\/2022\/10\/The-top-tools-bar-768x51.png 768w, https:\/\/elementor.com\/help\/wp-content\/uploads\/2022\/10\/The-top-tools-bar-1536x102.png 1536w\" sizes=\"(max-width: 680px) 100vw, 680px\" \/><\/li>\n\n\n\n<li>Adjust values specifically for the <strong>Mobile Icon<\/strong> displayed next to the Margin\/Padding labels.<br><img loading=\"lazy\" decoding=\"async\" width=\"680\" height=\"431\" class=\"wp-image-164670\" style=\"width: 680px;\" src=\"https:\/\/elementor.com\/help\/wp-content\/uploads\/2022\/10\/The-mobile-icons.png\" alt=\"The mobile icons indicate you're editing values for mobile\" srcset=\"https:\/\/elementor.com\/help\/wp-content\/uploads\/2022\/10\/The-mobile-icons.png 2406w, https:\/\/elementor.com\/help\/wp-content\/uploads\/2022\/10\/The-mobile-icons-300x190.png 300w, https:\/\/elementor.com\/help\/wp-content\/uploads\/2022\/10\/The-mobile-icons-1024x649.png 1024w, https:\/\/elementor.com\/help\/wp-content\/uploads\/2022\/10\/The-mobile-icons-768x486.png 768w, https:\/\/elementor.com\/help\/wp-content\/uploads\/2022\/10\/The-mobile-icons-1536x973.png 1536w, https:\/\/elementor.com\/help\/wp-content\/uploads\/2022\/10\/The-mobile-icons-2048x1297.png 2048w\" sizes=\"(max-width: 680px) 100vw, 680px\" \/><\/li>\n<\/ol>\n\n\n\n<h3 class=\"wp-block-heading\">What causes ghost space from theme conflicts?<\/h3>\n\n\n\n<p>If the Elementor settings are set to zero but gaps remain, your WordPress theme may be applying its own CSS.<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Preview the page in a live browser window.<\/li>\n\n\n\n<li>Right-click the gap and select <strong>Inspect<\/strong>.<\/li>\n\n\n\n<li>Hover over the HTML code to see color-coded spacing:\n<ul class=\"wp-block-list\">\n<li><strong>Orange:<\/strong> Represents Margin.<\/li>\n\n\n\n<li><strong>Green:<\/strong> Represents Padding.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Identify if the CSS classes originate from your theme rather than Elementor.<\/li>\n<\/ol>\n\n\n\n<h4 class=\"wp-block-heading\">How do you resolve layout overflow issues?<\/h4>\n\n\n\n<p>Negative margins can cause horizontal scrolling on mobile devices.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Avoid using negative margins on sections whenever possible.<\/li>\n\n\n\n<li>If you&#8217;re using the sections and columns layout, set <strong>Edit Section > Layout > Overflow<\/strong> to <strong>Hidden<\/strong> to prevent content from bleeding outside the viewport.<br><img loading=\"lazy\" decoding=\"async\" width=\"180\" height=\"361\" class=\"wp-image-164677\" style=\"width: 180px;\" src=\"https:\/\/elementor.com\/help\/wp-content\/uploads\/2022\/10\/Overflow.png\" alt=\"Elementor Overflow Hidden Setting - The Layout tab of a section showing the Overflow dropdown menu set to the &quot;Hidden&quot; value\" srcset=\"https:\/\/elementor.com\/help\/wp-content\/uploads\/2022\/10\/Overflow.png 514w, https:\/\/elementor.com\/help\/wp-content\/uploads\/2022\/10\/Overflow-149x300.png 149w, https:\/\/elementor.com\/help\/wp-content\/uploads\/2022\/10\/Overflow-510x1024.png 510w\" sizes=\"(max-width: 180px) 100vw, 180px\" \/><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Learn how to solve the problem of mysterious padding at top or bottom of site<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_elementor_kustomer_id":["62c6c58604948913d26c33ca","62c6c58604948913d26c33ca"],"footnotes":""},"categories":[1439],"tags":[],"class_list":["post-146","post","type-post","status-publish","format-standard","hentry","category-basic-functionality"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to troubleshoot margin and padding issues in Elementor | Elementor<\/title>\n<meta name=\"description\" content=\"Learn everything about How to troubleshoot margin and padding issues in Elementor in this article from Elementor&#039;s Knowledge Base. Get Elementor tips &amp; more.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/elementor.com\/help\/layout-issue-padding-at-the-top-and-bottom-of-site\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to troubleshoot margin and padding issues in Elementor | Elementor\" \/>\n<meta property=\"og:description\" content=\"Learn everything about How to troubleshoot margin and padding issues in Elementor in this article from Elementor&#039;s Knowledge Base. Get Elementor tips &amp; more.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/elementor.com\/help\/layout-issue-padding-at-the-top-and-bottom-of-site\/\" \/>\n<meta property=\"og:site_name\" content=\"Help\" \/>\n<meta property=\"article:published_time\" content=\"2022-10-12T09:00:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-02-26T11:59:17+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/elementor.com\/help\/wp-content\/uploads\/2022\/10\/Margin-and-padding-1.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1256\" \/>\n\t<meta property=\"og:image:height\" content=\"686\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Alan Kaler\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Alan Kaler\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/elementor.com\/help\/layout-issue-padding-at-the-top-and-bottom-of-site\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/elementor.com\/help\/layout-issue-padding-at-the-top-and-bottom-of-site\/\"},\"author\":{\"name\":\"Alan Kaler\",\"@id\":\"https:\/\/elementor.com\/help\/#\/schema\/person\/ebf805be1a1abdd587d4b97e3328f430\"},\"headline\":\"How to troubleshoot margin and padding issues in Elementor\",\"datePublished\":\"2022-10-12T09:00:00+00:00\",\"dateModified\":\"2026-02-26T11:59:17+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/elementor.com\/help\/layout-issue-padding-at-the-top-and-bottom-of-site\/\"},\"wordCount\":416,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/elementor.com\/help\/#organization\"},\"image\":{\"@id\":\"https:\/\/elementor.com\/help\/layout-issue-padding-at-the-top-and-bottom-of-site\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/elementor.com\/help\/wp-content\/uploads\/2022\/10\/Margin-and-padding-1-1024x559.png\",\"articleSection\":[\"Basic functionality\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/elementor.com\/help\/layout-issue-padding-at-the-top-and-bottom-of-site\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/elementor.com\/help\/layout-issue-padding-at-the-top-and-bottom-of-site\/\",\"url\":\"https:\/\/elementor.com\/help\/layout-issue-padding-at-the-top-and-bottom-of-site\/\",\"name\":\"How to troubleshoot margin and padding issues in Elementor | Elementor\",\"isPartOf\":{\"@id\":\"https:\/\/elementor.com\/help\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/elementor.com\/help\/layout-issue-padding-at-the-top-and-bottom-of-site\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/elementor.com\/help\/layout-issue-padding-at-the-top-and-bottom-of-site\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/elementor.com\/help\/wp-content\/uploads\/2022\/10\/Margin-and-padding-1-1024x559.png\",\"datePublished\":\"2022-10-12T09:00:00+00:00\",\"dateModified\":\"2026-02-26T11:59:17+00:00\",\"description\":\"Learn everything about How to troubleshoot margin and padding issues in Elementor in this article from Elementor's Knowledge Base. Get Elementor tips & more.\",\"breadcrumb\":{\"@id\":\"https:\/\/elementor.com\/help\/layout-issue-padding-at-the-top-and-bottom-of-site\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/elementor.com\/help\/layout-issue-padding-at-the-top-and-bottom-of-site\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/elementor.com\/help\/layout-issue-padding-at-the-top-and-bottom-of-site\/#primaryimage\",\"url\":\"https:\/\/elementor.com\/help\/wp-content\/uploads\/2022\/10\/Margin-and-padding-1.png\",\"contentUrl\":\"https:\/\/elementor.com\/help\/wp-content\/uploads\/2022\/10\/Margin-and-padding-1.png\",\"width\":1256,\"height\":686,\"caption\":\"A visual representation of an element with the Margin area highlighted in orange outside the border and the Padding area highlighted in green inside the borde\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/elementor.com\/help\/layout-issue-padding-at-the-top-and-bottom-of-site\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Help Center\",\"item\":\"https:\/\/elementor.com\/help\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Elementor Editor\",\"item\":\"https:\/\/elementor.com\/help\/elementor-editor\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Widgets\",\"item\":\"https:\/\/elementor.com\/help\/elementor-editor\/widgets\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Basic functionality\",\"item\":\"https:\/\/elementor.com\/help\/elementor-editor\/widgets\/basic-functionality\/\"},{\"@type\":\"ListItem\",\"position\":5,\"name\":\"How to troubleshoot margin and padding issues in Elementor\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/elementor.com\/help\/#website\",\"url\":\"https:\/\/elementor.com\/help\/\",\"name\":\"Elementor\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/elementor.com\/help\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/elementor.com\/help\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/elementor.com\/help\/#organization\",\"name\":\"Elementor\",\"url\":\"https:\/\/elementor.com\/help\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/elementor.com\/help\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/06\/images.png\",\"contentUrl\":\"https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/06\/images.png\",\"width\":225,\"height\":225,\"caption\":\"Elementor\"},\"image\":{\"@id\":\"https:\/\/elementor.com\/help\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/elementor.com\/help\/#\/schema\/person\/ebf805be1a1abdd587d4b97e3328f430\",\"name\":\"Alan Kaler\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/elementor.com\/help\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/7618989d1401c38afe50748601d8dad91fdb8930f53fe037881768b15ab4b108?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/7618989d1401c38afe50748601d8dad91fdb8930f53fe037881768b15ab4b108?s=96&d=mm&r=g\",\"caption\":\"Alan Kaler\"},\"description\":\"Alan Kaler is an expert Elementorist at Elementor and a WordPress Magician who thinks that the three most beautiful words in our language are: I told you\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to troubleshoot margin and padding issues in Elementor | Elementor","description":"Learn everything about How to troubleshoot margin and padding issues in Elementor in this article from Elementor's Knowledge Base. Get Elementor tips & more.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/elementor.com\/help\/layout-issue-padding-at-the-top-and-bottom-of-site\/","og_locale":"en_US","og_type":"article","og_title":"How to troubleshoot margin and padding issues in Elementor | Elementor","og_description":"Learn everything about How to troubleshoot margin and padding issues in Elementor in this article from Elementor's Knowledge Base. Get Elementor tips & more.","og_url":"https:\/\/elementor.com\/help\/layout-issue-padding-at-the-top-and-bottom-of-site\/","og_site_name":"Help","article_published_time":"2022-10-12T09:00:00+00:00","article_modified_time":"2026-02-26T11:59:17+00:00","og_image":[{"width":1256,"height":686,"url":"https:\/\/elementor.com\/help\/wp-content\/uploads\/2022\/10\/Margin-and-padding-1.png","type":"image\/png"}],"author":"Alan Kaler","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Alan Kaler","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/elementor.com\/help\/layout-issue-padding-at-the-top-and-bottom-of-site\/#article","isPartOf":{"@id":"https:\/\/elementor.com\/help\/layout-issue-padding-at-the-top-and-bottom-of-site\/"},"author":{"name":"Alan Kaler","@id":"https:\/\/elementor.com\/help\/#\/schema\/person\/ebf805be1a1abdd587d4b97e3328f430"},"headline":"How to troubleshoot margin and padding issues in Elementor","datePublished":"2022-10-12T09:00:00+00:00","dateModified":"2026-02-26T11:59:17+00:00","mainEntityOfPage":{"@id":"https:\/\/elementor.com\/help\/layout-issue-padding-at-the-top-and-bottom-of-site\/"},"wordCount":416,"commentCount":0,"publisher":{"@id":"https:\/\/elementor.com\/help\/#organization"},"image":{"@id":"https:\/\/elementor.com\/help\/layout-issue-padding-at-the-top-and-bottom-of-site\/#primaryimage"},"thumbnailUrl":"https:\/\/elementor.com\/help\/wp-content\/uploads\/2022\/10\/Margin-and-padding-1-1024x559.png","articleSection":["Basic functionality"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/elementor.com\/help\/layout-issue-padding-at-the-top-and-bottom-of-site\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/elementor.com\/help\/layout-issue-padding-at-the-top-and-bottom-of-site\/","url":"https:\/\/elementor.com\/help\/layout-issue-padding-at-the-top-and-bottom-of-site\/","name":"How to troubleshoot margin and padding issues in Elementor | Elementor","isPartOf":{"@id":"https:\/\/elementor.com\/help\/#website"},"primaryImageOfPage":{"@id":"https:\/\/elementor.com\/help\/layout-issue-padding-at-the-top-and-bottom-of-site\/#primaryimage"},"image":{"@id":"https:\/\/elementor.com\/help\/layout-issue-padding-at-the-top-and-bottom-of-site\/#primaryimage"},"thumbnailUrl":"https:\/\/elementor.com\/help\/wp-content\/uploads\/2022\/10\/Margin-and-padding-1-1024x559.png","datePublished":"2022-10-12T09:00:00+00:00","dateModified":"2026-02-26T11:59:17+00:00","description":"Learn everything about How to troubleshoot margin and padding issues in Elementor in this article from Elementor's Knowledge Base. Get Elementor tips & more.","breadcrumb":{"@id":"https:\/\/elementor.com\/help\/layout-issue-padding-at-the-top-and-bottom-of-site\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/elementor.com\/help\/layout-issue-padding-at-the-top-and-bottom-of-site\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/elementor.com\/help\/layout-issue-padding-at-the-top-and-bottom-of-site\/#primaryimage","url":"https:\/\/elementor.com\/help\/wp-content\/uploads\/2022\/10\/Margin-and-padding-1.png","contentUrl":"https:\/\/elementor.com\/help\/wp-content\/uploads\/2022\/10\/Margin-and-padding-1.png","width":1256,"height":686,"caption":"A visual representation of an element with the Margin area highlighted in orange outside the border and the Padding area highlighted in green inside the borde"},{"@type":"BreadcrumbList","@id":"https:\/\/elementor.com\/help\/layout-issue-padding-at-the-top-and-bottom-of-site\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Help Center","item":"https:\/\/elementor.com\/help\/"},{"@type":"ListItem","position":2,"name":"Elementor Editor","item":"https:\/\/elementor.com\/help\/elementor-editor\/"},{"@type":"ListItem","position":3,"name":"Widgets","item":"https:\/\/elementor.com\/help\/elementor-editor\/widgets\/"},{"@type":"ListItem","position":4,"name":"Basic functionality","item":"https:\/\/elementor.com\/help\/elementor-editor\/widgets\/basic-functionality\/"},{"@type":"ListItem","position":5,"name":"How to troubleshoot margin and padding issues in Elementor"}]},{"@type":"WebSite","@id":"https:\/\/elementor.com\/help\/#website","url":"https:\/\/elementor.com\/help\/","name":"Elementor","description":"","publisher":{"@id":"https:\/\/elementor.com\/help\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/elementor.com\/help\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/elementor.com\/help\/#organization","name":"Elementor","url":"https:\/\/elementor.com\/help\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/elementor.com\/help\/#\/schema\/logo\/image\/","url":"https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/06\/images.png","contentUrl":"https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/06\/images.png","width":225,"height":225,"caption":"Elementor"},"image":{"@id":"https:\/\/elementor.com\/help\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/elementor.com\/help\/#\/schema\/person\/ebf805be1a1abdd587d4b97e3328f430","name":"Alan Kaler","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/elementor.com\/help\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/7618989d1401c38afe50748601d8dad91fdb8930f53fe037881768b15ab4b108?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/7618989d1401c38afe50748601d8dad91fdb8930f53fe037881768b15ab4b108?s=96&d=mm&r=g","caption":"Alan Kaler"},"description":"Alan Kaler is an expert Elementorist at Elementor and a WordPress Magician who thinks that the three most beautiful words in our language are: I told you"}]}},"_links":{"self":[{"href":"https:\/\/elementor.com\/help\/wp-json\/wp\/v2\/posts\/146","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/elementor.com\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/elementor.com\/help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/elementor.com\/help\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/elementor.com\/help\/wp-json\/wp\/v2\/comments?post=146"}],"version-history":[{"count":4,"href":"https:\/\/elementor.com\/help\/wp-json\/wp\/v2\/posts\/146\/revisions"}],"predecessor-version":[{"id":164685,"href":"https:\/\/elementor.com\/help\/wp-json\/wp\/v2\/posts\/146\/revisions\/164685"}],"wp:attachment":[{"href":"https:\/\/elementor.com\/help\/wp-json\/wp\/v2\/media?parent=146"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/elementor.com\/help\/wp-json\/wp\/v2\/categories?post=146"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/elementor.com\/help\/wp-json\/wp\/v2\/tags?post=146"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}