• 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

Modify image header (logo) with 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 › Modify image header (logo) with Sample child theme

This topic is: not resolved

Tagged: sample

  • This topic has 2 replies, 2 voices, and was last updated 5 years, 7 months ago by Victor Font.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • August 16, 2017 at 3:10 am #210440
    mattia
    Member

    Hi guys,
    i need to modify the image size of the theme but i don't know where to start.

    I've find in the functions.php this code, where i can change the dimension of the image header from 600x160 to 250X250, uploaded a new image, but this don't work.

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

    What i must do?

    August 16, 2017 at 3:29 am #210441
    mattia
    Member

    Sorry, i've also modified style.css from

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

    to

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

    Inside Firebug it's works but in the real site it doesn't work

    August 16, 2017 at 5:36 am #210446
    Victor Font
    Moderator

    Please post a link to the site.


    Regards,

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

  • 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

© 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