How to reduce size of icons for MOBILE only to make logo symmetrical in the middle - Dawn Theme

Topic summary

A user seeks to reduce the size of search and cart icons in mobile view to center their logo symmetrically, as it currently appears skewed left due to icon sizing. The issue only affects mobile, not desktop.

Proposed Solutions:

Multiple respondents suggest similar CSS-based fixes:

  • Add custom CSS to either theme.liquid (above </body> tag) or base.css file
  • Target mobile devices using media query @media screen and (max-width: 767px)
  • Adjust icon dimensions by setting specific height values (22px-38px) for cart and hamburger menu icons using !important flags
  • Optionally resize logo with max-width or max-height properties to achieve better balance

All solutions involve accessing Online Store → Themes → Edit Code and modifying CSS files. The responses include code snippets and screenshots demonstrating the implementation steps. No follow-up from the original poster indicates whether any solution was successfully implemented.

Summarized with AI on November 22. AI used: claude-sonnet-4-5-20250929.

Hi I need help if anyone knows how to reduce the size of the search and cart icons for mobile view so that my logo will be symmetrical in the middle instead of slightly skewed to the left because of the icons size.

FYI, no issue with desktop view.

Web: https://dissy-co.myshopify.com/
Password: Cheolt

Hey @KelvinLeow
Follow these Steps:

  1. Go to Online Store
  2. Edit Code
  3. Find theme.liquid file and add the following code in the bottom of the file above

![Capture.JPG|352x654](upload://htDHxnzyTu8Va3BoNsy2hR8nhEm.jpeg)

Hi @KelvinLeow

This is Victor from PageFly - Shopify Page Builder App, I’d like to suggest this idea:

Online Store ->Theme ->Edit code

Assets ->Base.css

@media(max-width: 767px) {
.header__heading-logo {
    height: 26px !important;
}
}

Hope you find my answer helpful!

Best regards,

Victor | PageFly

Hi @KelvinLeow ,

Glad to support you today.

You can check out my suggestion below to get your concern resolved.

  1. Go to Edit code on Online Store:

  1. add my code above the tag on Theme.liquid:

Hope you find my answer helpful!

Kind & Best regards,
GemPages Support Team.

Hello There,

  1. In your Shopify Admin go to online store > themes > actions > edit code
  2. Find Asset >base.css and paste this at the bottom of the file:
@media screen and (max-width: 767px){
svg.icon.icon-cart-empty {
    height: 38px !important;
}
img.header__heading-logo {
    max-width: 150px;
}
svg.icon.icon-hamburger {
    height: 22px!important;
}
}