Move header content centre align and also underline

Solved

Move header content centre align and also underline

Shane_h
Pathfinder
101 3 25

Hi so i have tried a few options as normal after looking on Dr Google 😁 but no joy and wonder if anyone can help please 

 

2 things  im trying to do 

 

1 im trying move the header bottom items  (shop men, shop women etc ) to the middle not left aligned - does not appear to be an option within the charge theme i have 

 

2 put thin borderline underneath like the one above it 

 

its the charge theme - url is  https://kitout-fitness.co.uk/.  and image below thankyou

 

Image.png

 

Accepted Solution (1)

Made4uo-Ribe
Shopify Partner
10202 2422 3067

This is an accepted solution.

Hi @Shane_h 

Try this one. 

  1. From your Shopify admin dashboard, click on "Online Store" and then "Themes".
  2. Find the theme that you want to edit and click on "Actions" and then "Edit code".
  3. 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:
nav.header__inline-menu ul.list-menu {
    justify-content: center !important;
}

nav.header__inline-menu ul.list-menu:after {
        content: '';
        width: 100%;
        height: 1px;
        background: var(--color-foreground-10);
        margin-bottom: -.7rem;
}
  • And Save.
  • Result:
  • Made4uoRibe_0-1746904178400.png

     

 

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

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.

View solution in original post

Replies 2 (2)

Made4uo-Ribe
Shopify Partner
10202 2422 3067

This is an accepted solution.

Hi @Shane_h 

Try this one. 

  1. From your Shopify admin dashboard, click on "Online Store" and then "Themes".
  2. Find the theme that you want to edit and click on "Actions" and then "Edit code".
  3. 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:
nav.header__inline-menu ul.list-menu {
    justify-content: center !important;
}

nav.header__inline-menu ul.list-menu:after {
        content: '';
        width: 100%;
        height: 1px;
        background: var(--color-foreground-10);
        margin-bottom: -.7rem;
}
  • And Save.
  • Result:
  • Made4uoRibe_0-1746904178400.png

     

 

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

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.
Shane_h
Pathfinder
101 3 25

thankyou very much