• 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

Custom Header Image – without using .site-header

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 › Custom Header Image – without using .site-header

This topic is: not resolved
  • This topic has 2 replies, 3 voices, and was last updated 11 years ago by iPhonecaptain.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • April 12, 2015 at 10:17 am #147579
    trash
    Participant

    Hello,
    I want to give the WP admin the possibility to change the header image of his site, but I do not want to have the logo as a background-image of .site-header as I use the following code to display the header image:

        add_filter( 'genesis_seo_title', 'custom_filter_genesis_seo_site_title', 10, 2 );
        		$child_inside = sprintf( '<a href="%s" title="%s"><img src="'. get_header_image() .'" title="%s" alt="%s"/></a>', trailingslashit( home_url() ), esc_attr( get_bloginfo( 'name' ) ), esc_attr( get_bloginfo( 'name' ) ), esc_attr( get_bloginfo( 'name' ) ) );
        	 	$title = str_replace( $inside, $child_inside, $title );
        	 	return $title;	
        	}
    

    I think genesis should be enhanced, that you could use a custom header image, but it should not automatically be generated as a background-image of .site-header.

    Or do I miss this option?

    Thanks.

    April 13, 2015 at 2:19 am #147681
    Brad Dalton
    Participant

    Try the customizer


    Tutorials for StudioPress Themes.

    June 14, 2015 at 1:27 pm #156188
    iPhonecaptain
    Member

    what are you referring to as the customizer? Is that a theme or plugin

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 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