Shopify themes, liquid, logos, and UX
I attached a image showing my background has a white section I want removed does anybody know how to solve this issue? I also attached an image of the code I input to get this color.
Any help would be greatly appreciated!
My theme is impusle
my url is naturalvitaminsusa.com
Hi, nice page!
The problem is your section has a margin applied to the top. Here's a code snippet that'll work and remove that:
{% style %}
div#shopify-section-99432a34-88c6-415b-b28a-edcb47b6500a {
margin-top: 0;
}
{% endstyle %}
Insert that into your theme.liquid file (online store > themes > click '...' on the theme you want, then 'edit code'). Insert it at the bottom of the file, right before the '</body>' tag.
Alternatively, you can also use the app Easy Edits to make the edit yourself without touching any code, just click on the section and set the top margin to 0. You can the edit and delete the app without paying for anything, and keep the edits.
Fair disclaimer, Easy Edits is an app I've worked on. If you need any help inserting the code or using the app, just let me know!
User | RANK |
---|---|
178 | |
155 | |
83 | |
31 | |
30 |
Thanks to all Community members that participated in our inaugural 2 week AMA on the new E...
By Jacqui Mar 10, 2023Upskill and stand out with the new Shopify Foundations Certification program
By SarahF_Shopify Mar 6, 2023One of the key components to running a successful online business is having clear and co...
By Ollie Mar 6, 2023