Shopify themes, liquid, logos, and UX
Hi!
im wondering if it’s possible to reduce the size of the mobile header? I have lots of black space around my logo and would like the header to be a bit smaller 🙂
Preview link of my store is https://0q4y9pn25qi3so13-8439839.shopifypreview.com
Solved! Go to the solution
This is an accepted solution.
Hello @Gypsymoon 👋
Inside Shopify Admin, you can go to Edit theme code, open file base.css and add this code at the bottom
.header--mobile-center {
padding-top: 0 !important;
padding-bottom: 0 !important;
}
The result
Hope that helps!
Hi @Gypsymoon ,
You can try this code by following these steps:
Step 1: Go to Online Store->Theme->Edit code.
Step 2: Search file theme.liquid
Step 3: Paste the below code at the bottom of the file -> Save
<style>
@media(max-width:767px){
body{
min-width:unset !important;
overflow-x:hidden
}
}
</style>
Hope my solution works perfectly for you!
Best regards,
Oliver | PageFly
Please let me know if it works by giving it a Like or marking it as a solution!
PageFly - #1 Page Builder for Shopify merchants.
All features are available from Free plan. Live Chat Support is available 24/7.
This is an accepted solution.
Hello @Gypsymoon 👋
Inside Shopify Admin, you can go to Edit theme code, open file base.css and add this code at the bottom
.header--mobile-center {
padding-top: 0 !important;
padding-bottom: 0 !important;
}
The result
Hope that helps!
Thank you so much!!
You are welcome!
Hi @Gypsymoon
You can add this code to your theme.liquid file before </head> tag to do that
<style>
@media screen and (max-width: 767px) {
.header__heading-logo { heigh: 50px !important; }
}
</style>
- Helpful? Like and Accept a solution. - Donate: Buy coffee ☕- or Paypal me ❤️
- Ryviu - Product Reviews app, collect consumer photo reviews, import reviews from AliExpress, Amazon, Etsy, Shoppe and Walmart and CSV.
- Lookfy app: Create Image Lookbook, Photo Gallery with product hotspots
- Enjoy 3 months of Shopify for $1/month. Sign up now
User | RANK |
---|---|
229 | |
165 | |
66 | |
55 | |
49 |
On our Shopify Expert Marketplace, you can find many trusted third party developers and fr...
By Arno Nov 27, 2023You've downloaded the Search & Discovery app from the Shopify App store, and as you're ...
By Skye Nov 8, 2023The year-end shopping season is just around the corner. Is a flash sale on your radar? Are...
By Jasonh Nov 6, 2023