Added a Header To Exact Specs Only To See It Double In Size

Homepage Community Forums Epik Theme Support Added a Header To Exact Specs Only To See It Double In Size

Tagged: ,

Viewing 20 posts - 1 through 20 (of 20 total)
  • Author
    Posts
  • #6195
    wisefamily
    Customer

      I added a header according to the specs of 1152 × 120.

      http://berkeycleanwater.com/test/

      Why did it double in size?

      Under appearance-header it says, “You can select an image to be shown at the top of your site by uploading from your computer or choosing from your media library. After selecting an image you will be able to crop it.
      Images of exactly 1152 × 120 pixels will be used as-is.”

      Was I only supposed to add the small logo? I thought adding the whole bar at the appropriate size would work.

      #6201
      Eric
      Customer

        First figure out what size your image is exactly. Then go into your functions.php file and adjust the header image size to the same as your actual image. Then upload the image in WordPress and if you did it right the crop screen won’t show up. Then hit upload and that’s it.


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

        #6209
        wisefamily
        Customer

          The image is exactly 1152×120 and in the functions.php file it has this:

          add_theme_support( ‘genesis-custom-header’, array(
          ‘width’ => 1152,
          ‘height’ => 120

          You can also see that my image is only 1152, 120 here:

          http://berkeycleanwater.com/test/wp-content/uploads/2013/08/Header.jpg

          I wonder why it’s looking huge.

          #6214
          Eric
          Customer

            It looks the exact same on both the image link and the site itself. Did you fix it, or does it still not look right on your end?


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

            #6222
            wisefamily
            Customer

              It still doesn’t look right on my end. I wish I could send you a screenshot.

              It’s still twice the size.

              #6226
              Eric
              Customer

                I just checked in multiple browsers on a Mac and it all looks the same for me.


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

                #6228
                wisefamily
                Customer

                  I just checked multiple sources as well and it’s still double the size.

                  Can you send me a screenshot of what you’re seeing to my registered email address?

                  #6234
                  wisefamily
                  Customer

                    I just measured the space with “MeaureIt” from Firefox and it’s measuring at 180px height.

                    It’s not doubled but it’s definitely bigger than 120px.

                    Is it adding the header image of 120px and adding more to it to fit the navigation in?

                    #6239
                    Eric
                    Customer

                      Here is a screenshot of what I’m seeing – http://i.imgur.com/y9XOu2u.png

                      That is the exact same size as this – http://berkeycleanwater.com/test/wp-content/uploads/2013/08/Header.jpg

                      You can use imgur.com to post a screenshot if you need to.


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

                      #6242
                      Eric
                      Customer

                        The screenshot actually makes it look bigger than it appears on my screen, so you’ll probably want to disregard that since I’m not sure how it will appear on your browser. But your jpg link to the actual image itself is exactly the same size as your website…..so I’m not sure what’s going on with what you’re seeing.


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

                        #6244
                        wisefamily
                        Customer

                          Thank you for the screenshot.

                          Maybe I can clarify by asking this question.

                          How can I get the navigation to be directly in line with the header/logo like you
                          have in the demo?

                          http://demo.appfinite.com/epik/

                          Mine is lower and might be the reason why it’s making that extra green area.

                          #6250
                          Eric
                          Customer

                            Ok, yeah this is different than what you originally asked. If you’re trying to get your logo and widget area on the same line, you’ll need to adjust the widths of them both. Your title area and widget area exceed 100%…thats why it’s showing up like that. Change the width from 50% on the title area to a smaller width and there will be enough room for the widget area to fit.

                            Look around line 681 for this –

                            .header-image #title, 
                            .header-image #title a, 
                            .header-image #title-area {
                                display: block;
                                float: left;
                                min-height: 120px;
                                overflow: hidden;
                                text-indent: -9999px;
                                width: 300px;
                            }

                            Notice I changed it to 300px as an example. That will bring the widget area up. The widget area is around 65% and the title area is 50%….which exceeds 100%. Anytime that happens just decrease one or both to get them to fit on the same line.

                            You may want to trim your logo down if you want it to show up aligned with everything on the left. There’s extra spacing there which makes it look aligned right a little.


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

                            #6315
                            dcherry
                            Customer

                              I am having an issue adding and image to Epik header. I made the following chnages and no image appeasr at all.

                              // Add support for custom header
                              add_theme_support( ‘genesis-custom-header’, array(
                              ‘width’ => 266,
                              ‘height’ => 53
                              ) );

                              #6332
                              Eric
                              Customer

                                I’d be more than happy to help. Do you have a link?

                                Also, can you create a separate post on this?


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

                                #6474
                                wisefamily
                                Customer

                                  Alright, I had the logo and header made smaller at 1152×63. I also updated the functions file to reflect the same thing.

                                  The logo didn’t move to the left and it’s still too thick. It’s still looking like 120px.

                                  #6485
                                  Eric
                                  Customer

                                    If you’re talking about the space on the left of your logo, there is no space, that’s the way you designed your image. The space in your “logo” needs to be edited from the image itself.

                                    Take a look – http://berkeycleanwater.com/test/wp-content/uploads/2013/08/Header21.jpg You need to edit this with whatever software you used to create and position it over to the left where you want it to show. This can’t be done from the code.

                                    And to remove the space on the bottom, you can simply lower the min-height (from the same code as above). Try around 60px and adjust until it shows up the way you want.


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

                                    #6495
                                    wisefamily
                                    Customer

                                      Eric,

                                      I see what you’re saying.

                                      This might be some other issue, I don’t know.

                                      Look at the link you provided of my header.

                                      Now look at this.

                                      http://i.imgur.com/xyNBMkR.jpg

                                      On my screenshot there is much more space to the left.

                                      #6508
                                      Eric
                                      Customer

                                        I think what is happening is you’re looking at your homepage and seeing the image that you have in your slider, which is throwing everything off (visually). Take a look at your blog page, or any other page. I just recently posted this to your other thread, but I’ll repeat – Your logo should be in line with the edges of the content, and it is.

                                        I know I already mentioned it, but you definitely need to trim the left of your logo first before you do anything else. Once you do that, then compare with your content and you’ll see everything is working as it should. Also be aware that the content and the header adjusts with the browser size. So look at your blog page and adjust the size and you’ll see everything is working perfectly. You just need to trim the image and fix the slider so its not positioned all the way to the left like it is. I think the image in the slider is making you think its not showing up right.

                                        Let me know once you trim the image. Make sure to have the logo moved all the way to the left so there is no space.


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

                                        #6521
                                        wisefamily
                                        Customer

                                          Eric,

                                          Thanks for your help. If you are seeing my site as looking correctly then I’ll leave it at that.

                                          I had the logo moved more to the right and it lines up with the content.

                                          http://berkeycleanwater.com/test/vegetables-with-high-water-content/

                                          Now, I need to fix the slider but I’ll talk about that in my other thread.

                                          #6526
                                          Eric
                                          Customer

                                            You’re Welcome


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

                                          Viewing 20 posts - 1 through 20 (of 20 total)
                                          • The topic ‘Added a Header To Exact Specs Only To See It Double In Size’ is closed to new replies.