All things Shopify and commerce
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.
Thanks a lot,
Solved! Go to the solution
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!
Hi @BWFC6674
Would you mind to share your Store URL website? with password if its unpublish. Thanks!
Thanks for the info, do you mean like this?
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!
I do mean like this 🙂 I have tried the code but it didnt seem to work, is there any other solution?
It seems to have only worked for the home page and not all pages, is there a way to have it on all pages?
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!
I have tried these and it appears to still only be working on the home page
Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025