Member access

Permalink
I am currently working on a site closed to the public.
The people I work with have a "member" account.
Once identified, people can see the site without being able to administer it.
Until then it works.
But, the navigation menu is down 48px.
In fact, since the person is identified, this causes a reservation of the management menu although it does not appear for the member.
It's annoying because it changes the esthetics of the site.
Since the member does not have access to the admin, it would automatically hide the space usually used for the menu that manages the site.
An evolution would it be possible?
Thank you

Elstud
View Replies:
hutman replied on at Permalink Reply
hutman
This sounds like you might have a CSS rule in your theme somewhere that says if the user is logged in to add the top margin. Usually this is because of a sticky header. Are you able to check your developer console and see if that is the case when logged in as a member?
Elstud replied on at Permalink Reply
Elstud
Yes I have many error like that but I don't know how I can fix this.

Session Invalidated. Session IP "2a01:cb18:3c3:4b00:9427:472c:d030:641e" did not match provided IP ".....................".

(I mask the ip)
hutman replied on at Permalink Reply
hutman
Assuming you are using 8.5+ what you need to do is if you have a file application/config/concrete.php make sure these array items are in it. If you don't have one create a new one and add this content to it

<?php
return [
    'security' => [
        'session' => [
            'invalidate_on_ip_mismatch' => false,
      ]
   ]
];
Elstud replied on at Permalink Reply
Elstud
..
hutman replied on at Permalink Reply
hutman
This sounds like you might have a CSS rule in your theme somewhere that says if the user is logged in to add the top margin. Usually this is because of a sticky header. Are you able to check your developer console and see if that is the case when logged in as a member?