Like based on a specific page, content type, etc.

Comments

rhache’s picture

Status: Active » Fixed

adrianmak,

I cannot give you a specific answer because it depends on what you are specifically trying to achieve. However, I would say there are two things you can do:

  1. Use the classes on the body class, which change dramatically based on context
  2. Use the node classes

With more specifics I could give you a better answer.

Rene

adrianmak’s picture

Say under normal node content, they layout will be in 2 cols + main content

while in blog node type, I want to more space on main content and i would like the layout will be switched to 1 col + main content automatically.

sherakama’s picture

Rene is going to blow your mind with this module: http://drupal.org/project/layoutstudio_extras

But sadly it is Drupal 7 only at the moment. Check out the context module and see if it can do what you need it to.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.