New Metronic Docs!Added Integration Docs with Starter Kits Apps for Laravel, Laravel Livewire, Angular, Vue, Symfony, Blazor Server, Django & Flask & more
Browse Docs

Excessive horizontal padding in the main Container — how to make the layout use full width (sidebar expanded/collapsed)?


Hello Metronic team,

I’ve noticed that in the dashboard layout, there is a large amount of unused horizontal space between the sidebar and the right edge of the screen (see screenshots attached with yellow arrows).

It seems that this space comes from a common Container component that limits the width of the main content area.
Even when the sidebar is collapsed, the main content doesn’t expand — it stays centered with large side paddings.

My questions:

Is there a recommended way to reduce this padding or make the layout more fluid (full-width) while keeping the responsive design intact?

Is Metronic planning an update or configuration option for this in a future release (e.g., a “fluid container” or “wide layout” mode)?

Thanks for your help and great work on the template!


Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(

Replies (0)