• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Genesis Sample Child Theme

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › Design Tips and Tricks › Genesis Sample Child Theme

This topic is: not resolved

Tagged: Logo Dimensions

  • This topic has 3 replies, 2 voices, and was last updated 12 years, 3 months ago by AnitaC.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • April 8, 2014 at 7:25 pm #99247
    Landon
    Member

    I am building a theme based on the Sample Child Theme. The logo.png is 320 x 80 however the .title-area is 320 x 164. How can I change the Genesis logo image dimensions to 320 x 80? On localhost now but if needed could upload to a dev server. Hopefully this is an easy one for you guys 🙂

    Thanks, Landon

    April 8, 2014 at 11:14 pm #99297
    AnitaC
    Keymaster

    Open up the functions.php file. You will see the area for support for custom header to your logo size. Then upload it again.


    Need help with customization or troubleshooting? Reach out to me.

    April 9, 2014 at 6:25 am #99323
    Landon
    Member

    That's what I was looking for but there is no Custom Header in my functions.php.

    <?php
    //* Start the engine
    include_once( get_template_directory() . '/lib/init.php' );
    
    //* Child theme (do not remove)
    define( 'CHILD_THEME_NAME', 'Genesis Sample Theme' );
    define( 'CHILD_THEME_URL', 'http://www.studiopress.com/' );
    define( 'CHILD_THEME_VERSION', '2.0.1' );
    
    //* Enqueue Lato Google font
    add_action( 'wp_enqueue_scripts', 'genesis_sample_google_fonts' );
    function genesis_sample_google_fonts() {
    	wp_enqueue_style( 'google-font-lato', '//fonts.googleapis.com/css?family=Lato:300,700', array(), CHILD_THEME_VERSION );
    }
    
    //* Add HTML5 markup structure
    add_theme_support( 'html5' );
    
    //* Add viewport meta tag for mobile browsers
    add_theme_support( 'genesis-responsive-viewport' );
    
    //* Add support for custom background
    add_theme_support( 'custom-background' );
    
    //* Add support for 3-column footer widgets
    add_theme_support( 'genesis-footer-widgets', 3 );
    
     
    //* Add new featured image sizes
    add_image_size( 'home-bottom', 150, 100, TRUE );
    add_image_size( 'home-top', 400, 200, TRUE );
    
    /**
     * Register and Enqueue Header Navigation Menu Script
     * 
     * @author Brad Potter
     * 
     * @link http://www.bradpotter.com
     */
    function gst_headermenu_script() {
      	
    	wp_register_script( 'header-menu', get_stylesheet_directory_uri() . '/js/headermenu.js', array('jquery'), '1.0.0', false );
    	wp_enqueue_script( 'header-menu' );
    
     }
    add_action('wp_enqueue_scripts', 'gst_headermenu_script');
    
    /** Register widget areas */
     
    genesis_register_sidebar( array(
    	'id'				=> 'cta-1',
    	'name'			=> __( 'Call to Action #1', 'mp' ),
    	'description'	=> __( 'This is the call to action section.', 'mp' ),
    ) );
    
    add_action( 'genesis_before_footer', 'mp_cta_genesis' );
    
    /**
     * Add CTA widget support for site. If widget not active, don't display
     *
     */
    function mp_cta_genesis() {
     
      // Don't display the CTA on the home page, since it's built into the MP theme
      if ( is_home() ) {
    		return;
    	}
     
     
     
      // If it's a page with ID 101 or 102 or any page within my Portfolio CPT
      // Display CTA #2
    	elseif ( is_page( array(8) ) || ('portfolio' == get_post_type() ) ) {
    		genesis_widget_area( 'cta-1', array(
    			'before' => '<div id="cta"><div class="wrap"><div class="right"',
    			'after' => '</div></div></div>',
    		) );
     
    	}
    }	
    
    //* Add support for structural wraps
    add_theme_support( 'genesis-structural-wraps', array(
    	'header',
    	'nav',
    	'subnav',
    	'site-inner',
    	'footer-widgets',
    	'footer'
    ) );
    April 9, 2014 at 6:47 am #99326
    AnitaC
    Keymaster

    Try adding this in there. I am assuming you are using the most recent version of the sample.

    //* Add support for custom header
    add_theme_support( 'custom-header', array(
    	'header_image'    => '',
    	'header-selector' => '.site-title a',
    	'header-text'     => false,
    	'height'          => 175,
    	'width'           => 175,
    ) );

    Need help with customization or troubleshooting? Reach out to me.

  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘Design Tips and Tricks’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2026 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble