• 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

Need help with Sample theme Image LOGO size?

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 › Need help with Sample theme Image LOGO size?

This topic is: not resolved

Tagged: genesis sample theme, image logo

  • This topic has 3 replies, 2 voices, and was last updated 8 years, 9 months ago by tahir.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • June 16, 2017 at 11:35 pm #207850
    tahir
    Member

    Hi, i am using Genesis Sample theme.
    My custom Image Logo size is 250*50
    I have this value in style sheet.

    .header-image .site-title > a {
    background-position: center !important;
    background-size: contain !important;
    float: left;
    min-height: 50px;
    width: 100%;
    }

    And this value in functions.php

    // Add support for custom header.
    add_theme_support( 'custom-header', array(
    'width' => 250,
    'height' => 50,
    'header-selector' => '.site-title a',
    'header-text' => false,
    'flex-height' => true,
    ) );

    Here is link to my site.

    Please help me to show full image 250*50px.

    June 16, 2017 at 11:37 pm #207851
    tahir
    Member

    Link to my site is
    hamrotechnology(dot)com

    June 17, 2017 at 12:18 am #207852
    Andykev
    Participant
    .header-image .site-title > a {
    	background-position: center !important;
    	background-size: contain !important;
    	float: left;
    	min-height: 50px;
    	width: 250px;
    }

    Change to px. It is showing text only...is that your logo?

    June 17, 2017 at 12:22 am #207853
    tahir
    Member

    Thank you very much, exactly works.

  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘General Discussion’ 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