How can I center the logo and move the menu to the left in Crave theme?

Topic summary

A user seeks to center their logo and move the menu to the left in Shopify’s Crave theme.

Initial Guidance:

  • Check theme customizer settings in the header section before attempting custom code edits.

Solutions Provided:
Multiple CSS solutions were offered targeting both desktop and mobile views:

  • Custom CSS added via theme customizer (Settings → Custom CSS)
  • Code injection in theme files (base.css, style.css, or theme.liquid)
  • Key CSS properties involve adjusting grid-template-columns, grid-template-areas, and justify-content for the header elements

Outcome:

  • The user confirmed one solution worked successfully
  • A follow-up indicated partial success with another approach, showing a screenshot at 09:34:27
  • The issue appears largely resolved, though one implementation had minor limitations
Summarized with AI on November 13. AI used: claude-sonnet-4-5-20250929.

Hi, how to make the logo in the center and the menu on the left? It’s crave theme.

Thanks a lot!

Website: aromeli.com

1 Like

@ugneugne - please open your customize settings and check if you have any settings in the header section to make logo center.

if no then custom code editing is needed

Hey @ugneugne ,

Please use this CSS code in the Custom CSS box in the theme customizer → settings

h1.header__heading {
    grid-column: 2;
    width: 100%;
    display: flex;
    justify-content: center;
    transform: translateX(-15%);
}

nav.header__inline-menu {
    grid-column: 1;
}

Which you can find here

1 Like

Hi @ugneugne

Which screen is this? Desktop of Mobile?

From your Shopify admin dashboard, click on “Online Store” and then “Themes”.

Find the theme that you want to edit and click on “Actions” and then “Edit code”.

In the “Assets” folder, click on “base.css, style.css or theme.css” file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:

In the mobile:

@media screen and (max-width: 989px){
.header--mobile-left {
    grid-template-columns: 1fr auto 1fr;
}
.header--mobile-left .header__heading, .header--mobile-left .header__heading-link {
    justify-self: center;
}
}

In the Dekstop:

@media screen and (min-width: 990px) {
.header--middle-left {
    grid-template-areas: "navigation heading icons" !important;
    grid-template-columns: 1fr auto 1fr !important;
}
}

And Save.

Result:

Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!

Hello @ugneugne

You can add code by following these steps

  1. Go to Online Store → Theme → Edit code.

  2. Open your theme.liquid file

  3. Paste the below code before on theme.liquid

Desktop View: @media screen and (min-width: 990px){ .header--middle-left { grid-template-areas: "navigation heading icons" !important; grid-template-columns: 1fr 1fr auto !important; } } Mobile view: @media screen and (max-width: 767px){ .header { padding: 10px 1rem !important; } .header__icons { justify-self: center !important; padding-right: unset !important; align-items: center !important; } }

1 Like

Thanks a lot this worked wonders! :smiling_face_with_sunglasses:

1 Like

Hi! Thanks a lot, it worked partially!

Thank you!