{"id":622,"date":"2023-09-12T07:18:07","date_gmt":"2023-09-12T07:18:07","guid":{"rendered":"https:\/\/blog.hostinger.io\/support\/2023\/09\/12\/8360133-hostinger-website-builder-how-to-display-a-section-in-full-width\/"},"modified":"2026-03-16T12:12:02","modified_gmt":"2026-03-16T12:12:02","slug":"8360133-hostinger-website-builder-how-to-display-a-section-in-full-width","status":"publish","type":"post","link":"https:\/\/www.hostinger.com\/support\/8360133-hostinger-website-builder-how-to-display-a-section-in-full-width\/","title":{"rendered":"Hostinger Website Builder: How to Display a Section in Full Width"},"content":{"rendered":"<p class=\"no-margin\">All website templates that are available with <b><a href=\"https:\/\/www.hostinger.com\/website-builder\" target=\"_blank\" class=\"intercom-content-link\">Hostinger Website Builder<\/a><\/b> follow<b> <a href=\"https:\/\/www.hostinger.com\/tutorials\/website-terminology#Responsiveness\" target=\"_blank\" class=\"intercom-content-link\">responsive web design<\/a><\/b> that ensures the best user experience across all devices. Responsive web design means that your website content will <b>automatically adapt<\/b> &ndash; slightly stretch or shrink &ndash; <b>depending on your website visitor&rsquo;s device<\/b> <b>properties <\/b>(its screen size, resolution, etc.). You can learn more about it <b><a href=\"\/support\/6466243-website-builder-responsive-web-design-and-image-size\" target=\"_blank\" class=\"intercom-content-link\">here<\/a><\/b>. <\/p><p class=\"no-margin\">\n<\/p><p class=\"no-margin\">To display full width sections your website to have the sides or edges of your website fully streched, you would be disabling part of the responsive layout by adding the codes below, so have in mind that depending on the visitor&rsquo;s device properties, the displayed content result may distort your website&rsquo;s layout.<\/p><p class=\"no-margin\">\n<\/p><div class=\"intercom-interblocks-callout\" style=\"background-color: #e3e7fa80;border-color: #334bfa33\">\n<p class=\"no-margin\">The changes described below are <b>not visible within the editor<\/b>. To check them, access the <b><a href=\"\/support\/6475345-website-builder-how-to-preview-a-website\" target=\"_blank\" class=\"intercom-content-link\">preview mode<\/a><\/b> of your website or visit it<b> online<\/b> &#128161; <\/p>\n<\/div><p class=\"no-margin\">\n<\/p><p class=\"no-margin\">\n<\/p><h2 id=\"h_62ebc9800a\">Display All Sections in Full Width on Both Desktop &amp; Mobile<\/h2><p class=\"no-margin\">Copy the code below:<\/p><pre><code>&lt;style&gt;<br>    .block-layout, .block-layout--layout {<br>        max-width: none !important;<br>        padding: 0 !important;<br>    }<br>&lt;\/style&gt;<\/code><\/pre><p class=\"no-margin\">Finally, go to your website&rsquo;s <b>Settings<\/b> &rarr; <b>Integrations<\/b>, and paste the code in the <b><a href=\"\/support\/6445594-website-builder-how-to-add-custom-code-to-the-head-head-part-of-a-website-s-code\" target=\"_blank\" class=\"intercom-content-link\">Custom code<\/a><\/b> field. Then, <b>save the changes<\/b> and <b>update your website<\/b>.<\/p><p class=\"no-margin\">\n<\/p><h2 id=\"h_bc204dbd37\">Display a Specific Section in Full Width <\/h2><p class=\"no-margin\">To make changes to a particular section only, you need to know the <b>section ID<\/b>. You can find it by <b><a href=\"\/support\/2152545-how-to-inspect-website-elements-in-your-browser\" target=\"_blank\" class=\"intercom-content-link\">inspecting your page<\/a><\/b> with the help of developer tools in your browser:<\/p><p class=\"no-margin\">\n<\/p><div class=\"intercom-container intercom-align-center\"><img decoding=\"async\" src=\"\/support\/wp-content\/uploads\/sites\/55\/2023\/09\/d62fd491-103e-4b0e-911b-f44b44ea8c22.jpg\" alt=\"Inspecting a page \"><\/div><h3 id=\"h_42d8316270\">On Both Desktop &amp; Mobile <\/h3><p class=\"no-margin\">Copy the code below:<\/p><pre><code>&lt;style&gt;<br>    #sectionID div:nth-of-type(2) {<br>        max-width: none !important;<br>        padding-inline: 0 !important;<br>    }<br>&lt;\/style&gt;<\/code><\/pre><p class=\"no-margin\">In the code, replace the <b>sectionID<\/b> with the actual ID of the section in question.<\/p><p class=\"no-margin\">\n<\/p><h3 id=\"h_8c30c3abb3\">On Desktop <\/h3><p class=\"no-margin\">Copy the code below:<\/p><pre><code>&lt;style&gt;<br>    @media screen and (min-width: 920px) {<br>        #sectionID div:nth-of-type(2) {<br>            max-width: none !important;<br>        }<br>    }<br>&lt;\/style&gt;<\/code><\/pre><p class=\"no-margin\">In the code, replace the <b>sectionID<\/b> with the actual ID of the section in question.<\/p><p class=\"no-margin\">\n<\/p><h3 id=\"h_2b69863379\">On Mobile<\/h3><pre><code>&lt;style&gt;<br>    @media screen and (max-width: 920px) {<br>        #sectionID div:nth-of-type(2) {<br>            max-width: none !important;<br>            padding-inline: 0 !important;       <br> }<br>}<br>&lt;\/style&gt;<\/code><\/pre><p class=\"no-margin\">In the code, replace the <b>sectionID<\/b> with the actual ID of the section in question.<\/p><p class=\"no-margin\">\n<\/p><p class=\"no-margin\">Finally, go to your website&rsquo;s <b>Settings<\/b> &rarr; <b>Integrations<\/b>, and paste the code in the <b><a href=\"\/support\/6445594-website-builder-how-to-add-custom-code-to-the-head-head-part-of-a-website-s-code\" target=\"_blank\" class=\"intercom-content-link\">Custom code<\/a><\/b> field. Then, <b>save the changes<\/b> and <b>update your website<\/b>.<\/p><p class=\"no-margin\">\n<\/p><div class=\"intercom-interblocks-callout\" style=\"background-color: #e3e7fa80;border-color: #334bfa33\">\n<p class=\"no-margin\">The full width section can be applied to all sections inside the website except the header section.<\/p>\n<\/div><p class=\"no-margin\">\n<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Displaying website sections in full width with Hostinger Website Builder<\/p>\n","protected":false},"author":581,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"include_on_kodee":true,"footnotes":""},"categories":[281],"tags":[],"class_list":["post-622","post","type-post","status-publish","format-standard","hentry","category-design"],"hreflangs":[{"locale":"en-US","link":"https:\/\/www.hostinger.com\/support\/8360133-hostinger-website-builder-how-to-display-a-section-in-full-width\/","default":1},{"locale":"es-ES","link":"https:\/\/www.hostinger.com\/es\/support\/8360133-hostinger-website-builder-como-mostrar-una-seccion-en-ancho-completo\/","default":0}],"include_on_kodee":true,"_links":{"self":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/622","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/users\/581"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/comments?post=622"}],"version-history":[{"count":1,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/622\/revisions"}],"predecessor-version":[{"id":2818,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/622\/revisions\/2818"}],"wp:attachment":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/media?parent=622"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/categories?post=622"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/tags?post=622"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}