About Sridhar Katakam
I am an independent WordPress web consultant with 10 years of experience in WordPress theme installation, customization, administration, maintenance, support, documentation, troubleshooting and PSD/design to WP.
Genesis and WordPress Tutorials
Session expired
Please log in again. The login page will open in a new tab. After logging in you can close it and return to this page.
Thanks for the mention!
[…] If you wish to use a responsive header image that spans the full width, see this blog […]
Hi Sridhar,
I have tried your option 1 as well as other things I have seen online and am still stuck. Can you offer any help? SIte is http://thepigandpearl.com
The header image looks fine to me.
Hi Sridhar
I read your article. Though not using Genesis, I wondered what should be the max height of header (or logo). Some themes can digest a header of 360 x 180 and be responsive whereas some go awry with smaller images.
In searc, I came here. What’s your take on it?
Thanks
http://codex.wordpress.org/Designing_Headers#Header_Image_Specifications says 192px as the height. But as far as I know there is no standard height for header images. You can use image of any height and still make it responsive.
Hi Sridhar. I’ve tried both of these… currently trying option 2 again… I keep getting a blank/white space where the image should be. Though when I hover over it, it shows that it’s clickable and when I inspect element in Firebug it shows that the image is there… not sure what I’m missing.
Can you provide the URL of your site and that of your desired header/logo image?
Yep … http://actribe.wordpresswebsitesdone4u.com/
Use this CSS: http://pastebin.com/raw.php?i=FDR1inDv
to get http://i.imgur.com/cJHzfwG.jpg
You might also want to change the image width to 1080.
Ok, I’ll try this. Yep, my original image is 1080… I resized to 1068 to see if maybe that was why the code wasn’t working. Thanks! 🙂
Thank you! Thank you! Thank you! 🙂 Working now!
Tamala – I took a peek to see if what you did is similar to what I’m trying to accomplish and it is, so I know I’m on the right track. But I wanted to tell you I think the site looks great and the header looks simply awesome – nice work!!
hi can you tell me what the plugin you used at slide bar ? The plugin Subscribe to Blog via Email
Thanks
It is Jetpack’s subscription widget. Comes with Jetpack.
Hi Sridhar,
Where do you add the background image via CSS? I tried a few place but the site title is still showing up and not the background image.
Thanks in advance!
David
At Appearance > Header. Can you provide the URL of your site in question?
Super helpful article – much appreciated! I’ve noticed that I have some white space above my header and that this coding is not responsive to mobile sites/tablets/changing the size of the screen on my laptop. Any suggestions?
Also, do you know how I can change my navigation menu colors and my buttons/links from black and bright green to custom colors?
Can you provide the URL of your site?
this tutorial is nice. but it doesn’t work in my website please help me Sridhar Katakam
nrvsrn.tk
Post in StudioPress forum and give me the topic URL.
Hi, love the way you customized you template, but when i do the same my site on local host crashes, what i´m i doing wrong?
please help
can’t help much if it’s not online. Make it live and share the URL.
Hi
Great tutorial, thank you very much! I know nothing about css so following great guides like yours is the key!
I followed method #2 because even following all steps for method #1, and setting the size for 1068×394, the small logo size still was appearing.
However, using method 2 requires to upload an image – disabling the option “Random: Show a different image on each page”.
Is there a way to enable it using method 2?
Best regards
May I have the URL of your desired header image?
Thank you for your informative, step-by-step instructions.
[…] motivation was to improve the social media sharing of the site logo image. Sridhar Katakam further refined this method with CSS for use with Metro Pro. I’ll include both pieces here to make this review complete […]
Hi Sridhar,
It is a great article for Metro Pro WordPress Theme by StudioPress. However, I am developing an Outreach Pro WordPress Theme by StudioPress and I am a beginner. I am having a problem that the header is not responsive to some devices. I have customised a header image to 1140×200 pixels. Such devices are such as 10″ and 12″ notebooks and all other tablets that are being the problem for this header. However, the header works fine with mobile phone sizes and other larger screens than 12″. The logo is an png so it is an image file.
I copied a related section from function.php as you mentioned above.
//* Add support for custom header
add_theme_support( ‘custom-header’, array(
‘header-selector’ => ‘.site-title a’,
‘header-text’ => false,
‘height’ => 200,
‘width’ => 1140,
) );
From CSS stylesheet
.header-image .title-area {
padding: 0;
}
.header-image .site-title > a {
float: left;
min-height: 200px;
width: 100%;
}
I would appreciate if you could give me suggestions on how to fix this problem. I have tried many solutions but it didn’t work. I also not understand php, javascripts.
Regards
Suwanna
Thank you Sridhar!
If I would like to display the Primary Nav Menu in my Metro Pro theme after a feature-box I created at the top. How would you do that using this code?
If you look at my site you will see a feature-box and after the last entries. I would like to insert the Primary Nav Menu before the last post entries.
I hope you understand what I meant by looking here http://www.judiosyjudaismo.com
Thank you very much!
Diego
How do i remove white space between the header and the navigation bar? Thanks in advance
Maureen
Hi there,
New subscriber for this very tutorial. I have followed step 1 but the image does not change size on smaller screen. It just cuts off. Can you advise?
http://demo.radioserversfive.com/
Thanks,
Bob
I’ve updated the tutorial. Please follow the updated steps.