Logo image in header

Homepage Community Forums Epik Theme Support Logo image in header

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #5539
    Bob_Fortner
    Customer

      I’m trying to create a logo for the header area. My idea is to create a 360×120 image in Photoshop and have it load in the center left of the header area. When I use the Custom Header function in WordPress the image is stretched to 1152 pixels wide.

      Is there a better way to do this? I’m assuming it needs to be a not-so-wide image that sits on the left side so that it will re-size properly for the responsive design.

      http://bobfortner.com/

      #5549
      Eric
      Customer

        You just need to change the header image size in your functions.php file and then it will allow you to upload without having to scale –

        // Add support for custom header
        add_theme_support( 'genesis-custom-header', array(
        	'width' => 360,
        	'height' => 120
        ) );

        I create awesome sites for awesome people! Contact me if interested – ericsanchez1585@gmail.com

        #5552
        Bob_Fortner
        Customer

          Thanks Eric! Does it matter where in functions.php that this goes?

          #5553
          Bob_Fortner
          Customer

            Okay, I figured out that it’s really only changing the values. But 120 pixels high seems to be taller than the default space where the text from my general settings was displayed. What size should the height of a logo be so as not to make the header get taller?

            #5559
            Eric
            Customer

              I wouldn’t know what size you’d need to upload, but the header on the demo is around 58px height…..you can play around with the numbers to get the size you need.


              I create awesome sites for awesome people! Contact me if interested – ericsanchez1585@gmail.com

              #5591
              Bob_Fortner
              Customer

                Thanks Eric! That makes sense if the demo is only 58 pixels tall. I’ll use that as a guide and work from there. Awesome support… really appreciate it!!

                #5598
                Eric
                Customer

                  You’re Welcome Bob!


                  I create awesome sites for awesome people! Contact me if interested – ericsanchez1585@gmail.com

                Viewing 7 posts - 1 through 7 (of 7 total)
                • The topic ‘Logo image in header’ is closed to new replies.