Hi,
From what you said it sounds like I do not need simple css, and it is recommended to use the built in WordPRess features – Additional CSS?
That’s true. You’d want as few plugins as possible to have less bloat.
When you mentioned targeting a page ID, I was not clear what you meant.
All WordPress pages have a unique page-id-##
class added to its <body>
tag.
This is how a GeneratePress <body>
tag looks like:
https://share.getcloudapp.com/GGu25JK9
That said, say for example, you only want to apply a certain styling to a specific page, you can do something like this:
body.page-id-1 div#page{
background-color: red;
}
This particular CSS only applies to the <div id=page">
of the page with a page id of “1”. ( <body class="page-id-1"
)