• Resolved Gaurav

    (@gaurav005)


    My website is Digital Period
    Is there any way I can reduce space between my posts.
    I know it requires a simple CSS code. It will be great if someone helps me with that.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hey, Gaurav!

    Try this:

    .list-post .post, .list-post .type-page, .list-post .type-attachment {
    position: relative;
    margin-bottom: 20px;
    min-height: 150px;
    }

    (I changed the margin-bottom: from 60px to 20px, but you can change it to whatever suits your fancy.)

    (I’m assuming you do know how to change the CSS, yes? Either have a child theme, or use a nice plugin like Simple Custom CSS and put the change in there.)

    Thread Starter Gaurav

    (@gaurav005)

    Hey Augustin56,
    Thanks a lot for you help. Now it looks really nice.
    I changed margin-bottom: 10px; and it worked like charm.
    Will you tell me what does : min-height does here ?

    min-height does pretty much what it says. It keeps that block to a minimum height of 150px. I just copied that part over as it was.

    Thread Starter Gaurav

    (@gaurav005)

    Thanks and I will mark this topic as resolved.
    I am also looking for help on this Thread
    Thanks and have a nice day

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Reducing spacing between my posts ?’ is closed to new replies.