How can I get rid of this white bar at the top of this page?
This is actually your announcement bar
Add a background color to it from the customizer, you will see the text and also if it rovides an option to take this full width.
Best
Hey @tedenfield96
Follow these Steps:
- Go to Online Store
- Edit Code
- Find theme.liquid file
- Add the following code in the bottom of the file above </ body> tag
<style>
.utility-bar__grid:has(.announcement-bar) {
background: black !important;
}
</style>
RESULT:
If I managed to help you then a Like would be truly appreciated.
Best,
Moeed
Hey @tedenfield96 ,
What’s your store URL? I will take a look for you.
Your issue is you somehow changed the color settings of the announcement bar and the words are the same color as the background. Quick fix:
It does not seem to be my announcement bar
I can click the announcement bar(above the header) and it shows as announcement. However the white bar under my header is clickable
- Go to Online Store → Themes → Edit code
- Find the file theme.liquid
- Add this at the very bottom if you want to hide the announcement bar
<style>
.announcement-bar-section{
display: none !important;
}
</style>
or this if you want it to be black:
<style>
.announcement-bar-section *{
background: black !important ;
}
</style>
It’s only on that page that comes up if you click shop now
Yep. I figured out that you are viewing the COLLECTION LIST TEMPLATE. There is a white space because that’s the color of the Main Content.
Theme settings, custom css
body {
background-color: #000000 !important;
}
Need to set black background and bg gradient on your first color scheme.
Otherwise, add this to Theme Settings-> Custom CSS:
html body {
--color-background: black;
--gradient-background: black;
}
@tedenfield96 please add this css to the very end of your base.css file and check
shopify admin->online store->themes->edit theme code->assets->base.css
.title--primary {margin-top: 0rem !important; margin-bottom: 4rem; padding-top: 4rem;}
Just change the color of the header to black or white it will for sure look awesome.
This worked perfectly! Thanks!!
@tedenfield96 welcome, do let me know if you need any updates later. You can DM me or email me on the address given on my profile







