A user applied CSS code to add a rainbow gradient effect to their Pride collection menu link, but this inadvertently removed text from a banner that used the same collection link.
Solution provided:
Scope the CSS selector more specifically by adding .thb-full-menu before the link selector
This targets only the menu link while leaving the banner text unaffected
The updated code successfully resolved the issue
Alternative approach suggested:
Use Shopify’s “Custom CSS” settings within the relevant section instead of editing theme code directly
This method automatically scopes styles to specific sections, preventing unintended side effects
Outcome: The problem was resolved using the scoped selector approach.
Summarized with AI on October 28.
AI used: claude-sonnet-4-5-20250929.