Hi! Im triyinh to make my announcement bar transparent buy had no luck
Right now is black.
My site is https://www.amiemx.com/
Thank you guys!
A user seeks help making their announcement bar transparent on their Shopify store.
Two solutions provided:
First approach: Navigate to Admin → Online Store → Themes → Edit code → Assets folder → base.css. Add CSS targeting .announcement-bar.color-inverse-gradient with background: transparent and adjust #MainContent margin-top to account for header height.
Second approach: Similar navigation path, but add CSS to base.css targeting .announcement-bar with background: transparent !important and .color-gradient with color: #000 !important.
Both responses provide step-by-step instructions for accessing the theme code editor and inserting custom CSS. The discussion remains open with no confirmation from the original poster about which solution worked.
Hi! Im triyinh to make my announcement bar transparent buy had no luck
Right now is black.
My site is https://www.amiemx.com/
Thank you guys!
Hi @arkenciel
You use the code below.
main#MainContent {
margin-top: var(--header-height);
}
.announcement-bar.color-inverse.gradient {
background: transparent;
}
Hello @arkenciel
You can try this code: it will be helpful to you
Go to the Online Store->Theme->Edit code->Assets->base.css>Add this code at the bottom.
.announcement-bar {
color: #000 !important;
}
.gradient {
background: transparent !important;
}