Reduce size of logo drawer and banner on mobile view - Dawn Theme

Solved

Reduce size of logo drawer and banner on mobile view - Dawn Theme

Julietteweb
Excursionist
58 0 10

Hello,

 

 

I wish I could reduce the size of my logo, drawer and banner on the mobile view.

All I can do on dawn Theme is adjusting the size on desktop in the edit of online store. 

 

How could I ajust this settings?

 

Here is the link of my website : https://ancestraathletes.com

 

 

Thank you for your help!

Accepted Solution (1)
GTLOfficial
Shopify Partner
543 115 108

This is an accepted solution.

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

@media screen and (max-width: 749px) {
header-drawer {
margin-left: -3.2rem;
}
.header--mobile-left .header__heading-link {
margin: -6px;
}
.header__icon--cart .icon {
height: 4.4rem !important;
width: 4.4rem !important;
}
}

result
1.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: [email protected] - Skype: ritesh_27dh

View solution in original post

Replies 8 (8)

Made4uo-Ribe
Shopify Partner
8202 1972 2410

Hi @Julietteweb 

PLease more specific. Or can provide an image which one you like to reduce? The Banner itself or the text? 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.
Julietteweb
Excursionist
58 0 10

Hi @Made4uo-Ribe ,

 

Thank you for taking the time to respond !

 

I'd like to reduce the size of the logo and the drawer design on the mobile header (circled in blue on the screenshot). I'd also like to be able to reduce the height of the header itself (in purple on the screenshot) on the mobile version.

 

 

Capture d’écran 2024-09-14 à 05.40.41.png

GTLOfficial
Shopify Partner
543 115 108

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

@media screen and (max-width: 749px) {
.header__heading-logo {
max-width: 70%;
}
.header {
padding: 5px 3rem 5px 3rem;
}
.header__icon .icon {
height: 1.5rem;
width: 1.5rem;
}
}

result
5.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: [email protected] - Skype: ritesh_27dh
Julietteweb
Excursionist
58 0 10

Hello @GTLOfficial 

 

I'm sorry I didn't see your answer earlier.

 

I added the code and it worked, but the shopping cart symbol became unreadable. (in yellow on the screenshot)

 

I'd like to reduce the space between the drawer and the logo (in blue) and I'd like to move the drawer and logo further to the left of the header (in red on the screenshot)

 

Thanks a lot for your time

 

logo size mobile header dawntheme.jpg

 

 

GTLOfficial
Shopify Partner
543 115 108

This is an accepted solution.

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

@media screen and (max-width: 749px) {
header-drawer {
margin-left: -3.2rem;
}
.header--mobile-left .header__heading-link {
margin: -6px;
}
.header__icon--cart .icon {
height: 4.4rem !important;
width: 4.4rem !important;
}
}

result
1.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: [email protected] - Skype: ritesh_27dh
Julietteweb
Excursionist
58 0 10

Hello @GTLOfficial 

 

I apologize for my late reply.

 

That did work ! Thank you for your time and your help !

GTLOfficial
Shopify Partner
543 115 108

Happy to help you...!!!
That would be great if you can buy me a pizza for my work in community.

- 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: [email protected] - Skype: ritesh_27dh
Made4uo-Ribe
Shopify Partner
8202 1972 2410

Thank you for the info, and sorry I didnt notice your reply here. 

Try this before, adding another code. 

From you Admin page, go to Online Store > Themes

Select the theme you want to edit

Under the Asset folder, open the main.css(base.css, style.css or theme.css)

Then place the code below at the very bottom of the file.

 

@media screen and (max-width: 749px) {
.header__heading-logo {
    width: 80%;
}
.header__heading-link {
    padding-bottom: 0;
    padding-top: 0;
}
}

 

And Save. 

Result:

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