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.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #3854

    Nooriji
    Participant

    Hi,

    Is there a possibility to assign a different CSS for posts than for pages ?

    regards

    #3859

    Johnny
    Participant

    Hi, please use selector ‘body.page’ for pages, use selector ‘body.single-post’ for posts.
    Thank you

    #3860

    Nooriji
    Participant

    Thanks.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.