WordPress.org

Forums

Logo for header image in studiopress midnight theme (5 posts)

  1. jschultzFF
    Member
    Posted 3 years ago #

    I recently uploaded the midnight child theme & genesis framework for my WP site. I have a logo I'd like to put as my header. The logo is currently 909 x 388 in size, so obviously it is too large, but I need the entire logo as my header. My first problem is that when I try to upload an image under Appearance -> Headers, I always have to crop the image if it is not the perfect size (as specified in the css/functions files), and I cannot crop the logo because I need the whole thing.

    My second problem is that when I try to resize the image to make it smaller, using free online sites/software, the quality of the image goes down dramatically, so that will not work.

    Is there any way for me to simply upload the image (without cropping it), and then specify the height/width in the actual html? This does not seem to alter the quality of the image, at least not in my previous site.

    Here is the url for my site, if that helps:

    http://fitnessandyourfinances.com/wordpress/

    Thank you...these forums have been a tremendous help for a brand new WP user like myself.

  2. debajyoti
    Member
    Posted 3 years ago #

    You can try the following solution:

    upload the image as it is to your server and then use 'genesis simple hooks' plugin and then put the image code in 'genesis_after_header Hook' or genesis_before_header Hook

    The code should be like this: <center><a href="http://yourdomain.com"><img src="http://yourdomain.com/images/image.jpg"></a></center>

  3. jschultzFF
    Member
    Posted 3 years ago #

    I will give that a try and let you know how it works. Thank you for the quick response.

  4. jschultzFF
    Member
    Posted 3 years ago #

    I actually ended up putting the image in the "header" hook, and it worked perfectly...thank you so much!

    Another question: I would like to add a caption/tag line to the image. I tried simply adding a line to the "caption" section of the image when I was editing it, but it did not show up on my page. Could you help with this?

  5. zosjka
    Member
    Posted 3 years ago #

    Hi guys,

    Can you please help me, i also have a "midnight theme" and i can't understand how to add menu/pages buttons just near to "Home" button under Logo header, please check my website - http://www.zugue.com if you know please help :)

    thanks alot

Topic Closed

This topic has been closed to new replies.

About this Topic