No space after "category" in posts pages

Hello,
My team and I are having trouble with posts in X theme. On the blog page and on the page of the actual post, it will display the “category” that the post is under, however, there is no space between the category and the next word.

The snippet for our most recent marketing article reads:
“In Marketingby New Moon Strategy”

Can someone help us add a space after Marketing?
We’ve tried just adding a space after the name of the category but the system deletes the space when it updates.

Here’s a link to the page:

Hi Kate,

Thanks for reaching out.

Have you customized it? For the fix, please add this CSS to Theme Options > CSS

.p-meta > span:first-child a {
margin-right: 15px;
}

Hope this helps.

Thanks!

We have made some minor css customizations such as changing heading fonts and blog post titles sizes, but that’s it besides google tag manager code placement.

This didn’t fix the issue. Not sure if it helps but we are using the child theme.

Hello Kate,

The could should have work to resolve the spacing. I found out that you have cached and minified the resources of the page. I am not sure which plugin did you use. After doing the site changes, always remember to clear all caches and regenerate the minified HTML, JS and CSS filles (if you are using WP Rocket, WP SuperCache, Hummingbird, WP Fastest Cache or W3 Total Cache) when updating so that the code from the latest release is always in use. This will help you to avoid any potential errors.

And please clear your browser cache too. You may use private browsing mode in testing your site to make sure that you are viewing the latest codes from the updates and not the cached version in your browser.

Hope this helps.

Hello,
I put the code as a new line in the middle of the CSS and it didn’t work even after purging all caches in W3 Total Cache – we are hosting resources on AWS CloudFront CDN.

After reviewing again, I tried the code at the very bottom of the css and the problem is fixed now.

Thank you for your time!

You’re welcome!
We’re glad we were able to help you out.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.