Archived topic
Bit stuck on how to remove this top padding?
3 replies · Started by Henry on September 8, 2019
If you see this screenshot it will make sense: https://prnt.sc/p3mm7r
Using Inspector I've been able to find what I think is the culprit, which is <div class="inside-article"> but I can't seem to be able to modify it to get rid of all the unnecessary white space...
Any ideas what class needs to be modified or removed? Thanks as ever!
Hi there,
two things:
1. Top margin on entry content:
.entry-content {
margin-top: 0;
}
2. There is a glsr (?) element that is being output that is displaying an empty P tag, can remove the P bottom margin if the content is empty like so:
.glsr-no-margins:empty {
margin-bottom: 0;
}
Amazing result - works great. Actually that empty P tag is shortcode for when a review is pubished so it's great that you found a way to hide it when not used! Thanks VERY much, excellent support.
Glad to be of help