Change CSS of posts in a category in WordPress

I’m kinda new to WordPress and CSS, I hope you guys can help me out.
I want to change the position of the sitelogo .site-branding of all the posts under a specific category.

I can change the site-branding in my style.css to my liking but it effects the whole site including all pages, posts and category’s.

.site-branding {
    left: 50%;
    position: absolute;
    top: 40%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);

Hope you guys can help me out.

Thanks in advance.

Read more here: Change CSS of posts in a category in WordPress

Leave a Reply

Your email address will not be published. Required fields are marked *