This code enables you to force a full width layout on single posts which are password protected in Genesis.
Once the user enters the correct password, the post reverts to the default layout which would generally be content sidebar so it only displays full width when the password form is displayed.
Using a code editor, add the PHP to the end of your child themes functions.php file.
Based on the following question from a member of the Genesis community :
Subscribe for new Tutorials
I want to hide the sidebar on my pages that are password protected by WordPress. Why is this not working in my functions.php file? I think I’d like to remove the sidebar so that my password login appears centered.