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
Thanks to everyone who participated in our AMA with 2H Media: Marketing Your Shopify St...
By Jacqui Sep 6, 2024The Hydrogen Visual Editor is now available to merchants in Shopify Editions | Summer '...
By JasonH Sep 2, 2024Note: Customizing your CSS requires some familiarity with CSS and HTML. Before you cust...
By JasonH Aug 12, 2024