• Resolved MartielB

    (@martielb)


    I’ve spent about 3 hours working on this issue and no one seems to have an answer. Maybe one of you can tell me how to fix it or where to get some info.

    You can see the post here: https://blogco-op.info/new-classes-coming-soon/ This post has a huge space between the date and the title. I entered the avatar element and coded it to display none but it still has a huge gap – any ideas on what would reduce this?

    Thanks for your help!
    Martiel

    PS: I have also put in a request with the theme developers and they can’t seem to find anything. I am using a CSS childstheme.

    PPS: the site is being built out here: https://blogco-op.info

Viewing 6 replies - 1 through 6 (of 6 total)
  • Bill

    (@chubbycrow)

    The <div> containing the date is enclosed in another <div> that has a class of .mt18, which translates to a top margin of 90px.

    If it’s only that post you’re having a problem with, you may be able to target it with:

    #post-2119 div.mt18 {
        margin-top: 0px;
    }

    though if other instances in the page match it, you may get unwanted results.

    Thread Starter MartielB

    (@martielb)

    Hi Bill,

    Thanks for the info! I tried it and it worked on that post but not on the others. I’m having the same issue on the other posts as well. Any suggestions on how to automatically disable this top margin on any current and future posts?

    This is a site for a client, so I’d like to be able to give her a site that doesn’t require her to do coding every time she works in there or adds a new post if you know what I mean.

    Bill thought you’re having that margin issue on post #2119 only.
    This should work:

    article.post div.mt18 {
        margin-top: 0;
    }

    Thanks for pitching in, Sam. I think you’re right. And yes, I wasn’t sure if it was just the one post in question.

    Thread Starter MartielB

    (@martielb)

    Yes, you got it guys, that was what I was looking for. Thanks so much!

    You’re welcome! Glad you worked it out.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Huge Space in Blog Post, Can't Seem to Reduce it’ is closed to new replies.