ThemeShaper Forums » Thematic


New Widget area gone in ie6, under

(2 posts)
  • Started 10 years ago by Seijun
  • Latest reply from Seijun
  • This topic is resolved


  1. I added a new widget area with this code:

    // This will create your header-aside widget area
    function add_header_aside($content) {
    	$content['Header Aside'] = array(
    		'args' => array (
    			'name' => 'Header Aside',
    			'id' => 'header-aside',
    			'before_widget' => thematic_before_widget(),
    			'after_widget' => thematic_after_widget(),
    			'before_title' => thematic_before_title(),
    			'after_title' => thematic_after_title(),
    		'action_hook'	=> 'thematic_abovemainasides',
    		'function'		=> 'thematic_header_aside',
    		'priority'		=> 8,
    	return $content;
    add_filter('thematic_widgetized_areas', 'add_header_aside');
    // And this is our new function that displays the widgetized area
    function thematic_header_aside() {
    	if (is_sidebar_active('header-aside')) {
    		echo thematic_before_widget_area('header-aside');
    		echo thematic_after_widget_area('header-aside');

    and styled with this

    #header-aside .widget_text h3{font-size:12px;}

    In ie6 and under, the widget area is gone. It's still there in the source code, but not on the page.
    Website is

    Posted 10 years ago #
  2. It turns out that in ie6 and under if an element with absolute positioning is side-by-side with a floated element, the one with AP can sometimes vanish. To solve this something needs to be placed between the two or around one to make a "buffer". In this case, I just moved the header-aside AP style over to the widget IN my header aside (I only use it for one widget).

    Posted 10 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.