Re: How to adjust the header width on mobile devices? DAWN theme.

How to adjust the header width on mobile devices? DAWN theme.

Sixpieces
Shopify Partner
16 0 1

How to adjust the header width on mobile devices, I want to move the hamburger menu and search and bag icon more to the side, they are too close to the logo. I am using the dawn theme.a9221681b5cf49982295708c19515605.png

Replies 6 (6)

PageFly-Noah
Shopify Partner
1317 233 279

This is Noah from PageFly - Shopify Page Builder App

Hi @Sixpieces  You can change position by edit code here:

PageFlyNoah_0-1717032604327.png

PageFlyNoah_1-1717032717425.png

Hope my solution will help you resolve the issue.

 

Best regards,

Noah | 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.

Sixpieces
Shopify Partner
16 0 1

@EBOOST This didnt work.

EBOOST
Shopify Partner
1281 326 382

Hi,

You mean like the screenshot below?

EBOOST_0-1717063013434.png

 

- Hope can help. If you find my reply helpful, please hit Like and Mark as Solution
- Need a Shopify developer? Contact email: eboost10@gmail.com
- Visit our site: https://www.eboosttech.net to view and download shopify themes and magento2 extensions free
- ❤❤DONATE ❤❤Coffee tips
Sixpieces
Shopify Partner
16 0 1

@EBOOST Yes exactly like that. I just want to be able to decide what I want as the header width.

 

Also why can't I just edit the dawn theme code? The concept of adding code is weird to me because I assume there already is code for this, so how can I add new code that changes the width of the header, without removing the existing or just editing this code, to me this sounds like it will just break the website.

EBOOST
Shopify Partner
1281 326 382

Hi,

If you don't want add code to Assets/base.css. You can go to customize -> settings -> custom CSS add code below

@media(max-width: 749px){
  body .header{
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  header .header__icon, header .header__icon--cart .icon{
    height: 3rem;
    width: 3rem;
  }
  header header-drawer {
    margin-left: -0.5rem;
  }
  header .cart-count-bubble {
    bottom: 1.5rem;
    left: 1.5rem;
  }
}

EBOOST_1-1717071366782.png

 

EBOOST_0-1717071353299.png

 

 

- Hope can help. If you find my reply helpful, please hit Like and Mark as Solution
- Need a Shopify developer? Contact email: eboost10@gmail.com
- Visit our site: https://www.eboosttech.net to view and download shopify themes and magento2 extensions free
- ❤❤DONATE ❤❤Coffee tips

EBOOST
Shopify Partner
1281 326 382

Hi @Sixpieces ,

May I suggest to update code these steps:

1. Go to Store Online-> theme -> edit code

EBOOST_1-1672356985580.png
2. Assets/base.css
3. Add code below to end of file

@media(max-width: 749px){
  .header{
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  .header__icon, .header__icon--cart .icon{
    height: 4rem;
    width: 4rem;
  }
}

 

- Hope can help. If you find my reply helpful, please hit Like and Mark as Solution
- Need a Shopify developer? Contact email: eboost10@gmail.com
- Visit our site: https://www.eboosttech.net to view and download shopify themes and magento2 extensions free
- ❤❤DONATE ❤❤Coffee tips