All things Shopify and commerce
Hello,
I know there are numerous responses on this topic however, none worked for me. Can anyone help with a code to reduce the white space below my logo? It's in the header box. I have checked the image, It has no white space around it.
On desktop version, the space is perfect. Please see below what I am talking about
Hi @deezaorganics ,
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){
#shopify-section-sections--19289120112922__header .header__search summary,#Details-menu-drawer-container summary{
align-items: center;
justify-content: center;
display: flex;
}
}
</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.
Hiya!!!
Thank a lot for your input however there was no difference when i added the code
Discover how to increase customer engagement on your store with articles from Shopify A...
By Jacqui Apr 23, 2025Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025