Unlock a Unique Look: How to Add a Vertical Left Nav & Mobile Bottom Bar to Your Shopify Dawn Theme
Hey there, fellow store owners! Ever scroll through a beautiful website and notice a super slick navigation setup – maybe a vertical menu neatly tucked away on the left for desktop, then seamlessly transforming into a fixed bar at the bottom for mobile? It’s a fantastic way to offer a clean, modern look and improve user experience, especially on mobile where screen real estate is precious.
Recently, a store owner named vaniiccc brought this exact design challenge to the Shopify community forum, asking if it was possible to achieve this look on the popular Dawn theme. And as usual, the community stepped up with some truly insightful and actionable solutions! Let's dive into what we learned and how you can implement this cool navigation style for your own store.
The Dawn Theme & Custom Navigation: A Community Deep Dive
First off, it’s important to know that the standard Dawn theme doesn't offer this vertical left navigation or fixed mobile bottom bar out of the box. As Maximus3 pointed out in the thread, some older themes, like a specific version of Broadcast, used a more complex JavaScript-driven approach (think Alpine.js overlays) for this kind of menu. But don't worry, you don't need to rebuild your store from scratch to get a similar modern feel on Dawn.
The beauty of Shopify's flexibility, especially for those who want to start their own online store, is that with a bit of custom code (CSS and Liquid), you can achieve quite a lot. Our community experts offered a few pathways, but one solution really stood out for its completeness and ease of implementation.
The Comprehensive 'Custom Liquid' Approach
Ploqo shared a brilliant, ready-to-use solution that tackles both the desktop vertical rail and the mobile fixed bottom bar. What’s great about this is that it leverages the 'Custom Liquid' section within the theme editor, making it relatively straightforward to add without directly editing core theme files (though it's always smart to duplicate your theme first!).
Here’s how Ploqo's solution looks in action:
Desktop View: Vertical Left Rail
Mobile View: Fixed Bottom Bar
Step-by-Step: Implementing the Custom Navigation
Ready to give this a try? Here are the detailed steps, based on Ploqo’s excellent guide:
- Duplicate Your Theme: Seriously, this is step zero for any code change! Go to Online Store > Themes, find your Dawn theme, click Actions > Duplicate. Work on the duplicate copy.
- Access the Customizer: On your duplicated theme, click Customize.
- Add a Custom Liquid Section: In the left panel of the customizer, under the Header section, click Add section. Scroll down and select Custom Liquid.
- Position the Section: Drag the newly added 'Custom Liquid' section to the very top of your Header sections list. This ensures it loads before other header elements and can properly hide them.
- Paste the Code: In the 'Custom Liquid' section settings, you'll see a code input area. Paste the entire code block provided below into this area.
- Save Your Changes: Click Save in the top right corner.
This code hides Dawn's default top header, ensuring only your new custom navigation shows. Here's the code:
{%- capture nav -%}
Menu
Search
Wish List
Recent
{%- endcapture -%}
{%- capture logo -%}
{% if settings.logo != blank %}
{% else %}{{ shop.name }}{% endif %}
{%- endcapture -%}
Customizing Your New Navigation
Ploqo's code is pretty flexible. Here’s how you can tweak it:
- Colors and Width: At the very top of the
block, you'll find these CSS variables:
Adjust:root{ --rail-bg:#f4f0e6; --rail-fg:#1a1a1a; --rail-w:104px; }--rail-bgfor the background color,--rail-fgfor the foreground/text color, and--rail-wfor the width of the desktop vertical rail. - Logo: Make sure you've uploaded your store's logo in Theme settings > Logo. It will automatically appear in both the desktop rail and the mobile's central circle.
- Menu & Search: These work out-of-the-box, linking to your
main-menulinklist and Shopify's native search. - Wish List & Recent: The provided code includes placeholders for 'Wish List' and 'Recent'. These aren't native Dawn features. You can either:
- Point 'Wish List' to a specific wishlist app (like Wishlist Plus, Growave, or Wishlist King) if you have one installed.
- Swap these out for other common navigation items like 'Cart' or 'Account' by changing the SVG icon and the
hreflink.
Important Mobile Considerations
New_Dev chimed in with a crucial tip for the mobile bottom menu: ensure you leave enough bottom spacing on your pages. This prevents the fixed navigation bar from covering up important content at the bottom of your product descriptions or footers. They also wisely suggested adding padding-bottom specifically for iPhones to ensure the menu sits nicely above the home indicator bar, providing a clean user experience.
Alternative: Direct CSS Manipulation
Before Ploqo's full solution, mastroke offered a direct CSS approach for the desktop vertical nav. This is a good option if you're only looking to modify the desktop header and prefer to work directly with Dawn's existing header classes. You'd paste this into your theme's main CSS file (e.g., base.css or a custom CSS file you create):
@media screen and (min-width: 990px) {
/* Turn the header into a fixed left sidebar */
.header-wrapper {
position: fixed;
top: 0;
left: 0;
width: 240px;
height: 100vh;
overflow-y: auto;
border-bottom: none;
border-right: 1px solid rgba(var(--color-border), 0.2);
}
.header {
display: flex;
flex-direction: column;
align-items: flex-start;
padding: 30px 20px;
height: 100%;
}
/* Stack the menu vertically */
.header__inline-menu {
margin-top: 30px;
width: 100%;
}
.list-menu--inline {
display: flex;
flex-direction: column;
align-items: flex-start;
gap: 12px;
}
/* Push page content to the right so it doesn't sit under the sidebar */
.shopify-section-header + * ,
main#MainContent {
margin-left: 240px;
}
/* Optional: hide the sticky header behavior since it's now a fixed sidebar */
.header-wrapper--sticky {
position: fixed;
}
}
This CSS snippet effectively transforms Dawn’s default header into a fixed left sidebar for desktop screens wider than 990px, and it pushes your main content over to avoid overlap. It doesn't, however, include the mobile bottom bar functionality, which is why Ploqo's solution is more comprehensive for the original request.
Whether you go with the full 'Custom Liquid' solution or a more targeted CSS tweak, the Shopify community truly shines when it comes to finding creative ways to make your store stand out. Remember to always test your changes thoroughly on a duplicate theme and across different devices before publishing live. Happy customizing!



