How can I modify the header padding on my desktop?

Solved

How can I modify the header padding on my desktop?

L25HRY
Excursionist
15 1 5

How do I adjust the header padding on desktop?       ***Picture Below***

 

I feel the logo and cart are to central. I would like them pushed left and right a bit.

 

Can someone please point me in the right direction.

 

Thanks

 

WEB URL - https://25f61a-2.myshopify.com/

 

header-padding.jpg

Accepted Solution (1)

Made4uo-Ribe
Shopify Partner
10048 2390 3017

This is an accepted solution.

Hi @L25HRY 

Do you mean more near on the side? If it is try this. 

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

 

header.header.header--middle-left.header--mobile-center.page-width.header--has-menu.header--has-social {
    padding-left: 0px;
    padding-right: 0px;
}

 

  • And Save. 
  • Result:
  • Ribe_Dagandara_0-1693430994640.png

     

i hope it help.

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 are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.

View solution in original post

Replies 3 (3)

Made4uo-Ribe
Shopify Partner
10048 2390 3017

This is an accepted solution.

Hi @L25HRY 

Do you mean more near on the side? If it is try this. 

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

 

header.header.header--middle-left.header--mobile-center.page-width.header--has-menu.header--has-social {
    padding-left: 0px;
    padding-right: 0px;
}

 

  • And Save. 
  • Result:
  • Ribe_Dagandara_0-1693430994640.png

     

i hope it help.

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 are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.
L25HRY
Excursionist
15 1 5

Much appreciated! It worked!

marthedesigner
Shopify Partner
18 0 1

Hi, could you help on adding how to make this /move the logo more to the right, but without changing where the header exists.

☁️ Email Marketing, SEO and Ecommerce + Klaviyo and Shopify Certified Partner 落