Deleting a custom section destroys all the contents.

Deleting a custom section destroys all the contents.

Mercado9778
Tourist
6 0 0

I created a custom liquid section in the footer group. I've already deleted html codes and left the css like below. 

<style>
*{
margin:0px;
}

</style>

 

When I delete the section, it messes up the entire home page. 

Any solution for this error? 

Replies 2 (2)

Dan-From-Ryviu
Shopify Partner
8391 1652 1666

That css means all elements of your store is assigned value margin: 0px. Recommend your remove that code. 

- Helpful? Like and Accept solution to let me know or Buy me Coffee ❤️!
- Ryviu - Product Reviews app, collect product reviews, import reviews from AliExpress, Amazon, Etsy, Shopee and Walmart and CSV.
- Lookfy app: Easy and fast to create Photo Gallery, Lookbook, Shop The Look.
- Enjoy 1 month of Shopify for $1. Sign up now.

Mercado9778
Tourist
6 0 0

If I clear the margin css, it also messes up the entire page as I delete the section.