Once I copy the framework and change the required files for a new theme as described on the README, the no-sidebar class shows up even thought I am using both sidebars.

Has anyone seen this? This is my first post.

Comments

mgfong’s picture

Category: bug » support
Status: Active » Closed (fixed)

Ok, I answered my own question.
Seems like we need, for .no-sidebars, .one-sidebar and so on to work we need to leave the tags as sidebar-first and sidebar-second.
This is controlled by the theme.inc file

Learning my way around.

dzahsh’s picture

If you change the names of the sidebars, you will need to also override theme.inc's template_preprocess_html function within your own theme's template.php file so that when it checks for the occurrence of the sidebars during its assignment of class names it looks for 'sidebar-right' instead of 'sidebar-first', etc.