New Shopify Certification now available: Liquid Storefronts for Theme Developers

Move header icons slightly left (Dawn theme)

Solved
Loz86
Excursionist
40 1 5

Store url: https://onlinebeautyessentials.com/

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

 

Loz86_0-1699548504017.png

Like this..

 

Loz86_1-1699548562368.png

 

 

Accepted Solution (1)
Made4uo-Ribe
Shopify Partner
4235 979 1193

This is an accepted solution.

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;
}

 

  • And Save. 
  • Result:
  • Made4uoRibe_0-1699549274363.png

     

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

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


View solution in original post

Replies 9 (9)
Abdosamer
Shopify Partner
462 75 71

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

@media (min-width:990px){
      .header.page-width .header__icons {
      .padding-right: 14rem !important;
   }
Email : abdelrahamansamer71@gmail.com
Buy me a Coffee
Chat on WhatsApp
Loz86
Excursionist
40 1 5

Thanks Abdosamer,

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

Thanks as always anyway!

Abdosamer
Shopify Partner
462 75 71

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

Email : abdelrahamansamer71@gmail.com
Buy me a Coffee
Chat on WhatsApp
Loz86
Excursionist
40 1 5

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 ✌🙂

Made4uo-Ribe
Shopify Partner
4235 979 1193

This is an accepted solution.

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;
}

 

  • And Save. 
  • Result:
  • Made4uoRibe_0-1699549274363.png

     

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

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


Made4uo-Ribe
Shopify Partner
4235 979 1193

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:

Made4uoRibe_0-1699552107364.png

 

 

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

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


Loz86
Excursionist
40 1 5

Legend, enjoy the coffee ✌

Made4uo-Ribe
Shopify Partner
4235 979 1193

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:

Made4uoRibe_2-1699630486032.png

 

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


Made4uo-Ribe
Shopify Partner
4235 979 1193

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

 

 

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