How do I remove menu padding or margin?

I want to remove the blank space there is between the menu button and the end of the page. (the sapce I marked in red) How canI do this?

1 Like

Here is the preview if its of any help https://ow8lnzj7t9eaoidk-72886911199.shopifypreview.com

Hi there @RevelationMex I think you should give the following steps a try

  1. In your Shopify Admin go to online store > themes > actions > edit code
  2. Find Asset >theme.css and paste this at the bottom of the file:
.template-index .header-wrapper header.site-header {
padding-top: 20px;
padding-bottom: 20px;
}

.template-index .header-wrapper header.site-header ul.site-navigation li.site-nav__item {
padding: 0 15px;
}

Hi, I’m looking into it, but it seems I don’t have a theme.css asset. I tried it on base.css but didn’t work

Hi @RevelationMex

Try this one.

  1. From your Shopify admin dashboard, click on “Online Store” and then “Themes”.
  2. Find the theme that you want to edit and click on “Actions” and then “Edit code”.
  3. In the “Assets” folder, click on “base.css, style.css or theme.css” file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:
header.header {
    max-width: 100% !important;
}

Your Feedback Matters! Please mark the solution and give likes to posts that helped you. Your appreciation fuels our motivation to assist you better!

1 Like

Worked perfeclty, thanks!!