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 tutorial.
One question — The code does not display background image on the iPad. Only the text is visible. Do you know what is the cause?
AJ, Can you give me the site URL?
Hi Sridhar
I am afraid there may be something not quite right here. I have followed these instructions several times, each time with the same result – the background image does not appear. Is there a typo or another stage to add?
Many thanks
If you can send me your WP login and FTP access info via the contact form on this site, I shall take a look.
Done.
Many thanks.
Neil
Hmm.. looks like I’m getting the same result here. I followed the steps exactly and the image isn’t displaying. Has there been a common error with others?
I’ve updated the code in functions.php and style.css to fix the problem.
Yeah, this doesn’t seem to work. I’ve successfully followed many of your other tutorials, Sridhar, and appreciate your work, but this one has issues. Same issue…the image doesn’t display.
Does anyone have a link to a functioning example?
I’ve updated the code in functions.php and style.css to fix the problem.
1. Took Genesis Sample Theme
2. Added this code to it, uploaded new background image.
3. Looks perfect in IE but does not show at all in Google Chrome.
What could be reason or any work around to fix this problem. Also, could it be background-size property not working well in Chrome browser. New insights from your end will be appreciated.
I’ve updated the code in functions.php and style.css to fix the problem.
Does this widget show on every page or just on home page?
Yes, just on the front page.
Hi Sridhar – I have tried adding the code to the function.php file and it corrupts my whole site – your instructions are easy what am I doing wrong here?
1. the first part: add_theme_support( ‘custom-background’, array( ‘wp-head-callback’ => ‘__return_false’ ) ); – this is already changed??
2. As soon as I paste the whole editing section just disappears:
genesis_register_sidebar( array(
‘id’ => ‘home-below-header’,
‘name’ => __( ‘Home Below Header’, ‘minimum’ ),
‘description’ => __( ‘This is the home below header section.’, ‘minimum’ ),
) );
//* Add custom callback for background
function minimum_background_callback() {
//* Do nothing if we have no background image or we’re not on the front page
if ( ! get_background_image() || ! is_front_page() )
return;
add_action( ‘genesis_after_header’, ‘home_below_header’, 9 );
function home_below_header() {
echo ”;
ob_start();
genesis_widget_area( ‘home-below-header’ );
$home_below_header_sidebar_content = ob_get_clean();
echo $home_below_header_sidebar_content;
echo ”;
}
}
Hi,
Pasting code in the comments section does not render it correctly. You might want to paste in places like pastebin.com or pastie.org and provide the links.
Coming to your question, can you send me your WP and FTP logins via https://sridharkatakam.com/contact so I can take a look inside?
I have fixed the issue on your site.
Also updated the code in the tutorial above accordingly.
Mr SK you are a legend!!