Move header icons slightly left (Dawn theme)

Topic summary

A store owner needs to reposition three header icons slightly to the left (above “Contact Us”) on their Dawn theme Shopify store.

Initial Solutions Provided:

  • Two contributors offered CSS code snippets to add to the base.css file
  • Both solutions involved modifying .header__icons padding/justification properties using media queries for screens wider than 990px

Resolution Process:

  • The first solution contained a typo (missing dot before padding-right property) and didn’t work
  • The second solution successfully moved the icons as requested
  • The store owner marked this solution as resolved

Follow-up Adjustments:

  • Additional CSS tweaks were provided for mobile responsiveness (max-width: 749px)
  • Further refinements addressed specific icon sizing, including a wishlist app icon that needed width adjustment
  • Final code targeted .shopify-app-block and specific icon classes with !important flags to ensure proper spacing

Status: Resolved with multiple CSS snippets applied to base.css file for both desktop and mobile views.

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

Store url: https://onlinebeautyessentials.com/

Just need to move these three header icons left abit (to above “Contact Us”) with equal spacing

Like this..

1 Like

Hi @Loz86 , go to base.css file and add this snippet :

@media (min-width:990px){
      .header.page-width .header__icons {
      .padding-right: 14rem !important;
   }
1 Like

hi @Loz86

Check 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 screen and (min-width: 990px){
.header.page-width .header__icons {
    padding-right: 0rem !important;
}
}
.header__icons {
    justify-self: center !important;
}

Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!

1 Like

Thanks Abdosamer,

For some reason that didn’t move them but the snippet Made4uo-Ribe provided below did.

Thanks as always anyway!

Thanks, I made a typo mistake, it was the dot before padding-right property.

No problem at all.

Thanks again for the quick response to my question anyway and I’m sure I’ll run into another problem that requires a solution again soon :victory_hand: :slightly_smiling_face:

1 Like

Please check this one.

Same Instruction.

.shopify-app-block {
    width: 4rem !important;
}
@media only screen and (max-width: 749px){
.header__icons {
    margin-right: 3rem;
}
}

And save.

Result:

Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!

1 Like

Legend, enjoy the coffee :victory_hand:

1 Like

Check this one.

Same Instruction.

But replace the last code in the css or increase the size and put !important.

@media only screen and (max-width: 749px){
.header__icons {
    margin-right: 2rem !important;
}
}

And Save.

In your Base.css File.

Made4uoRibe_0-1699630417552.png

The current one.

Change like this.

Made4uoRibe_1-1699630463447.png

Result:

Add this one: On the bottom of the base.css.

a.site-header__icon.header__icon.link.link--text.focus-inset.wishlist-hero-header-icon {
 width: 4rem !important;
}

And Save.

Made4uoRibe_3-1699632942929.png

Made4uoRibe_5-1699632974294.png