We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more

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
12073 2359 2539

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

- Helpful? Like & Accept solution!
- Ryviu - Product Reviews & QA app: Collect customer reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image - Gain customers with photo gallery, video & shoppable image.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- 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.