Resolved – I should have tried it before I asked Doh!
Example:
<style type=”text/css”>
<!–
h1 {
font: Droid-Sans;
font-size: 30px;
font-weight: 500;
margin-bottom: 20px;
line-height: 1.2em;
}
–>
</style>
Thanks for the pointer. I’ve had a look but before I consider yet another plugin:
I currently have two places where I have custom css – ‘simple css’ and ‘edit css’ which is part of Jetpack.
I’m not sure how they work i.e.
– Does one of them override the other if they contain conflicting code?
– Could I combine the code into one of them – if so which one?
I like the idea of custom css in an individual page/post but with another plugin I would have yet another place for custom css and presumably another call to the database for it even if there’s nothing in it?
If you have Simple CSS, you don’t need Edit CSS from Jetpack.
The plugin I linked to allows you to add CSS for specific pages – it will make one more call to the database, but you really shouldn’t notice any difference.
This is a good idea for a future update in Simple CSS – it would help a lot of people I think.