How do I get rid of the annoying border around the newsletter input area as well as the double border on hover? And would like to have the input area just underlined ( border-bottom: 2px solid #000; )
Topic summary
A user seeks to remove the border around the newsletter input field and eliminate the double border on hover, while keeping just an underline beneath the input area.
Solution Provided:
- Add custom CSS code to the theme.liquid file before the
</body>tag - The code targets
.footer .fieldelements to remove borders, box-shadows, and border-radius - Uses
pointer-events: noneand positioning to override default styling
Resolution:
- Initial code worked only for the footer newsletter section
- User successfully adapted the solution by changing
.footerto.newsletterin the CSS - The customization now functions correctly across all newsletter sections
Status: Resolved - User confirmed the modified CSS solution works as intended.
Hello @xnyjyh
You can add code by following these steps
-
Go to Online Store → Theme → Edit code.
-
Open your theme.liquid file
-
Paste the below code before on theme.liquid
Hello, thank you so much for the code, but unfortunately it did not work ![]()
OH wait, it worked for only the footer section newsletter. But did not work on the newsletter section itself.
UPDATE: I just changed the .footer to .newsletter. It worked fine. Solution is confirmed!