change style of category over post

Hi there!
I was wondering how to change the look of the category that appears, after you have clicked on a post? Meaning the category on the post page. I attached a screenshot, so you can see more.

I just want to make it a little bigger. Thank you :slight_smile:

Hey there,

I hope you are well today and thank you for your question.

You can try achieving this by adding the following CSS code in the Custom CSS option of your theme on the below path.

Admin Area -> Appearance -> Customize -> Additional CSS

/*increase category post fontsize*/
ul.post-categories li a {
    font-size: 2em;
}

Best regards,
Support.

Hi there,
thank you for the quick response!
That worked perfectly!

In this regard: Which code would I have to use to remove the category on top of the post completely?

Thank you!

Also, is it possible to make the spaces between the two lines more narrow? I tried “margin” and “padding” and it didn’t work.
See attachment!

Thank you!

Hello there,

You can use one of the following codes to remove the category or reduce the space between them:

/*Remove the category*/ .cat-title { display: none; }

/Reduce the space/
.cat-title {
padding-bottom: 1px;
}
.main-content-area {
margin-top: 22px;
}

Best Regards,
Support

Thank you so much!

Hello there,

I am glad the solution worked for you.
Please feel free to contact us again in the future regarding any other issues.

Best Regards,
Support