XPressME Integration Kit

Trac

Changeset 204 for trunk/wp-content


Ignore:
Timestamp:
May 7, 2009, 12:46:29 PM (16 years ago)
Author:
toemon
Message:

#122 サイドバーブロックのレイアウト崩れバグ修正

Location:
trunk/wp-content/themes/xpress_default/blocks
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-content/themes/xpress_default/blocks/block_style.css

    r165 r204  
    321321/*********** sidebar block ***************/ 
    322322.xpress_sidebar_block { 
    323  
    324 } 
    325  
     323        width:190px; 
     324 
     325} 
     326.xpress_sidebar_block h2 { 
     327        font-size:14px; 
     328        margin:5px 0 0; 
     329        padding:0; 
     330} 
    326331/*********** widget block ***************/ 
    327332.xpress_widget_block { 
  • trunk/wp-content/themes/xpress_default/blocks/sidebar_block_theme.php

    r125 r204  
    88                require($sidebar_path); 
    99                $output = ob_get_contents(); 
    10         ob_end_clean();  
     10        ob_end_clean(); 
     11        $pattern = '<div\s+id\s*=\s*["\']xpress_sidebar["\']\s*>'; 
     12        $output = preg_replace("/".$pattern."/s" , '<div class="xpress_sidebar_block">' , $output); 
     13 
    1114        $block['sidebar'] = $output;                                                             
    1215        return $block ;  
Note: See TracChangeset for help on using the changeset viewer.