[Resolved] Bit stuck on how to remove this top padding?

Home Forums Support [Resolved] Bit stuck on how to remove this top padding?

Home Forums Support Bit stuck on how to remove this top padding?

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1004471
    Henry

    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!

    #1004534
    David
    Staff
    Customer Support

    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;
    }
    #1004738
    Henry

    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.

    #1004941
    David
    Staff
    Customer Support

    Glad to be of help

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.