- Timestamp:
- Mar 23, 2010, 11:42:58 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/xpressme_integration_kit/wp-content/themes/xpress_default/functions.php
r64 r561 8 8 )); 9 9 10 // This theme uses wp_nav_menu() 11 if ( function_exists('add_theme_support') )add_theme_support( 'nav-menus' ); 12 10 13 load_theme_textdomain('xpress'); 11 14 … … 15 18 if ( xpress_header_image() ) { 16 19 $url = xpress_header_image_url() ; 17 $output .= "#header { background: url('$url') no-repeat bottom center; }\n";20 $output .= "#header { background: url('$url') repeat-x bottom left; }\n"; 18 21 } 19 22 if ( false !== ( $color = xpress_header_color() ) ) { 20 $output .= "# headerimg h1 a, #headerimg h1 a:visited, #headerimg .description{ color: $color; }\n";23 $output .= "#xpress-header-bar-top a, #xpress-header-bar-top a:visited, #xpress-header-bar-top .xpress-description ,#xpress-header-bar-top .xpress-conditional-title,#access a, #xpress-menu a{ color: $color; }\n"; 21 24 } 22 25 if ( false !== ( $display = xpress_header_display() ) ) { … … 39 42 return $q['upper']; 40 43 } else 41 return ' 69aee7';44 return 'ffffff'; 42 45 } 43 46 … … 47 50 return $q['lower']; 48 51 } else 49 return ' 4180b6';52 return 'ffffff'; 50 53 } 51 54 … … 66 69 $color = xpress_header_color(); 67 70 if ( false === $color ) 68 return ' white';71 return 'black'; 69 72 70 73 return $color; … … 279 282 font-family: 'Trebuchet MS', 'Lucida Grande', Verdana, Arial, Sans-Serif; 280 283 font-weight: bold; 281 font-size: 4em;284 font-size: 2em; 282 285 text-align: center; 283 286 padding-top: 70px;
Note: See TracChangeset
for help on using the changeset viewer.