Archived topic
Adding a CSS Class to a Block
2 replies · Started by Ben on April 28, 2021
Viewing posts 1–3 of 3
Hey guys,
Really like the new look of the website!
Anyway...
I'm trying to remove the margin from the list block in specific areas.
This is what the CSS looks like:
ol, ul {
margin: 0 0 1.5em 3em;
}
I've added a CSS class to target the areas I need to remove the margin and added following custom CSS:
.product-box ol, ul {
margin: 0 0 0em 0em;
}
But noting happens.
What am I don wrong?
Thanks
Just figured it out!
Hi there,
Nothing happens if the selectors are wrong or it's losing in precedence over other CSS.
Glad you figured it out. Thank you for letting us know.
This archived topic is closed to new replies.