Solved

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

MMast
Explorer
115 0 8

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
5515 1326 1633

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!

Please don't forget to 

Like

 and 

Mark Solution 

to the post that helped you. Thanks!
Sip, savor, and support – your

Coffee Tip

 helps us keep coding magic.❤️❤️❤️
Need a knowledgeable developer? Come and visit us at

Made4uo.com


View solution in original post

Replies 6 (6)

Made4uo-Ribe
Shopify Partner
5515 1326 1633

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!

Please don't forget to 

Like

 and 

Mark Solution 

to the post that helped you. Thanks!
Sip, savor, and support – your

Coffee Tip

 helps us keep coding magic.❤️❤️❤️
Need a knowledgeable developer? Come and visit us at

Made4uo.com


MMast
Explorer
115 0 8

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

Made4uo-Ribe
Shopify Partner
5515 1326 1633

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. 

Please don't forget to 

Like

 and 

Mark Solution 

to the post that helped you. Thanks!
Sip, savor, and support – your

Coffee Tip

 helps us keep coding magic.❤️❤️❤️
Need a knowledgeable developer? Come and visit us at

Made4uo.com


MMast
Explorer
115 0 8

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

Made4uo-Ribe
Shopify Partner
5515 1326 1633

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.

Please don't forget to 

Like

 and 

Mark Solution 

to the post that helped you. Thanks!
Sip, savor, and support – your

Coffee Tip

 helps us keep coding magic.❤️❤️❤️
Need a knowledgeable developer? Come and visit us at

Made4uo.com


PageFly-Henry
Astronaut
983 281 225

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.