Hi, for some reason I started to see color lines like the green one on my banners without changing the settings.
I think it is a bug. Can anyone help?- this is from my homepage newsletter section
A Shopify store owner noticed unexpected colored lines appearing on banner sections, particularly on the homepage newsletter area, without making any configuration changes.
Proposed Solutions:
Multiple developers offered CSS-based fixes:
theme.liquid file above the </body> tagmain.css (or base.css/style.css) targeting specific section IDs with height and display propertiestheme.liquid before the </head> tagKey Issue:
The original poster clarified that the background image should fill the space, but a colored line appears instead of the expected image coverage.
Status:
One responder noted that lines still appear below banners on product pages, suggesting the issue may require additional troubleshooting beyond the initial solutions provided. The discussion includes code snippets and screenshot references to illustrate both the problem and proposed fixes.
Hi, for some reason I started to see color lines like the green one on my banners without changing the settings.
I think it is a bug. Can anyone help?- this is from my homepage newsletter section
Hey @Daniel19901
Follow these Steps:
Go to Online Store
Edit Code
Find theme.liquid file
Add the following code in the bottom of the file above tag
RESULT:
If I managed to help you then, don’t forget to Like it and Mark it as Solution!
Best Regards,
Moeed
Hi @Daniel19901
Check this one.
From you Admin page, go to Online Store > Themes
Select the theme you want to edit
Under the Asset folder, open the main.css(base.css, style.css or theme.css)
Then place the code below at the very bottom of the file.
div#shopify-section-template--22442120413510__section_newsletter_KzDPwc #contact_form > fieldset > figure > picture > img {
height: 100% !important;
}
And Save.
Result:
Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!
@Moeed the problem is that the background used to cover this space and now it is this color instead. the image should be unitl there
@Daniel19901 , I see there are still a line below your banner in your product page
You could add this code to remove it.
Result: