Forum Replies Created
-
AuthorPosts
-
liannefMember
THAT DID IT!! Thank you SO SO SO SO much Andrea!!
-Lianne
liannefMemberGenesis simple headers is the plugin I used....
liannefMemberDone - code back in
liannefMemberHi Andrea!
Thanks for the help! That didn't work for me... 🙁
Here is the current header script and the header is aligning left....
#header { background: #322620 url; margin: 0 auto; min-height: 155px; overflow: hidden; width: 100%; }
liannefMemberAlso, ca you tell me how to add a custom header?
I tried adding the below code to functions.php but it didn't work 🙁
/** Add support for custom header */ /* add_theme_support( 'genesis-custom-header', array( 'width' => 960, 'height' => 155 ) ); */
liannefMemberHi thank you for the response! I deleted the image but I'd like to change it to a solid color as well
here is the link http://www.themakeupgirl.net
liannefMemberI put the code in my blog but nothing showed up from using the code. Did I put it in the wrong place?
<?php /** Start the engine */ include_once( get_template_directory() . '/lib/init.php' ); /** Child theme (do not remove) */ define( 'CHILD_THEME_NAME', 'Mocha Theme' ); define( 'CHILD_THEME_URL', 'http://my.studiopress.com/themes/mocha' ); /** Create additional color style options */ add_theme_support( 'genesis-style-selector', array( 'mocha-blue' => 'Blue', 'mocha-green' => 'Green', 'mocha-orange' => 'Orange', 'mocha-pink' => 'Pink' ) ); /** Add Viewport meta tag for mobile browsers */ add_action( 'genesis_meta', 'mocha_add_viewport_meta_tag' ); function mocha_add_viewport_meta_tag() { echo '<meta name="viewport" content="width=device-width, initial-scale=1.0"/>'; } /** Register default layout setting */ genesis_set_default_layout( 'sidebar-content-sidebar' ); /** Unregister content/sidebar layout setting */ genesis_unregister_layout( 'content-sidebar-sidebar' ); genesis_unregister_layout( 'sidebar-sidebar-content' ); /** Add support for custom header */ /* add_theme_support( 'genesis-custom-header', array( 'width' => 960, 'height' => 155 ) ); */ /** Add support for custom background */ add_theme_support( 'custom-background' ); /** Add support for structural wraps */ add_theme_support( 'genesis-structural-wraps', array( 'header', 'nav', 'subnav', 'inner', 'footer-widgets', 'footer' ) ); /** Customize the post info function */ add_filter( 'genesis_post_info', 'post_info_filter' ); function post_info_filter($post_info) { if (!is_page()) { $post_info = 'Posted on [post_date] · [post_comments] [post_edit]'; return $post_info; }} /** Add the after post section */ add_action( 'genesis_after_post_content', 'mocha_after_post' ); function mocha_after_post() { if ( ! is_singular( 'post' ) ) return; genesis_widget_area( 'after-post', array( 'before' => '<div class="after-post widget-area">', ) ); } /** Add support for 3-column footer widgets */ add_theme_support( 'genesis-footer-widgets', 3 ); /** Register widget areas */ genesis_register_sidebar( array( 'id' => 'after-post', 'name' => __( 'After Post', 'mocha' ), 'description' => __( 'This is the after post section.', 'mocha' ), ) );
-
AuthorPosts