Shopify Atlantic Theme: Mastering Mobile Menu Icon & Header Layout Customization

Hey there, fellow store owners! It's your Shopify migration expert here, diving into some real-world challenges from the community. Lately, I've seen a lot of great discussions around making our Shopify stores truly unique, especially on mobile. One thread that caught my eye, started by a merchant named dlgillihan using the Atlantic theme, really hit on a couple of common pain points: customizing the mobile menu (that 'hamburger' icon) and tweaking the header layout.

It’s clear many of us want more control over how our brand appears on smaller screens. Let's break down the insights and solutions shared by the community to tackle these customizations head-on, along with a bonus tip for those pesky all-caps headings!

Mastering Your Mobile Menu: Changing the Hamburger Icon

The standard three-line hamburger icon is functional, but what if you prefer two lines, or something totally different? dlgillihan specifically asked about changing it to two lines, and the community had some excellent suggestions. It turns out, you've got a couple of solid approaches.

Method 1: Editing the SVG File Directly (The 'Clean' Way)

This is often the most direct and cleanest way to alter icons. As Pratham_Jani pointed out, you can edit the SVG code itself. Here’s how:

  1. Duplicate Your Theme First: Seriously, don't skip this step! Go to Online Store > Themes, find your Atlantic theme, click Actions > Duplicate. This is your safety net.
  2. Access Your Theme Code: From your duplicated theme, click Actions > Edit Code.
  3. Find the SVG File: Search for icon-hamburger.svg. It might be in the snippets/ directory or directly in the assets/ folder, depending on your theme version.
  4. Edit the SVG: Once you open the file, you'll see SVG code that looks something like this (though the exact coordinates might vary):
  5. 
      
       
      
    
    
  6. Remove the Middle Line: To get a two-line icon, simply delete the line that corresponds to the middle bar (often the one with y1="12" as Pratham_Jani suggested). Save your changes.

This approach directly modifies the icon asset, so it's usually very stable.

Method 2: Overriding with Custom CSS

Another clever way, shared by Maximus3, is to override the SVG path using CSS. This can be handy if you prefer to keep the original SVG file untouched or if your theme's SVG is embedded differently.

  1. Duplicate Your Theme: Again, always start here!
  2. Access Theme Code: Go to Online Store > Themes > Actions > Edit Code.
  3. Add Custom CSS: You can paste this code into your theme.liquid file right before the tag, or in your main CSS file (like assets/theme.css), or even in a 'Custom CSS' section within your theme settings if Atlantic provides one.
  4. Use This Code:
  5. 
    

As Maximus3 noted, adding !important ensures your custom style takes precedence. This CSS snippet defines a new path for the SVG icon, effectively turning it into a two-line menu.

Re-arranging Your Mobile Header: Logo Left, Icons Right

dlgillihan also wanted to move the logo to the left and the menu/search icons to the right on mobile. This is a popular request for many brands! The good news is, it's totally achievable with some CSS magic, primarily using flexbox.

Approach 1: Using Flexbox CSS for Layout Control

Pratham_Jani provided an excellent flexbox solution. Flexbox is fantastic for responsive layouts.

  1. Duplicate Your Theme: You know the drill!
  2. Access Theme Code: Online Store > Themes > Actions > Edit Code.
  3. Locate Your CSS File: Find your main stylesheet, usually assets/theme.css, or look for a 'Custom CSS' area in your theme settings.
  4. Add This CSS:
  5. @media (max-width: 768px) {
    .header__mobile {
    flex-direction: row;
    justify-content: space-between;
    }
    .header__mobile .header__logo {
    order: 1;
    }
    .header__mobile .header__icons {
    order: 2;
    }
    }
    

This code targets mobile screens (up to 768px wide) and tells the main mobile header container (.header__mobile) to arrange its children in a row, with space distributed between them. Then, it explicitly sets the logo (.header__logo) to appear first (order: 1) and the icons (.header__icons) to appear second (order: 2). Remember, the exact class names (.header__mobile, .header__logo, .header__icons) might vary slightly in your Atlantic theme version, so you might need to inspect your site's code to find the precise selectors.

Approach 2: Alternative CSS Selectors & Media Query

Tim_tairli offered another set of CSS rules that might work if your Atlantic theme uses different class names or if you need a slightly different breakpoint:

@media (max-width: 959px) {
  .main-header--tools-left {
    justify-content: flex-end !important; /* relocate the menu/search buttons */
  }
  .store-title.store-logo {
    margin-left: 0rem ! important;        /* amend logo position -- can be negative to move it left */
    width: 33%;                           /* amend logo width */
  }
  .tool-container,.main-header--tools-left {
    gap: 0.5rem;                          /* more gap to allow for fat fingers */
  }
}

This code uses a broader media query (up to 959px) and different selectors like .main-header--tools-left and .store-title.store-logo. It also adds a nice touch by increasing the gap between icons, making them easier to tap on mobile – a thoughtful detail for user experience!

A Note on HTML Structure vs. CSS

Maximus3 made a good point: while CSS can often rearrange elements visually, for significant layout changes, sometimes modifying the actual HTML structure in files like sections/header.liquid or header.liquid can be more robust and prevent potential layout shifts or unexpected behavior. If you're comfortable digging into the Liquid files, looking at how these elements are rendered and repositioning them there can be a more permanent solution.

Tackling Text Styles: H4 & H5 All Caps

dlgillihan also asked about preventing H4 & H5 headings from being all caps. This is a common theme styling choice, and thankfully, it's an easy fix with CSS!

Your theme likely has a CSS rule like text-transform: uppercase; applied to these heading tags. To override it, you can add this to your custom CSS (in assets/theme.css, a custom CSS section, or even inline in theme.liquid if needed, though a stylesheet is preferred):

h4,
h5 {
  text-transform: none !important;
}

This tells the browser to display the text as it's typed, without forcing it to uppercase. If you want to force it to be lowercase, you could use text-transform: lowercase;, or for the first letter of each word to be capitalized, text-transform: capitalize;.

Important Safety First: Always Duplicate Your Theme!

I can't stress this enough, and Pratham_Jani rightly highlighted it: before you make any code changes, always duplicate your theme. This creates a backup you can instantly revert to if something goes wrong. It saves headaches and potential downtime for your store.

It's awesome to see the community come together to solve these kinds of challenges. Customizing your Shopify store, whether it's tweaking an icon or refining your mobile layout, is all part of building a unique and effective online presence. Don't be afraid to experiment (with a duplicated theme, of course!), and if you're just starting your journey or looking to make the leap to a powerful e-commerce platform, remember that starting a Shopify store gives you incredible flexibility for customization. Keep those questions coming, and happy customizing!

Share:

Start with the tools

Explore migration tools

See options, compare methods, and pick the path that fits your store.

Explore migration tools