Sample Child Theme Header

Community Forums Forums General Discussion Sample Child Theme Header

This topic is: not resolved

This topic contains 8 replies, has 2 voices, and was last updated by  AC 1 year, 10 months ago.

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #17716

    selym
    Participant
    Post count: 6

    I’m having trouble getting a logo image into the header of the sample theme. I’d prefer to put a small logo image exactly where the site name text is in the demo. The header option (and the popular simple header plugin) just stretches the image across the entire header area. (I have a right hand header widget that it also stretches behind) Is there an easy way to upload a simple image and have it placed where I want, and not automatically stretched?

     

    Thanks,

    Sel

    #17719

    AC
    Blocked
    Post count: 7712

    Please post the link to your website, thank you.

    #17744

    selym
    Participant
    Post count: 6

    I don’t have a logo there now because whatever I put up looks horrible.

    http://www.irpdb.com

    #17749

    selym
    Participant
    Post count: 6

    I just put a sample 450 wide by 60 height logo image up there as an example.

    #17756

    AC
    Blocked
    Post count: 7712

    Open up your Functions.php file and look for this:

    [php]// Add support for custom header
    add_theme_support( ‘genesis-custom-header’, array(
    ‘width’ => 1152,
    ‘height’ => 120
    ) );[/php]

    Change the numbers to your logo size and save.

    #17761

    selym
    Participant
    Post count: 6

    Thanks for the help anitac. Unfortunately no joy with that one.

    #17762

    AC
    Blocked
    Post count: 7712

    Did you re-upload your image? I forgot to add that to the instructions. Upload your header again.

    #17763

    selym
    Participant
    Post count: 6

    Bam. That was it. Thank you very much. Now I know what file to manipulate for my real logo.

    #17764

    AC
    Blocked
    Post count: 7712

    You’re welcome.

Viewing 9 posts - 1 through 9 (of 9 total)

You must be logged in to reply to this topic.