I want my the footer widget areas (first footer widget area, second footer widger area, etc) to only appear on the homepage...not any other type of page. http://dev.ellenwalkerdesign.com/ Thanks!
Hello, Go to header.php present in your theme directory and replace current code Code: <body class="loading"> with code given below Code: <body background="<?php if (get_option('inkthemes_bodybg') != '') { echo get_option('inkthemes_bodybg'); } else { ?> <?php bloginfo('template_url'); ?> <?php } ?>" <?php body_class(); ?>> check image for reference now, Paste this code in Custom CSS Appearance > Theme Option > Styling Option > Custom CSS Code: .footer { display: none; } body.home.blog.logged-in.admin-bar.customize-support .footer { display:initial; } This will solve your issue. Thanks & Regards Gourav Shrivastava
Thank-you. This works great for desktop computers but I have lost the four widgets when I view the homepage with a phone. See screenshot.
**Update...this only works when I am logged into Wordpress. From any other non-logged in browser or phone, this does not work.
Hello, undo the css code given above and Paste this code in Custom CSS Appearance > Theme Option > Styling Option > Custom CSS Code: .footer { display: none; } body.home.blog .footer { display:initial; } This will solve your issue. Thanks & Regards Gourav Shrivastava
I want the four footer widgets on the homepage only. If I use this code...it is gone sitewide. If I delete this code, it is sitewide. .footer { display: none; }
Hello, Please use the code provided in last reply(#6), This will solve your issue. Thanks & Regards Gourav Shrivastava
Hello, Please provide the following information listed below. Thread Link: Your Website URL: WordPress Username: WordPress Password: Send this information on our email at [email protected] I will check your issue and solve it. Thanks & Regards Gourav Shrivastava