A user seeks help customizing a banner button on their Shopify store to have a transparent background with white text and outline, but encounters a black background instead.
Initial Solution:
Add custom CSS code to the theme.liquid file (above the </body> tag)
Code sets transparent background, white border, and white text using !important declarations
Enhancement Request:
User wants to replicate an animated hover effect from a reference website
Desired animation: button transitions from white text/transparent background to black text/white background on hover, with left-to-right fill movement
Final Solution:
Upgraded CSS includes hover animation using ::after pseudo-element
Animation creates a width transition effect (0% to 100%) with white background fill
Uses mix-blend-mode: difference for color inversion effect
Transition timing set to 0.35s with ease
Outcome: Issue resolved successfully with both styling and animation implemented.
Summarized with AI on November 4.
AI used: claude-sonnet-4-5-20250929.
Hello. I would like to put the banner button with a transparent background and white letters and outline. But if I edit it in the menu to customize the theme colors, it comes up with a black background instead of a transparent one.
And if anyone knows, I would like to know how to animate the button as shown in the attached web link. Thank you very much.
Can I animate the button like the reference website when I move the cursor over it?
Right now the border is black. It would be great if it had the opposite color, white background with black letters with or without the movement from left to right.