Hi, this is probably very easy, but I´m not sure about the best CSS-solution to this:
I have a left sidebar on almost every page/post, but some pages is without any sidebar (like the static frontpage). When there is a sidebar I want more space/air between the left sidebar and the content (including the featured image!). I am pleased with the sidebar width and all other global spacing and padding, so I don´t like to affect that. I just want to make the content more narrow (“moving the left side of the content more to the right”).
But it must not effect the content on pages that does not have any left sidebar, like the frontpage! If I just add more left-padding to the content, that will also effect the pages without sidebars making them looking off (of course with more padding to the left than to the right).
How pinpoint only page/post content that does have a sidebar? And should I add padding or margin?