Hide categories and author on blog posts

Hi there,

I would really like to hide the categories and author name on my blog posts. Link to blog post:

As you can see, the categories don’t fit on the screen, so I think it’s best to hide them. How can I do this? I tried to add several CSS codes and used plugins, but nothing seems to work.

I finally find something that worked to hide the categories on the post page only:
.post-cat {
display:none }

I now only would like to hide the author name.

I now added:

.author {
display: none
}

That worked. Could you tell me if those codes are fine to use? I don’t know a lot about CSS.

Hello,

Your code looks good and saves to use.
Make sure you put the code to Customize > additional CSS. So, it will not be removed when you update the theme.

Regards,

Appreciate your reply, thank you! I have one more question. Is it possible to remove the link on the date of a blog post? I do want to show the date itself, but I don’t want it to be clickable.

you can disable the link, but you need to install this plugin first.
After installing the plugin, then add this code in there:

jQuery('.posted-on a').attr('href', 'javascript:void(0)')