• Trying to reduce the margins between the top of an excerpt and the excerpt title — and the bottom of the excerpt to the bottom of the container.

    Seen in the yellow areas here: https://i.imgur.com/jhKS1GA.png

    Is there a CSS snippet that would trim those margins?

    Thanks in advance! ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • Theme Author Ben Sibley

    (@bensibley)

    Yea this CSS should work well to make that adjustment:

    .excerpt-meta {
      padding-top: 12px;
    }
    .excerpt-content {
      padding-bottom: 12px;
    }
    Thread Starter kevinlambert

    (@kevinlambert)

    Thanks so much, Ben – definitely worked. ??

    However – I noticed that the padding is different when an optional excerpt is used as opposed to an automatic excerpt taken from the post itself with a read more tag. Very strange.

    If you mix and match them, you get different results… so I had to standardize all posts to use the optional excerpts.

    Just something to note.

    • This reply was modified 4 years, 8 months ago by kevinlambert.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Reducing vertical buffer on home page excerpts?’ is closed to new replies.