Categorynameby Hagar Lane without a space between "Categoryname" and "by"

Good morning.
I’m seeing that every post in my blog is described as: In <Category_name>by Hagar Lane.
Category and “by” need a space between the two word.
Is it possible to solve this problem?
Thank you very much.
Best regards
Patrizia

Hi Patrizia,

Please try adding the following CSS on Theme Options > Global CSS

.single-post p.p-meta>span>a {
    display: inline-block;
    margin-right: 7px; /*Adjust this to your preferred space*/
}

Hope this helps.

Thank you, Lely.
I tried your istruction but it doesn’t work. I have in any case by without a space between and the word “by”.

Hi Patrizia,

Please see how this will work: https://screencast-o-matic.com/watch/cqXrc0UUbF

There are few reason it might not work.
1.) You got CSS syntax error. Please double check all your custom CSS. Make sure there’s no missing or extra open and close bracket {}.
2.) You have caching. Make sure to clear cache after saving the update. Did you remove the CSS? I did not see it when I checked the source code.

Also, those CSS are specific to your single post page. Now, I can see the issue exist on blog page too. We might need to adjust it to this one:

.single-post p.p-meta>span>a,
.blog p.p-meta>span>a {
    display: inline-block;
    margin-right: 7px; /*Adjust this to your preferred space*/
}

Hope this helps.

THANK YOU, Lely.
Now your istruction works perfectly! :slight_smile:
A big hug.
Patrizia

You’re most welcome, Patrizia. :slight_smile:

Good morning Jade and Lely.
I have seen just now that the problem is solved only in the main page of my Blog, but non also inside de Categories of my blog, as you can see in this immage.
How can I solve the problem of the space missing between and “by” everywhere?
Thank you so much.
Best regards
Patrizia

Hello Patrizia,

The code given by @Lely will only work for single post and the blog index. If you want to include the category and other archive pages, please update the code and use this instead:

.single-post p.p-meta>span>a,
.blog p.p-meta>span>a,
.archive p.p-meta>span>a {
    display: inline-block;
    margin-right: 7px; /*Adjust this to your preferred space*/
}

Please let us know how it goes.

Thank you so much.
Now it’s everywhere perfect.
A big hug
Patrizia

You’re most 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.