Hello, Can anyone show me or help remove the long black strip along my home page or at least change the color to match the rest of the site please.
Topic summary
A user encountered a long black strip appearing on their homepage and sought help to either remove it or change its color to match the rest of the site.
Solutions provided:
-
CSS modification approach: Add code to the theme’s CSS file (via Online Store > Edit Code > Assets) to set the
.page-borderelement’s position to unset and height to 0px with!importantflags. -
Theme.liquid approach: Insert CSS code before the
</body>tag in the theme.liquid file to either:- Hide the element completely using
display: none - Make it transparent by setting
background-color: rgba(0,0,0,0)
- Hide the element completely using
Outcome: The issue was successfully resolved—the user confirmed the solution worked.
Hello @AbdulShakir ,
Add the CSS below of Online store >> Edit Code >> Assets >> theme.scss
.page-border {
height: 0px !important;
position: unset !important;
}
Hello @AbdulShakir
I would like to give you some recommendations to support you
-
Go to Online Store->Theme->Edit code
-
Open your theme.liquid theme file
-
Paste below code before :
Change this background to transparent
.page-border {
background-color: rgba(0,0,0,0);
}
or hidden this :
.page-border {
display: none;
}
Hope my recommendation can works and support for you!
Kind & Best regards!
GemPages
Thank You, It worked !!.
