Mastering Mobile Menus: Customizing Your Shopify Atlantic Theme's Header
Hey everyone! As a Shopify expert and someone who loves digging into what real store owners are talking about, I often come across some fantastic discussions in the Shopify Community. Recently, a thread popped up that I just had to share insights from, because it tackles a couple of very common pain points when it comes to theme customization, especially on mobile.
Our fellow merchant, dlgillihan, was looking for some specific tweaks to their Atlantic theme: changing the mobile menu (that trusty 'hamburger' icon) from three lines to two, and then rearranging the mobile header so the logo is on the left and the menu/search icons are neatly tucked away on the right. They also had a quick question about H4 & H5 headings always appearing in all caps. Sound familiar? Let's dive into how the community tackled these!
First Things First: Always Duplicate Your Theme!
Before we even think about touching a single line of code, there's one golden rule that Pratham_Jani wisely pointed out:
Worth noting: before editing any code, duplicate your theme first so you always have a clean backup to roll back to if anything breaks.
This is non-negotiable! Always go to Online Store > Themes, find your current theme, click Actions > Duplicate. Trust me, it'll save you a headache later.
Customizing Your Mobile Menu Icon (The Hamburger)
The standard three-line hamburger icon is functional, but sometimes you want a cleaner look, like two lines. The community offered a couple of great ways to achieve this:
Method 1: Directly Editing the SVG File (Recommended for Cleanliness)
This approach, suggested by Pratham_Jani, is often the cleanest because you're modifying the source of the icon itself. Here's how:
- Go to Online Store > Themes > Actions > Edit Code.
- In the code editor, search for a file named something like
icon-hamburger.svg. It might be in thesnippets/directory or directly underassets/. - Once you find it, you'll see SVG code that looks something like this (though exact coordinates might vary):
- Your goal is to remove one of the lines. Look for the `path` element that draws the middle line. In Pratham_Jani's example, they mentioned looking for `y1="12"` if it were individual line elements, but in a combined `path` (like the example above), you'd look for the middle segment. For instance, if you have three `M` commands, delete the middle one. If it's a single `d` attribute, you'll need to identify and remove the middle 'bar' coordinates.
- A common pattern is three horizontal lines. If your SVG is structured with separate path segments for each line, you'd delete the middle one. If it's a single path string, you'd modify the
dattribute. For example, if the original `d` attribute looked likeM0,3 H24 M0,12 H24 M0,21 H24(for a 24-unit wide icon with lines at y=3, 12, 21), you'd remove the middle `M0,12 H24`. 
- Save your changes.
Method 2: CSS Override with SVG Path (Quick & Dirty)
Maximus3 offered a clever CSS-based solution that overrides the SVG path directly. This is a good option if you can't easily find or want to avoid editing the `icon-hamburger.svg` file.
- Go to Online Store > Themes > Actions > Edit Code.
- Open
theme.liquid. - Paste the following code right before the closing

