Site logo

Archived topic

No Gap Between Author Name & Post Date

7 replies · Started by Jodie on January 5, 2023

Viewing posts 1–8 of 8

Hi,

Underneath the H1 of all my posts, there's the author name (linking to the author archive page) and the date the post was published.

For some reason, there's no space between those elements. How do I fix this?

Thanks for your help!

Cheers Jodie

Hi Jodie,

Can you try adding this through Appearance > Customize > Additional CSS?:

.single-post .entry-header .entry-meta > *:not(:last-of-type) {
    margin-right: 4px;
}

Let us know how it goes.

Hi Fernando

I should have been more specific. In the screenshot you'll see there is no gap between 2022 and the word by.

I added the css you gave but no change.

Cheers Jodie

Hi there,

try adding this CSS:


.entry-meta .posted-on {
    margin-right: 6px;
}

Hi David

Thanks for getting back to me.

I've tried that css above and cleared the cache.

Still no gap between the 3 and b

Anything else I can try?

Thanks so much for your continued support.

Cheers Jodie

Either code should work.

There's a syntax error in your CSS code.

Specifically, the one right above the new code.

This one:

@media screen and (max-width: 860px)
{.cg-table-six .cg-table-col.cg-table-sm-head {
  font-size: 13px!important;
}

It's missing a rebrace - }

Add a } under that.

After doing that, either code by me and David should work.

Thanks so much Fernando for picking up that syntax error. I've fixed that and of course the css you guys gave works.

Thanks again for your help.

Cheers Jodie

You're welcome, Jodie!

This archived topic is closed to new replies.