How to centralize my menu

Solved

How to centralize my menu

Boops
Shopify Partner
29 0 14

Hi, I am using Globo menu, but it does not sit central on the page. I notice if I change the size of my logo, it pulls the menu left and right depending how big or small I make the logo. How could I fix this?

 

Many thanks

 

boops.co.uk

Accepted Solutions (2)

BSSCommerce-B2B
Shopify Partner
1719 512 575

This is an accepted solution.

@Boops ,

1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file

3. Paste the below code before </body> on theme.liquid

 

<style>
nav.header__inline-menu {
    position: absolute;
    width: 100%;
    left: 0;
    z-index: 0;
}
header .header__heading,
.header__icon.header__icon--account{
   z-index: 1!important
}
</style>

 

Result when I increase the logo size: 

BSSCommerceB2B_0-1726677697606.png

B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.


B2B Portal, Quote, Net 30: Speed up purchasing and streamline your quotation process with advanced features like quick order, request for quote.


B2B Lock Password Protect: Easily control access to pages, products, and pricing with robust features.


BSS Commerce - Full-service eCommerce Agency I Use Shopify for 1$ in the first month now

View solution in original post

BSSCommerce-B2B
Shopify Partner
1719 512 575

This is an accepted solution.

@Boops , Try replacing the previous code by this one

<style>
nav.header__inline-menu {
    position: absolute;
    width: 100%;
    left: 0;
    z-index: 0;
}
.header__heading-link, 
header .header__heading,
.header__icon.header__icon--account{
   z-index: 1!important
}
</style>

B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.


B2B Portal, Quote, Net 30: Speed up purchasing and streamline your quotation process with advanced features like quick order, request for quote.


B2B Lock Password Protect: Easily control access to pages, products, and pricing with robust features.


BSS Commerce - Full-service eCommerce Agency I Use Shopify for 1$ in the first month now

View solution in original post

Replies 9 (9)

BSSCommerce-B2B
Shopify Partner
1719 512 575

This is an accepted solution.

@Boops ,

1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file

3. Paste the below code before </body> on theme.liquid

 

<style>
nav.header__inline-menu {
    position: absolute;
    width: 100%;
    left: 0;
    z-index: 0;
}
header .header__heading,
.header__icon.header__icon--account{
   z-index: 1!important
}
</style>

 

Result when I increase the logo size: 

BSSCommerceB2B_0-1726677697606.png

B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.


B2B Portal, Quote, Net 30: Speed up purchasing and streamline your quotation process with advanced features like quick order, request for quote.


B2B Lock Password Protect: Easily control access to pages, products, and pricing with robust features.


BSS Commerce - Full-service eCommerce Agency I Use Shopify for 1$ in the first month now

Boops
Shopify Partner
29 0 14

Hi, thanks for the solution, it looked ok but now I notice there is a line going through my logo -

 

Boops_0-1726756032961.png

 

BSSCommerce-B2B
Shopify Partner
1719 512 575

@Boops , Did you change something? It looks like that now :))

BSSCommerceB2B_0-1726756189748.png

 

B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.


B2B Portal, Quote, Net 30: Speed up purchasing and streamline your quotation process with advanced features like quick order, request for quote.


B2B Lock Password Protect: Easily control access to pages, products, and pricing with robust features.


BSS Commerce - Full-service eCommerce Agency I Use Shopify for 1$ in the first month now

Boops
Shopify Partner
29 0 14

I was making small edits to understand the effect, I've reverted back to your original code now

Boops
Shopify Partner
29 0 14

I noted home screen is ok, but not in collections

BSSCommerce-B2B
Shopify Partner
1719 512 575

ok let me check

B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.


B2B Portal, Quote, Net 30: Speed up purchasing and streamline your quotation process with advanced features like quick order, request for quote.


B2B Lock Password Protect: Easily control access to pages, products, and pricing with robust features.


BSS Commerce - Full-service eCommerce Agency I Use Shopify for 1$ in the first month now

BSSCommerce-B2B
Shopify Partner
1719 512 575

This is an accepted solution.

@Boops , Try replacing the previous code by this one

<style>
nav.header__inline-menu {
    position: absolute;
    width: 100%;
    left: 0;
    z-index: 0;
}
.header__heading-link, 
header .header__heading,
.header__icon.header__icon--account{
   z-index: 1!important
}
</style>

B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.


B2B Portal, Quote, Net 30: Speed up purchasing and streamline your quotation process with advanced features like quick order, request for quote.


B2B Lock Password Protect: Easily control access to pages, products, and pricing with robust features.


BSS Commerce - Full-service eCommerce Agency I Use Shopify for 1$ in the first month now

Boops
Shopify Partner
29 0 14

thanks looks good. do you know notice when the page is drawn the menu flicks left and right and briefly shows the old menu underneath - do you know if its possible to clean that up?

Made4uo-Ribe
Shopify Partner
8230 1975 2419

Hi @Boops 

Do you mean in the desktop screen?

Your current menu now is center. 

Made4uoRibe_0-1726677474830.png

Made4uoRibe_1-1726677494217.png

Looks like not because of the 3 icons on the right. Do you want more adjustments? 

 

 

If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.
Need THEME UPDATES but has custom codes? No worries, contact us for affordable price.