Hello. I have several custom liquid block in my theme (Sense 2.0).
For some reason certain custom liquid blocks have a margin, while others don’t. I tried adding css styles to remove it by targeting the block id#, but this is not fun and actually does not always work.
Does anyone know what causes the margin to be added to certain custom liquid blocks? What would be the best way to handle (remove) them?
There is an adjacent sibling selector which will apply margin to any .section that follows another .section which includes the custom liquid section.
You might be able to remove it from base.css and then use the theme editor to add padding to sections instead (If the padding option is in your theme).
Otherwise for every custom liquid section you could add some CSS, as an example.