• 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

Missing logo in genesis 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 › Missing logo in genesis child theme

This topic is: resolved

Tagged: Genesis child theme, Logo

  • This topic has 8 replies, 2 voices, and was last updated 9 years, 8 months ago by webgirl20.
Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • April 23, 2016 at 5:35 pm #184291
    webgirl20
    Member

    Hello,
    Can't seem to work out why the header logo is not showing here.

    .site-header  {
            padding: 10px 0;
    	padding: 1rem 0;
    	box-sizing: border-box;
    	display: block;
    	color:#000;
    }
    
    .header-image .title-area {
      	background: url('wp-content/uploads/2016/04/CB-whiteLogo_blackBg.gif') no-repeat;
    	width: 750px;
      	height: 49px;
    }
    

    Thanks for any suggestions

    April 24, 2016 at 12:00 am #184298
    Victor Font
    Moderator

    There's quite a few things going here. First, your images aren't loading because you aren't calling them correctly. When you load background images in style.css using relative URLs, they are relative to the location of style.css, which is in the themes/christine directory. What you are actually doing when you call url('wp-content/uploads/2016/04/CB-whiteLogo_blackBg.gif') is attempting to load an image from

    http://www.christinebec.com/staging/wp-content/themes/christine/wp-content/uploads/2016/04/CB-whiteLogo_blackBg.gif

    This is a non-existent directory. Either move the image to a directory under the child theme directory or use a fully qualified URL as the url parameter.

    Second, once the image displays, you'll see it displayed twice. You somehow managed to create two copies of the header.

    Third, unless you purposefully chose not to wrap the header in the link to your site, you should really be placing the background image in this code:

    .header-image .site-title > a {
        background: url('images/blackLogo.png') no-repeat;
        min-height: 117px;
        width: 100%;
    }

    Regards,

    Victor
    https://victorfont.com/
    Call us toll free: 844-VIC-FONT (842-3668)
    Have you requested your free website audit yet?

    April 26, 2016 at 5:31 pm #184475
    webgirl20
    Member

    I have removed one of the site-headers, since there was two copies.
    I have also added header option under appearance > header but for some strange reason the header logo is still not showing. I am using Firefox browser & when I use the inspector (tools > web developer >inspector) & hover over the site-header the height is 42px & I can't seem to remove it. Here is a link to it
    This is what I added in the functions.php file

    
    //* Add support for custom header
    	add_theme_support( 'custom-header', array(
    		'flex-width'      => true,
    		'width'           => 750,
    		'flex-height'     => true,
    		'height'          => 149,
    		'header-selector' => '.site-title a',
    	) );
    

    and in the css

    .title-area {
    	width: 750px;
    }
    .header-image .site-title > a {
        min-height: 149px;
    
    April 26, 2016 at 6:19 pm #184481
    Victor Font
    Moderator

    You don't have a closing brace in the .header-image .site-title > a class.


    Regards,

    Victor
    https://victorfont.com/
    Call us toll free: 844-VIC-FONT (842-3668)
    Have you requested your free website audit yet?

    April 27, 2016 at 9:18 am #184520
    webgirl20
    Member

    In my style.css I already had the closing bracket, just forgot to add in the post.
    Still can' work out why the header logo is not showing
    cheers

    April 27, 2016 at 9:51 am #184524
    Victor Font
    Moderator

    I just looked at your style sheet and took a closer look at your source code. You do not have a header-image class defined in your HTML source code. You also have some broken CSS.

    .site-title a,
    .site-title a:hover {
    	margin:;
    }

    Margin has no value so it beaks the CSS.

    When you create a class like .header-image .site-title > a, the broswer applies this to the site-title a element within the header-image class. If you don't have the header-image class defined in the HTML, this code never executes.


    Regards,

    Victor
    https://victorfont.com/
    Call us toll free: 844-VIC-FONT (842-3668)
    Have you requested your free website audit yet?

    April 28, 2016 at 4:31 pm #184642
    webgirl20
    Member

    When you have appearance > header, is it still necessary to add the background url under

    .header-image .site-title > a.
    

    As I added a header image under appearance > header. Are you able to show an example of your explanation above. Am more a designer rather than a developer.
    Thanks

    April 29, 2016 at 2:53 pm #184700
    Victor Font
    Moderator

    Add this to your site-title a. I just tested it on your site with inspect element:

    display: block;
    height: 149px;
    max-width: 750px;

    Regards,

    Victor
    https://victorfont.com/
    Call us toll free: 844-VIC-FONT (842-3668)
    Have you requested your free website audit yet?

    May 2, 2016 at 4:50 pm #184848
    webgirl20
    Member

    Thank you for help

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