Can I have help with this?

I have used this code to collapse an item (strip) so it doesn’t show when a user is logged in. The only problem is that when a user is logged in, its gone (which is good) but the items move up and not the footer so it shows a big gap. If I hide the strip it just leaves a blank gap too. Can people please help. This is my code,

import wixUsers from 'wix-users';
$w.onReady(() => {
    wixUsers.onLogin((user) => {
        myFunction()
    });
 if (wixUsers.currentUser.loggedIn) {
        myFunction()
    }

});

function myFunction() { 
    $w('#columnStrip6').collapse();
}

Hello,

Head over to your site code, not page code, and insert this code there:

 import wixUsers from 'wix-users'; 
 
 $w.onReady(() => {    
   if (wixUsers.currentUser.loggedIn) { 
        $w('#columnStrip6').collapse(); 
   } 
});

As for the gaps and misalignment, make sure you have no other element that overlaps with the column in question.

Goodluck,
Majd

@mqumseya can you take a look at my website?