A user is experiencing two header styling issues on their Shopify store:
Problem 1: The transparent header with hover effects (turning white background with black text) works on most pages but not on the About page.
Problem 2: The logo appears invisible on several pages (contact, return-exchange, terms-of-service, privacy-policy) due to blending with the transparent background.
Solutions Offered:
One responder suggested CSS code to control header transparency and hover states, targeting the .header-wrapper class with transitions. They also recommended EasyEdits app as a no-code alternative.
When the CSS approach didn’t work, another responder provided a different solution: inserting Liquid code with CSS into theme.liquid that uses a filter to invert the logo color on non-homepage pages.
Status: The second solution appears to have resolved the logo visibility issue based on a provided screenshot. The hover effect issue may still need addressing.
Summarized with AI on November 3.
AI used: claude-sonnet-4-5-20250929.
Making my header transparent but not transparent (white) when hover and letters on the header turns from white to black when hover. This already on my other tabs but not on my about page.
Hey there! Let’s get your header design working as you want across all pages. Here’s how to handle both points:
1. Transparent Header with Hover Effects
You want the header to be transparent initially and switch to white with black text on hover. If it’s not working on your “About” page, there may be specific styles missing or overridden for that page.
Steps:
Locate the CSS File:
Go to Online Store > Themes > Edit Code.
Open theme.css or style.css in the Assets folder.
Add the CSS: Add this code to handle the hover and transparency:
/
* Transparent Header Default */
.header-wrapper {
background-color: transparent !important;
transition: background-color 0.3s ease, color 0.3s ease;
}
/* Header on Hover */
.header-wrapper:hover {
background-color: white !important;
}
/* Text Color Change on Hover */
.header-wrapper a {
color: white; /* Default text color */
transition: color 0.3s ease;
}
.header-wrapper:hover a {
color: black; /* Text color on hover */
}
/* Specific Style for About Page */
.about-page .header-wrapper {
background-color: transparent !important; /* Ensures it matches the other tabs */
}
Add .about-page as a parent selector if necessary to target your About page specifically.
Test the Changes: Save the file and check the “About” page to ensure the hover effect matches other tabs.
2. Making the Logo Black on Specific Pages
Your logo seems invisible because it blends with the transparent background. The solution is to either change your logo image to a colorized version, or to make your header or page background a color besides white.
Easier Option with EasyEdits
If you’d prefer a no-code solution, EasyEdits allows you to style your header, hover effects, and even replace logos visually without touching the code. You can try it for free and keep your changes forever.
Let me know if you need help identifying classes or refining the setup! (P.S. I’m the developer of EasyEdits, so feel free to ask about it ).