A user with the Local Theme is trying to achieve a specific header layout: centered logo on the first line, with centered menu and right-aligned cart on the second line. Currently, the logo and cart appear together on the first line, with the menu alone on the second.
Key responses:
Betterave-Nina explains this cannot be achieved with CSS alone, as the logo/cart and menu are in separate div containers. Editing the header.liquid file would be required to change the DOM structure.
But notes that achieving the exact requested layout requires theme code editing.
tim_1 provides more comprehensive CSS that centers both logo and menu while positioning cart buttons absolutely to the right. However, confirms that moving cart buttons to the menu line “can not be done nicely with CSS only” and suggests keeping them on the logo line where there’s more space.
Status: Partial solutions offered via CSS, but full layout requires liquid file modifications. User requested to share store URL for further assistance.
Summarized with AI on October 27.
AI used: claude-sonnet-4-5-20250929.
Hi! I have the Local Theme and I have been trying to center the Logo and the menu but haven’t had luck. I have tried with all the solutions already offered in this forum but none seemed to work with my theme.
My goal:
| [logo] |
| [menu] [cart] |
What it currently looks like:
| [logo] [cart]|
| [menu] |
I also posted a Screen shot of what it currently looks like.
It wouldn’t be possible to style this with just CSS as the logo and buttons are located within one div and the menu is rendered with a sibling div. You can’t change the DOM order with CSS.
This change would require editing your header.liquid file, most likely, or another corresponding .liquid file.
Moving Account/Cart buttons to the menu line can not be done nicely with CSS only; also, as seen in the screenshot – they would not fit, there is much more space for them in the logo line.