Community Forums › Forums › Archived Forums › Design Tips and Tricks › Executive Theme Header Change Dimensions
Tagged: Executive theme, header image
- This topic has 10 replies, 3 voices, and was last updated 12 years, 12 months ago by
Mark Scott.
-
AuthorPosts
-
January 23, 2013 at 3:36 pm #14150
colemanweb
MemberHello,
I'm trying to enlarge the area allowed for the header image. Currently it is set to 1140 x 100. I'd like to allow any height and not have it auto-crop. Any help would be appreciated.
January 23, 2013 at 3:46 pm #14157Brad Dalton
ParticipantChange the height values in functions.php (Line 17) and style.css (Line 193).
/** Add support for custom header */ add_theme_support( 'genesis-custom-header', array( 'width' => 1140, 'height' => 100 ) );
#header { margin: 0 auto; min-height: 100px; width: 100%; }
January 23, 2013 at 4:08 pm #14163colemanweb
MemberThank you Brad, worked like a dream. Is there any way to let it not crop? If I have images that are too short, it blows them up and then crops. Some are give or take 30 pixels either direction.
January 23, 2013 at 4:37 pm #14171Brad Dalton
ParticipantYou might want to layer them on a background using a tool like Paint.net or GIMP if you don't use Photoshop.
If they're the exact same size as your settings, they should be displayed as is.
April 17, 2013 at 5:16 am #35915Mark Scott
MemberBrad, I'm having the same problem.
I have the settings in my CSS and functions.php, exactly as you've shown them. My header image is exactly 1140 X 100. I can see it in the media library, but it won't display on the pages.
If I use a smaller-sized image (all I really want is a logo 172 x 50) it gets blown up to an enormous size and I'm forced to crop it. What happended to the skip cropping option?
Any help will be most appreciated.
The site is http://www.innov8.net.au
Header text is still showing, but a header image is set.
April 17, 2013 at 5:43 am #35919Brad Dalton
ParticipantI just layed a logo 172 x 50 on 1140 X 100 background using Paint.net and it worked perfectly.
Use a white or transparent background.
April 17, 2013 at 5:59 am #35920Mark Scott
MemberBrad, thanks for the quick response!
I am using a transparent background.
Here is the image: http://web.innov8.net.au:8080/wp-content/uploads/2013/04/header-logo.png
Oh, I just tried displaying it in a browser and I get an internal server error. It looks like this might be an IIS issue.
April 17, 2013 at 3:36 pm #36009Brad Dalton
ParticipantIt should work. Check your settings under Appearance > Header and if the dimensions match your image, upload it.
April 17, 2013 at 4:16 pm #36014Mark Scott
MemberIt's working now. It was a file permission error.
Thanks for your time, Brad.
April 17, 2013 at 4:46 pm #36019Brad Dalton
ParticipantApril 17, 2013 at 6:22 pm #36033Mark Scott
MemberPaul, the website is a friend's. He self-hosts and is in the process of configuring a new build.
-
AuthorPosts
- The forum ‘Design Tips and Tricks’ is closed to new topics and replies.