Hi there, can someone help me to move the burger menu to the right side?
Thanks!
David
Main issue: Move the mobile hamburger (burger) menu to the right side of the header.
Context and clarifications needed:
Proposed approach (example for Dawn theme only):
Theme-specific considerations (Impulse):
Risks and caveats:
Next steps / status:
Hey David! @do03870
thanks for the question and you have reached the German community but English is fine too! Is there a concrete use-case why you want to move it to the right? And what theme is that?
The reason I’m asking follow-up questions is that there is information missing in your question above which can help us to help you! For example, do you want this change on desktop and on mobile or just on mobile as per your screenshot above?
Caveat: this will require a complex code solution across a few liquid files and such code changes can 1) slow down your page loading speeds, and 2) exclude your theme from any theme updates going forward! Just so you are aware of that…
In my Test-Dawn Theme I moved the Hamburger to the right on mobile by adding the following code to the bottom of → Assets → base.css:
@media screen and (max-width: 989px)
header-drawer {
justify-self: end !important;
}
But again, please test this in a theme copy first → theme → Actions → Duplicate → edit code. This is also theme-dependent and you may need to adapt the max-width px parameter to suit.
Hope that helps! ![]()
Dear Gabe,
thanks!
I’m using the Impulse Theme. So the code has to be different.
Best,
David
Yes that’s correct - I used Dawn above because you hadn’t disclosed your theme or why you want to achieve this in the first place. Perhaps the Impulse theme developers can help you if you contact them here? It would require a Code adjustment in the mobile header as well as an adjustment in the javascript and CSS. So it’s not that straightforward.
But perhaps you can find some threads in our EN community here that can help you further!