Hi, I am working with Pretty Pictures theme. I now have the header working as it’s designed to do, which is to change its height based on the amount of text inside it. However, I actually want the header just to be a regular image without any flex. I’m not great with css – I’ve played around with it but can’t get it right.
The current code is:
/** Add support for custom header */ add_theme_support( ‘custom-header’, array( ‘default-image’ => get_stylesheet_directory_uri() . ‘/images/header.jpg’, ‘flex-height’ => true, ‘flex-width’ => true, ‘header-text’ => false, ‘height’ => 550, ‘width’ => 990, ‘wp-head-callback’ => ‘__return_false’, ) );
Thanks in advance for any help!http://glynisgosling.com/
I would ask… why do you want to remove responsive capability as opposed to adjusting your header to look good in responsive mode?
That said, if you want to remove responsive capability, you’ll want to change your CSS, not functions.php. Let me know if you still need help?
Thanks for the response. I didn’t want to remove the responsive functionality completely, just the “flex” on the image. Jennifer from the support team helped me out with this.
Thanks again for the reply – I’ll go and make sure I don’t have any other outstanding threads.
The topic ‘Remove "responsiveness" from Pretty Pictures header’ is closed to new replies.
Are you a blogger, web designer, developer, or website owner looking to generate more income?
Promote products for the largest and fastest growing online website platform as part of our affiliate program.