Community Forums › Forums › Archived Forums › Design Tips and Tricks › Daily Dish Pro Header
Tagged: daily dish pro, header image
- This topic has 7 replies, 3 voices, and was last updated 10 years ago by
lizearle.
-
AuthorPosts
-
September 18, 2015 at 8:44 am #165999
Cecilia
MemberHi,
I've read on the forum on how to adjust the header image from 400x80 to a different size. I've edited the code but the template still forces me to crop the image. Please help.
At the same time, I would like to not have the white space expand. It looks like when I adjusted the spacing it also expanded the white spacing too.
Thanks
http://elenicookscrete.comSeptember 18, 2015 at 9:06 am #166003Davinder Singh Kainth
MemberIn style.css file, change following code...
.header-image .site-title > a { background-position: center !important; background-size: contain !important; display: block; height: 200px; margin: 0 auto; max-width: 1000px; }to...
.header-image .site-title > a { background-position: center !important; background-size: contain !important; display: block; height: 80px; margin: 0 auto; max-width: 400px; }
Sunshine PRO genesis theme
Need Genesis help? Davinder @ iGuiding Media | My Blog | Fresh Genesis ThemesSeptember 18, 2015 at 9:08 am #166005Davinder Singh Kainth
MemberFor reducing vertical white space above/below logo image.
Look for following code...
.site-header { padding: 80px 0; text-align: center; }change to...
.site-header { padding: 20px 0; text-align: center; }
Sunshine PRO genesis theme
Need Genesis help? Davinder @ iGuiding Media | My Blog | Fresh Genesis ThemesSeptember 18, 2015 at 9:14 am #166006Cecilia
MemberThanks but that bringing me back to the original code?
1. I would like to have a larger header.
2. The template forces me to crop the image.Thanks
September 18, 2015 at 9:17 am #166007Davinder Singh Kainth
Member1. Open functions.php file and look for following code
//* Add support for custom header add_theme_support( 'custom-header', array( 'header-selector' => '.site-title a', 'header-text' => false, 'height' => 80, 'width' => 400, ) );2. Change height and width dimensions for logo as per requirement.
3. Then go to style.css file and update new height / width dimensions in the following code
.header-image .site-title > a { background-position: center !important; background-size: contain !important; display: block; height: 80px; margin: 0 auto; max-width: 400px; }4. Upload new logo image with new size.
Sunshine PRO genesis theme
Need Genesis help? Davinder @ iGuiding Media | My Blog | Fresh Genesis ThemesSeptember 18, 2015 at 11:15 am #166018Cecilia
MemberYou are one awesome, dude! Thank you, it worked wonderfully!
September 18, 2015 at 11:38 am #166020Davinder Singh Kainth
MemberWelcome Cecilla 🙂
Sunshine PRO genesis theme
Need Genesis help? Davinder @ iGuiding Media | My Blog | Fresh Genesis ThemesNovember 25, 2015 at 4:22 am #171974lizearle
MemberAny idea what is the ideal size is for a full width header?
-
AuthorPosts
- The topic ‘Daily Dish Pro Header’ is closed to new replies.