Black Friday sale! Get up to 25% off GP Premium! Learn more ➝

[Resolved] Apply CSS to single posts, not globally

Home Forums Support [Resolved] Apply CSS to single posts, not globally

Home Forums Support Apply CSS to single posts, not globally

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #411698
    themedleb

    Hi, can I apply CSS to only single posts, not globally? if yes what is the single posts identifier I could use in CSS? And if you have a list of other pages identifiers so I can customize each one differently like search page, archive page, … and other pages created by me.

    Thanks.

    #411704
    Leo
    Staff
    Customer Support

    Hi there,

    You can add .single in front of your CSS selector.

    If you use developer tool of your browser, the unique ID should be in the body tag at the top.

    Those are generic tags from WordPress.

    #411709
    themedleb

    Thank you Leo, this is much helpful.

    #411982
    Leo
    Staff
    Customer Support

    No problem!

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.