Community Forums › Forums › Archived Forums › Design Tips and Tricks › Add my header image to the Minimum Genesis theme
Tagged: Header size, minimum
- This topic has 5 replies, 3 voices, and was last updated 10 years, 4 months ago by
OliveBurbank.
-
AuthorPosts
-
July 23, 2013 at 7:22 am #52037
Herrin
MemberAm trying to add our own header to the Minimum theme - it only seems to allow for a 100pixel high image by 1140px.
I want to add a 1140 by 376 px image to be on every page as well as maintaining the mobile responsiveness of the theme. I go to Appearance >> Header.
I've managed to find the 100px declaration in the functions.php file and change it to 376 but it still does not show the correct height on the front end.
I assume some code or CSS is making this happen?
Thanks,
No matter where you are, there you are.
July 23, 2013 at 9:43 am #52071Anita
KeymasterYes, look for the height in the CSS and change it there. Also, you may need to re-upload your header again.
Love coffee, chocolate and my Bella!
July 24, 2013 at 1:29 am #52193Herrin
MemberThanks for your reply
Ok I updated this at line 185
#header {
background-position: top center!important;
margin: 0 auto;
min-height: 376px;
overflow: hidden;
width: 1140px;
}Now when I resize the header the header space stays at 376px and it does not resize to fit the image container.
Re-added header image as well and still same behaviour.
Thanks for any help. I usually don't have so much trouble with Genesis themes.
No matter where you are, there you are.
July 27, 2013 at 4:42 pm #52873OliveBurbank
MemberI am trying to change the header size in the Minimum theme – it only allows for a 1140px image by 100px. - Same issue as above. I cannot change the header height to 256px.
I have changed it under
/* Header
------------------------------------------------------------ */
/* Image Header - Partial Width
------------------------------------------------------------ */
even added
#header{
width: 722px;
height:256px;
}I added the png file to the theme images as header.png.
I still can't get the Appearance/Header to change the size from 1140 x 100 to 1140 x 256.
I, also, would appreciate any assistance in resolving this issue.
Thank you.
July 27, 2013 at 5:06 pm #52874Anita
KeymasterOpen up the functions and look for 1140 x 100. Change the 100 to 256 and save it. Then upload your header image again.
Love coffee, chocolate and my Bella!
July 28, 2013 at 11:04 am #52977OliveBurbank
MemberThank you for your assistance. I did make the changes -
/** Add support for custom header */
/** Changed Add support for custom header height from 100 to 256*/
add_theme_support( 'genesis-custom-header', array(
'width' => 1140,
'height' => 256
) );
I removed all images from the Medial Library
The Appearance/Header reflected 1140 x 256 - However, when I uploaded the image the crop/publish would only allow half of the height. I literally had to change the height from 256 to 405 for it to highlight the whole height of 256. Of course that was to big.I have changed the image it is now height 205px - changed the functions - tried to load the image again. Appearance would reflect the size correctly but when it came to cropping it cut the height by 50%.
I continued to try many things - and thought I would write for more advice when I tried by more thing. the image width was not 1140 but 578. I change the functions to reflect width of 578..
Removed all images, upload the image file again and there it was - perfect. Functions now reflect Height 578 and Width 205. I honestly did not think that the width remaining as 1140 would effect the process.
Again, thank you for your assistance.
-
AuthorPosts
- The forum ‘Design Tips and Tricks’ is closed to new topics and replies.