How To Change Text Size And Spacing In The Header (Dawn Theme)

Solved

How To Change Text Size And Spacing In The Header (Dawn Theme)

MMast
Trailblazer
182 1 25

Thanks in advance!

I am looking to make the text bigger and get more spacing between my headings as well as spacing between the letters for a more visual appeal. Example shown below.

What my store looks like:

Screenshot 2024-03-17 122459.png

What I would like my store to look like:

Screenshot 2024-03-17 122615.png

Accepted Solution (1)

Made4uo-Ribe
Shopify Partner
8274 1985 2435

This is an accepted solution.

Hi @MMast 

Im not sure if this is what you want, but bear in mind this header nav will make a 2 line if the screen get smaller before the hamburger menu for mobile.

Check this one. 

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:

 

nav.header__inline-menu span {
    font-size: 25px;
    letter-spacing: 5px;
}
ul.list-menu.list-menu--inline {
    gap: 15px;
}

 

And Save. 

Result:

Made4uoRibe_0-1710694413358.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 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.

View solution in original post

Replies 6 (6)

Made4uo-Ribe
Shopify Partner
8274 1985 2435

This is an accepted solution.

Hi @MMast 

Im not sure if this is what you want, but bear in mind this header nav will make a 2 line if the screen get smaller before the hamburger menu for mobile.

Check this one. 

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:

 

nav.header__inline-menu span {
    font-size: 25px;
    letter-spacing: 5px;
}
ul.list-menu.list-menu--inline {
    gap: 15px;
}

 

And Save. 

Result:

Made4uoRibe_0-1710694413358.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 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.
MMast
Trailblazer
182 1 25

Thank you this worked! Is there any way I can adjust horizontally/vertically the positioning?

Made4uo-Ribe
Shopify Partner
8274 1985 2435

Do you mean the spaces right? For the dekstop you can adjust the gap, Its given on the code. On the mobile you can adjust the padding. 

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.
MMast
Trailblazer
182 1 25

No I mean like moving it left/right and up/down.

Made4uo-Ribe
Shopify Partner
8274 1985 2435

oh, If you like to move freely your main menu that need a developer to add more default buttons or option in your costumize theme. We can but it would be hard coded and not dynamic.

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.

PageFly-Henry
Shopify Partner
1184 335 290

Hi @MMast 

This is Henry from PageFly - Landing Page Builder App

 

You can try this code by following these steps: 

Step 1: Go to Online Store->Theme->Edit code.

Step 2: Search file base.css

Step 3: Paste the below code at bottom of the file -> Save


.header__inline-menu span {

    font-size: 20px !important;

}

 

Hope that my solution works for you.

Best regards,

Henry | PageFly

Please let me know if it works by giving it a Like or marking it as a solution!


PageFly - #1 Page Builder for Shopify merchants.


All features are available from Free plan. Live Chat Support is available 24/7.