I have encountered a weird issue, where my page looks normal on pages with content, but on pages without much content such as the login page and search page, it will automatically create a large gap in the announcement bar. I have tried disabling the announcement bar and the gap moved to the main section instead. Has anyone encountered this issue and know how to fix it? Thanks.
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:
Thanks for the quick reply, it does seem to fix the issue, but I want to keep both announcement bars(light blue and dark blue), is there a way to keep them both and remove just the gap? Thanks.