CSS does not work even when I have added the code
-
I am using Zoologist theme. I am currently editing a template and I don’t want spaces between one block and the next. So I added a class ‘top-margin-none’ and ‘bottom-margin-none’ in the additional CSS in the customizer.
This was the code I pasted
/* Class to remove the top margin */
.top-margin-none {
margin-top: 0 !important;
}/* Class to remove the bottom margin */
.bottom-margin-none {
margin-bottom: 0 !important;
}
Now even when I use that class in a block it doesn’t work. I press enter to add a block and there is still space in between the current and the next.The blog I need help with is: (visible only to logged in users)
-
Please reach the template from Appearance → Editor → open the template to edit → copy the URL and share it with us, along with the name of the template.
Also, share which elements did you add the classes
.top-margin-noneand.bottom-margin-noneto?
- The topic ‘CSS does not work even when I have added the code’ is closed to new replies.