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, 2 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.