Hello everyone, I hope you are all doing well.
I created a new store and added a transparent header, however I am getting a white line above the header. (Screenshot attached) . If anyone knows how to remove it, please let me know. You can also provide codes. It would be greatly appreciated if you could help.
Store URL: https://www.nairobiharvest.com
Topic summary
A Shopify store owner encountered an unwanted white line appearing above their transparent header. They provided a screenshot and store URL showing the issue.
Solutions Offered:
- Option 1: Modify the
base.cssfile by replacing code for.page-width--full-widthto remove padding - Option 2: Add custom CSS to
theme.liquidfile before the</body>tag, targeting.page-width--full-widthpadding and adjusting.slideshow__boxpositioning
The original poster confirmed that Option 2 successfully resolved their issue.
Ongoing Issues:
Two other users reported experiencing the same problem with different themes (Venue and Feather), where the suggested solutions did not work. The Feather theme user provided a screenshot showing their specific white line issue. These cases remain unresolved, suggesting the fix may be theme-specific.
Hello! @Digital_Imran Please follow these steps to replace this CSS code:
- Go to your Online Store
- Click on “Themes”
- Select “Edit code”
- Open your base.css file.
- replace the following code
.page-width--full-width {
max-width: 100%;
padding: 0 !important;
}
If you need further assistance, please let me know. If you found my help useful, consider liking this message and marking it as the solution.
Thank you
K.K
Hello @Digital_Imran
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
Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution.
Thank you so much @niraj_patel it works ![]()
Thank you @Huptech-Web let me try
Hi! I’m having the same problem and tried this solution but it doesn’t work. I’m using the Venue theme. Please help!



