Genesis and WordPress Tutorials
by Sridhar Katakam 6 Comments Favorited: 0 times
To view the full content, please sign up for the membership.
Already a member? Log in below or here.
Find my tutorials helpful and wish to donate?
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.
Wonderful. Thank you very much 🙂
Hi Sridhar,
Is it also possible to use this simple piece of CSS code:
.page .footer-widgets {display: none}
Or it’s better to use PHP?
I prefer to use PHP where possible so that content does not even appear in the generated HTML rather than letting it generate and then using CSS to hide it.
Also note that when you use a static Page as your site’s front page, then even the homepage will get the “page” body class. Therefore you will have to use “display: block” for the footer widgets with “.home” selector to show on homepage.
Thank you Sridhar for your helpful answer. I understand now. Need to learn PHP now 🙂
Hello Sridhar,
How can I get this code to work without it blocking the footer widgets on the static homepage?
It works perfectly on every page but I need the static page to still show footer widgets.
I also noticed that it does not work on the blog page.
Thank you.
WOw – I pasted into Executive theme and it’s perfect.. I assume this will work in many theme with the 3 footer widget design?