I have pages and posts on a WordPress site.
The pages have various layouts. Parent pages are following a 2-column (maincontent + right sidebar) layout while child pages have a one-column layout (no sidebar).
Must also add that one-colum has a custom field "one-col" and 2-column is the default layout. Not sure if it's possible to add codes based on custom fields.
Theme: WooThemes, Canvas.
Really appreciate your help.