How do i change the positioning of my logo so it sits lower in my header

Solved

How do i change the positioning of my logo so it sits lower in my header

BWFC6674
Tourist
10 0 3

I am trying to make my logo sit slightly lower on all pages in my shop. Does anyone know how to do this (I have attached a picture below for reference). I have circled in red where i want my logo to be in the header, which is below the cart icon and the 3 lines but still central. 

 

for shopify community notes .jpg

Thanks a lot, 

Accepted Solution (1)
Made4uo-Ribe
Shopify Partner
10038 2387 3014

This is an accepted solution.

Try this one again.

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 "theme. Liquid" file. Find the </body> tag and paste the code below before the tag. 

 

<style>
@media only screen and (max-width:999px){
h1.header__heading {
    height: 40%;
}
.heading {
    padding-top: 0px !important;
}
}
</style>

 

And Save. 

If still not working add important.

 

<style>
@media only screen and (max-width:999px){
h1.header__heading {
    height: 40% !important;
}
.heading {
    padding-top: 0px !important;
}
}
</style>

 

And save. 

 

 

 

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 7 (7)

Made4uo-Ribe
Shopify Partner
10038 2387 3014

Hi @BWFC6674 

Would you mind to share your Store URL website? with password if its unpublish. 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.
BWFC6674
Tourist
10 0 3

https://kitsunet.co/

 

I have just made it public so you should be able to view, thanks 🙂

Made4uo-Ribe
Shopify Partner
10038 2387 3014

Thanks for the info, do you mean like this?

Made4uoRibe_0-1702583570499.png

if it is 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 only screen and (max-width:999px){
h1.header__heading {
    height: 40%;
}
.heading {
    padding-top: 0px !important;
}
}

 

And Save, 

 

 

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.
BWFC6674
Tourist
10 0 3

I do mean like this 🙂 I have tried the code but it didnt seem to work, is there any other solution?

BWFC6674
Tourist
10 0 3

It seems to have only worked for the home page and not all pages, is there a way to have it on all pages?

Made4uo-Ribe
Shopify Partner
10038 2387 3014

This is an accepted solution.

Try this one again.

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 "theme. Liquid" file. Find the </body> tag and paste the code below before the tag. 

 

<style>
@media only screen and (max-width:999px){
h1.header__heading {
    height: 40%;
}
.heading {
    padding-top: 0px !important;
}
}
</style>

 

And Save. 

If still not working add important.

 

<style>
@media only screen and (max-width:999px){
h1.header__heading {
    height: 40% !important;
}
.heading {
    padding-top: 0px !important;
}
}
</style>

 

And save. 

 

 

 

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.
BWFC6674
Tourist
10 0 3

I have tried these and it appears to still only be working on the home page