Home › Forums › Travel WordPress Theme › Different CSS for posts and pages.
This topic contains 2 replies, has 2 voices, and was last updated by Nooriji 4 years, 5 months ago.
Is there a possibility to assign a different CSS for posts than for pages ?
Hi, please use selector ‘body.page’ for pages, use selector ‘body.single-post’ for posts.
You must be logged in to reply to this topic.
Subscribe to our newsletter to receive news & updates. We promise to not spam you, super promise!