Moving the body tag in edit mode idiosyncracy
Permalink
Hi,
I'm using this excellent piece of code I got somewhere (can't remember where) to move the body tag down 50px.
The trouble is when I log in it works properly but when the client, who is an admin logs in, it has the ugly white gap at the top.
I'm guessing it's something to do with this line ans it seems only to talk to the super admin or something.
I'd like to fix it so that anyone who logs in doesn't see the big white gap please.
Any ideas?
Nige
I'm using this excellent piece of code I got somewhere (can't remember where) to move the body tag down 50px.
The trouble is when I log in it works properly but when the client, who is an admin logs in, it has the ugly white gap at the top.
I'm guessing it's something to do with this line
if($cp->canAdmin() && $cp->canAddSubContent()){
I'd like to fix it so that anyone who logs in doesn't see the big white gap please.
Any ideas?
Nige
Hi
Should we still need to perform the above. I understood that the toolbar should push all elements down as well as the body ?
Am asking this as I have problem with background image on body element not moving down when signed in.
Should we still need to perform the above. I understood that the toolbar should push all elements down as well as the body ?
Am asking this as I have problem with background image on body element not moving down when signed in.
Can anyone reply on the above as I thought the toolbar issue was fixed in 5.5.1.
It seems that in 5.5.1 the toolbar overlaps the body tag , say if you have an image repeated at the top in the Body tag then when logged in the image sits behind the toolbar.
In the last Totally Random 2/10/2012 it was mentioned that this has been fixed ?
It seems that in 5.5.1 the toolbar overlaps the body tag , say if you have an image repeated at the top in the Body tag then when logged in the image sits behind the toolbar.
In the last Totally Random 2/10/2012 it was mentioned that this has been fixed ?
http://defunctlife.com/2010/06/concrete5-edit-bar-is-in-the-way-how...