Hello everyone, I managed to add a transparent header to my homepage but now it has added it to all pages which makes it hard to read (see screenshot).
I want to keep it on the homepage but remove it from other pages, or if I could make the text black on other pages this would also work. Thanks!!
Welcome to Shopify Community! Can you share your Store URL so I can have a look on it? Also, if you have password enabled then please share the password as well. Your cooperation would be greatly appreciated.
Open Online Store > Themes > Edit code > paste the code in theme.css/base.css
/* Make header transparent only on the homepage */
.home .header {
background-color: transparent;
}
/* Default header style for all other pages */
.header {
background-color: #fff; /* or whatever color you want for other pages */
color: black; /* Change text to black */
}