ThemeShaper Forums » Thematic

[closed]

Unable to style added subsidiaries in footer

(2 posts)
  • Started 2 years ago by PitaMaria
  • Latest reply from em hr
  • This topic is not resolved
  1. PitaMaria
    Member

    On my testing page at http://andycampbellcreative.com/Watermark/ I've successfully added two new widgetized areas to my footer #subsidiary via the code below. Problem is, any new styling I specify in my CSS is being ignored, and I suspect it's because of a problem with how this code defines my two new divs #4th-subsidiary-aside and #5th-subsidiary-aside ...

    // Adding 4th and 5th subsidiary widgetized areas to the footer
    function add_4th_subsidiary_aside($content) {
        $content['4th Subsidiary Aside'] = array(
            'admin_menu_order' => 510,
    		'args' => array (
    			'name' => '4th Subsidiary Aside',
    			'id' => '4th-subsidiary-aside',
                'description' => __('The 4th widget area in the footer.', 'thematic'),
    			'before_widget' => thematic_before_widget(),
    			'after_widget' => thematic_after_widget(),
    			'before_title' => thematic_before_title(),
    			'after_title' => thematic_after_title(),
    		),
    		'action_hook'	=> 'widget_area_subsidiaries',
    		'function'		=> 'thematic_4th_subsidiary_aside',
    		'priority'		=> 75,
        );
        return $content;
    }
    add_filter('thematic_widgetized_areas', 'add_4th_subsidiary_aside');
    
    // Define the 4th Subsidiary Aside
    function thematic_4th_subsidiary_aside() {
    	if (is_active_sidebar('4th-subsidiary-aside')) {
    		echo thematic_before_widget_area('4th-subsidiary-aside');
    		dynamic_sidebar('4th-subsidiary-aside');
    		echo thematic_after_widget_area('4th-subsidiary-aside');
    	}
    }
    function add_5th_subsidiary_aside($content) {
        $content['5th Subsidiary Aside'] = array(
            'admin_menu_order' => 520,
    		'args' => array (
    			'name' => '5th Subsidiary Aside',
    			'id' => '5th-subsidiary-aside',
                'description' => __('The 5th widget area in the footer.', 'thematic'),
    			'before_widget' => thematic_before_widget(),
    			'after_widget' => thematic_after_widget(),
    			'before_title' => thematic_before_title(),
    			'after_title' => thematic_after_title(),
    		),
    		'action_hook'	=> 'widget_area_subsidiaries',
    		'function'		=> 'thematic_5th_subsidiary_aside',
    		'priority'		=> 79,
        );
        return $content;
    }
    add_filter('thematic_widgetized_areas', 'add_5th_subsidiary_aside');
    
    // Define the 5th Subsidiary Aside
    function thematic_5th_subsidiary_aside() {
    	if (is_active_sidebar('5th-subsidiary-aside')) {
    		echo thematic_before_widget_area('5th-subsidiary-aside');
    		dynamic_sidebar('5th-subsidiary-aside');
    		echo thematic_after_widget_area('5th-subsidiary-aside');
    	}
    }

    No matter what styling I add to #4th-subsidiary-aside or #5th-subsidiary-aside nothing sticks. I've read everything I can find on the mater here in the forums (i.e. http://forums.themeshaper.com/topic/how-can-i-add-multiple-subsidiaries, http://forums.themeshaper.com/topic/something-new-bout-widgetized-areas and http://forums.themeshaper.com/topic/can-i-make-a-5-column-subsidiary-widget) but couldn't resolve my issue(s). Any help you fine folks could give me would be greatly appreciated. Thanks in advance.

    Posted 2 years ago #
  2. Please read this and come to then new ThematicTheme Forums for support.

    Posted 2 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.