How to make header full width in Dawn Theme

Solved

How to make header full width in Dawn Theme

blushingbelle
Tourist
17 0 1

Hello! I would like to make my header full width in Dawn Theme. It currently has side padding with a different color. How can I change this?

Accepted Solution (1)

GTLOfficial
Shopify Partner
856 176 191

This is an accepted solution.

Hello @blushingbelle 
Go to online store ----> themes ----> actions ----> edit code ---->base.css
add this code at the end of the file and save.

@media screen and (min-width: 990px) {
.header-wrapper.color-scheme-1.gradient.header-wrapper--border-bottom {
max-width: 100% !important;
}
.header:not(.drawer-menu).page-width {
max-width: 100% !important;
}
.header--middle-left .header__inline-menu {
margin-left: 33rem !important;
}
.header__menu-item {
padding: 2.2rem !important;
}
}

result
96.png

If this was helpful, hit the like button and accept the solution.
Thanks

- Buy me a Pizza
- If helpful then please Like and Accept Solution.
- Want to modify or custom changes or bug fix on the store Hire me. GTL web solutions
- Want Complete Storefront: Send an email ⇨- Email: info@gtlofficial.com - Skype: ritesh_27dh

View solution in original post

Replies 9 (9)

suyash1
Shopify Partner
10996 1361 1738

@blushingbelle - can you please share your website link?

To build shopify pages use PAGEFLY | Contact me - suyash.patankar@gmail.com , My timezone is GMT+5:30.

Tech_Coding
Shopify Partner
514 132 131

Hello @blushingbelle 

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 </body> on theme.liquid
<style>
   .header-wrapper {
      max-width: 100% !important;
    }
</style>
RESULT:

Tech_Coding_0-1735614569762.png

my reply helpful? Click Like to let me know!
your question answered? Mark it as an Accepted Solution.

my reply helpful? Click Like to let me know!
your question answered? Mark it as an Accepted Solution.
Shopify UI Developer
Your Coffee Tips adds a little sweetness to my day.

Dan-From-Ryviu
Shopify Partner
11742 2303 2487

Hi @blushingbelle 

Please add this code to Custom CSS in Online Store > Themes > Customize > Theme settings. 

header {
max-width: 100% !important;
}

- Helpful? Like & Accept solution! - Support me? Buy me a coffee
- Ryviu - Product Reviews & QA app: Collect customer reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Dhgate and CSV.
- Reton: Loyalty & Rewards - Earn points through tasks, redeem for discounts, and enjoy exclusive VIP rewards!
- Lookfy Gallery: Lookbook Image - Gain customers with photo gallery, video & shoppable image
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- En...
Sign up now.

DaisyVo
Shopify Partner
4447 496 590

HI @blushingbelle ,

You can follow the steps here:

 

Step 1: Shopify admin > Online store > Customize: https://prnt.sc/XQ6IDB99kUCd
Step 2: From the left menu > Theme settings > Open Custom CSS: https://prnt.sc/ypQ7nly2wv27
Step 3: Copy the code below and paste it there

 

Here is the code for step 3:

header.header {
    max-width: 100% !important;
}

 

This is the code applied for Dawn Theme.

Please let me know if it works!

 

Best,

Daisy

Please let us know if our reply is helpful by giving it a Like or marking it as a Solution!

Avada SEO & Image Optimizer - The #1 SEO solution

GTLOfficial
Shopify Partner
856 176 191

This is an accepted solution.

Hello @blushingbelle 
Go to online store ----> themes ----> actions ----> edit code ---->base.css
add this code at the end of the file and save.

@media screen and (min-width: 990px) {
.header-wrapper.color-scheme-1.gradient.header-wrapper--border-bottom {
max-width: 100% !important;
}
.header:not(.drawer-menu).page-width {
max-width: 100% !important;
}
.header--middle-left .header__inline-menu {
margin-left: 33rem !important;
}
.header__menu-item {
padding: 2.2rem !important;
}
}

result
96.png

If this was helpful, hit the like button and accept the solution.
Thanks

- Buy me a Pizza
- If helpful then please Like and Accept Solution.
- Want to modify or custom changes or bug fix on the store Hire me. GTL web solutions
- Want Complete Storefront: Send an email ⇨- Email: info@gtlofficial.com - Skype: ritesh_27dh
blushingbelle
Tourist
17 0 1

This worked! Thank you!

GTLOfficial
Shopify Partner
856 176 191

Happy to help you...!!!
Please hit the like button also.

- Buy me a Pizza
- If helpful then please Like and Accept Solution.
- Want to modify or custom changes or bug fix on the store Hire me. GTL web solutions
- Want Complete Storefront: Send an email ⇨- Email: info@gtlofficial.com - Skype: ritesh_27dh

oscprofessional
Shopify Partner
16374 2441 3189

Hi @blushingbelle ,

Go to Online Store > Themes > Actions > Edit Code > base.css
Add below code in base.css  file

header.page-width {
    max-width: 100%;
}

 

 

Hire us | Pass Core Web Vital | B2B Wholesale Experts | Claim Your Free Website Review |
Connect with Us: WhatsApp | Skype: oscprofessionals-87 | Email: pallavi@oscprofessionals.com |
Custom Shopify SolutionsPrivate Apps, Theme Customization & SEO | Digital Marketing |
OSCP Apps: Discount Suite | Wholesale App | Bundle & Upsell | Shipping Discount | and more...

Kyle_liu
Shopify Partner
431 53 75

Hi @blushingbelle 

 

You can edit theme code

.header-wrapper {
  max-width: 100% !important;
}

 

Kyle_liu_0-1735627833287.png

click Header section

Kyle_liu_1-1735627867500.png

 

If this is helpful, please Like and Accept the solution.
Want to modify or custom changes on store? Let me help.
- Feel free to contact me Email Me Buy Me A Coffee