Custom Liquid error

Dag, ik wil de witregels bij een custum liquid kleiner maken met een code in een CSS. Daarvoor heb ik een code gekregen van iemand die mij erbij helpt. Alleen geeft deze code een error.

Dit is de code:

#shopify-section-sections–21900757664090__custom_liquid_jgECFf > section { margin: 10px 0 10px 0px; }

Dit is de error tekst:

Webshop-editorsessie kan niet worden gepubliceerd.

Iemand enig idee waarom? En wat ik er wel aan kan doen?

1 Like

Hello Friend, I don’t understand your language and I used a translator but if I’m getting what you meant: you want to make the white lines in a custom liquid smaller with a code in a CSS.

You can use a More General Selector, Instead of targeting the full ID (which might change), try this code;

section[data-section-id*=“custom_liquid”] {margin: 10px 0;}