increasing height of header in mobile view - dawn theme

Solved
DSS5
Explorer
77 0 21

hi guys, can someone help to increase the height of header in mobile view only. as in screenshot below. logo is looking very tight on top and bottom margin... in desktop view its ok but in mobile it is not great. is there anyway to  creat a gap between top and bottom margin in Header Logo?

 

url - deshoeshop com

Screen Shot 2023-10-22 at 7.42.32 pm.png

Accepted Solution (1)
fadi_yousif
Shopify Partner
314 40 53

This is an accepted solution.

Is this good?

Screenshot from 2023-10-22 14-33-41.png

Navigate to the code editor: Online store --> Themes --> Edit code --> assets --> base.css. Add the following to the end of the file:

 

@media screen and (max-width: 990px) {
  header.header.header--top-center.header--mobile-center.page-width.header--has-menu.header--has-social {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
  }
}

 

Freelance Shopify Developer | Helping Shopify merchants grow with high-converting online stores!
 - Did I help? Leave a tip!
 - Need my help? Chat on Telegram or WhatsApp
 - Was your question answered? Mark it as an Accepted Solution

View solution in original post

Replies 2 (2)
fadi_yousif
Shopify Partner
314 40 53

This is an accepted solution.

Is this good?

Screenshot from 2023-10-22 14-33-41.png

Navigate to the code editor: Online store --> Themes --> Edit code --> assets --> base.css. Add the following to the end of the file:

 

@media screen and (max-width: 990px) {
  header.header.header--top-center.header--mobile-center.page-width.header--has-menu.header--has-social {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
  }
}

 

Freelance Shopify Developer | Helping Shopify merchants grow with high-converting online stores!
 - Did I help? Leave a tip!
 - Need my help? Chat on Telegram or WhatsApp
 - Was your question answered? Mark it as an Accepted Solution

Made4uo-Ribe
Shopify Partner
4122 946 1152

Hi @DSS5 

Try 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:

 

@media only screen and (max-width: 989px){
header.header.header--top-center.header--mobile-center.page-width.header--has-menu.header--has-social {
    padding: 20px;
}
}

 

  • And Save. 
  • Result:
  • Made4uoRibe_0-1697976956101.png
  • Note: You can decrease or Increase the size of 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