• 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

Cannot Change Header Image in Enterprise Pro

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 › General Discussion › Cannot Change Header Image in Enterprise Pro

This topic is: resolved

Tagged: cannot change, Enterprise, header image

  • This topic has 1 reply, 2 voices, and was last updated 7 years, 7 months ago by Brad Dalton.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • August 19, 2015 at 11:36 am #162863
    jodieb
    Member

    I uploaded a fresh copy of Enterprise Pro 2.1.1 into a brand new WP install. Last evening I updated to WP 4.3 and the latest Genesis. I have made almost no changes to the theme so far. I did slightly changed the header image dimensions and uploaded my image. The client asked for a couple small changes so last night I tried to replace the header image with th new one but even though the correct image was appearing in the customize screen of the dashboard the image on the live site does not change.

    At first I thought it was my browser cache or something so I completely deleted the old logo image from the media library, cleared by browser cache, flushed my DNS and then went to bed. I next looked at the site 14+ hours later and the old image was still there.

    Using Firebug I determined that for some unknown reason the original image had been saved here: wp-content/themes/enterprise-pro/images/

    I did not do this so I have no idea what caused that to happen. It appears that my favicon (or at least A favicon is also saved there). I deleted the old image from that location, deleted the new image from the media library and reuploaded the new image again.

    Well the site is still looking for the old file in that same location and the new logo was not saved there. Since I deleted the old image the site is reverting to showing the header text but if you look at the code with Firebug you will see it it actually looking for that old header image within the theme.

    Is this something to do with WP 4.3? I have never seen anything like this before and I have used Genesis themes for years. I could just rename the correct image and upload it to the location the site is looking for but I would rather figure out why the holy $#!* this is happening and fix it.

    http://organizationdirect.com/new/
    August 19, 2015 at 12:22 pm #162876
    Brad Dalton
    Participant

    There is no CSS to pull the logo in like there is in the Sample child theme so using the Header image function in customizer is the correct method.

    Normally you would match the image dimensions to whats in the PHP code and instances under the Site Header section in the style sheet.

    //* Add support for custom header
    add_theme_support( 'custom-header', array(
    	'header-selector' => '.site-title a',
    	'header-text'     => false,
    	'height'          => 80,
    	'width'           => 320,
    ) );
    
    /*
    Site Header
    ---------------------------------------------------------------------------------------------------- */
    
    .site-header {
    	background-color: #fff;
    	min-height: 150px;
    }
    
    .site-header .wrap {
    	padding: 40px 0;
    }
    
    /* Title Area
    --------------------------------------------- */
    
    .title-area {
    	float: left;
    	padding: 0 0 4px;
    	width: 320px;
    }
    
    .header-full-width .title-area {
    	width: 100%;
    }
    
    .site-title {
    	font-family: 'Titillium Web', sans-serif;
    	font-size: 36px;
    	font-weight: 700;
    	line-height: 1.2;
    }
    
    .site-title a,
    .site-title a:hover {
    	color: #31b2ed;
    }
    
    .header-image .site-title > a {
    	background-position: top !important;
    	float: left;
    	min-height: 80px;
    	width: 100%;
    }
    
    .site-description {
    	color: #aaa;
    	font-family: 'Lato', sans-serif;
    	font-size: 16px;
    	font-weight: 300;
    	letter-spacing: 1px;
    	line-height: 1.5;
    	text-transform: uppercase;
    }
    
    .site-description,
    .site-title {
    	margin-bottom: 0;
    }
    
    .header-image .site-description,
    .header-image .site-title {
    	display: block;
    	text-indent: -9999px;
    }
    

    They're the only modifications you should need to make.

    Change all the height or min-height values to match your image.

    Width

    If you increase the width value for the title-area class by 100px ( for example ) then you would decrease the site header widget area by the same amount

    .site-header .widget-area {
    	float: right;
    	text-align: right;
    	width: 720px;
    }
    

    Tutorials for StudioPress Themes.

  • Author
    Posts
Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘Cannot Change Header Image in Enterprise Pro’ is closed to new replies.

CTA

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

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2023 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