How can I apply a style to all posts, but apply a different style to pages (or remove that said style on posts, from pages). I am setting a margin on an element on posts, but the same margin on said element on pages screws up the design. How can I remove it from pages?
I tried using the following:
{{#is "page"}}
<style>
.sidebar {
margin-bottom: 0 !important;
}
</style>
{{/is}}
Which didn’t work. Any advice?