Even if there is no mission statement for the site, the wrapper div still appears. This is due to preprocess-page.inc not checking to see if the mission variable actually contains anything. So, replace this:

if ($settings['mission_statement_pages'] == 'all' || $vars['is_front'] && $settings['mission_statement_pages'] == 'home') { 

with this:

if ($vars['mission'] && ($settings['mission_statement_pages'] == 'all' || $vars['is_front'] && $settings['mission_statement_pages'] == 'home')) { 

That's it.

Comments

himerus’s picture

You are making all sorts of work for me this weekend!!! :)

Thanks though for taking a serious look @ the theme, and helping out! It's greatly appreciated, and I will be sitting down coding like crazy with it all Saturday, and probably most of Sunday as well.

It's nice even for just those types of simple things to get another pair of eyes to catch the stuff that would normally be considered silly!

himerus’s picture

Assigned: Unassigned » himerus
Status: Active » Closed (fixed)

Fixed in 6.x-1.0-alpha4 release.

himerus’s picture

Status: Closed (fixed) » Fixed

Status: Fixed » Closed (fixed)

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