to hide a module or section from non-logged in users

use the plug in called: Content Visibility for Divi Builder

on any divi section or module add this to the visility option: is_user_logged_in()
(Advanced >> Visibility >> Content Visiblity)

 

Hide the footer

https://quadlayers.com/hide-remove-footer-in-divi/

place this code in Divi custom css

/* Remove bottom footer from divi */
#footer-bottom {
display:none;
}

Expand Toggle module when Linked to from another page with anchor:

Divi Theme: How to open Toggle with a link

Add this code to Divi Integrations:

<script type="text/javascript">
(function($){
$(window).load(function(){
var et_hash = window.location.hash;
if(window.location.hash) {
$( '.et_pb_toggle' + et_hash )
.removeClass('et_pb_toggle_close')
.addClass('et_pb_toggle_open')
}
});
})(jQuery)
</script>

 

Plug-ins added

Content Visibility for Divi Builder
for hiding content from non-logged in users. 

 

Search Exclude
Exclude selected pages and posts from appearing in search results
Checkmark found in "Quick Edit" mode

 

Log Out Redirect
Log out takes you to the home page instead of the WordPress login page

 

Section padding to remove the extra space between sections (this has not been added yet - as of 2/24/2021
place this code in the Additional CSS
.et_pb_section {
padding-top: 10px !important;
padding-bottom: 10px !important;
}