Want to fix header

Topic summary

A Shopify store owner reports overlapping navigation menu items and search icon in their header. An attached screenshot shows the “Creator Collaborate” menu item colliding with the search icon.

Proposed Solutions:

  1. First approach: Add CSS margins/padding to create spacing between the last menu item and icons. Suggested code targets .header__menu-item:last-child, .header__icon--search, or .header__icons with flexbox gap properties.

  2. Second approach (after first failed): Modify the .page-width class by adding padding: 10px 25px !important to the theme.css file.

Both solutions involve editing the theme code through the Shopify admin panel (Online Store > Themes > Edit code). The issue remains unresolved as the original poster confirmed the first solution did not work, and no follow-up was provided on whether the second approach succeeded.

Summarized with AI on October 29. AI used: claude-sonnet-4-5-20250929.

my navigation & search icon is overlapping, please fix it

URL: https://vibescandle.myshopify.com/?_ab=0&_fd=0&_sc=1
PASS: 1

1 Like

**Step-by-Step Fix (via theme code editor)**1. Go to Online Store > Themes > Customize.

  1. Click “…” > Edit code.

  2. Find and open the file that handles the header (likely under Sections/header.liquid or Snippets/header.liquid).

  3. Look for the navigation menu and icons, especially the search icon (, , or similar).

  4. Add some margin or padding to the right of the “Creator Collaborate” menu item or to the search icon.

    Example CSS Fix

    Add this to the bottom of your theme.css or base.css (you can find it under Assets/):

    css

    .header__menu-item:last-child { margin-right: 2rem; /* Adjust spacing between last menu item and icons / } .header__icon–search { margin-left: 1rem; / Creates spacing from menu */ }

    If your icons are wrapped inside a container (like .header__icons), you can also use:

    css

    .header__icons { display: flex; gap: 1rem; /* Adjust spacing between all icons */ }

    Or Simply do the following, check image.

1 Like

Not working

Hi @Emiway1

You can try to follow this step
Step 1: Go to Edit code
Step 2: Find file theme.css and add this code at the end of the file

.page-width {
    padding: 10px 25px !important
}

Result:

Best,

DaisyVo