IsEditMode problem

Permalink
I am using a free theme but when i go into edit mode the mouse does not select the right area - it gets shunted down (see attached screenshot) presumably because of the top C5 edit bar. I notice that the theme does not use the "IsEditMode" however since I added it I do not see any difference. I added the code to the header
<div id="header"><?php 
            if (!$c->isEditMode()) { ?>
         <div class="spacer"></div>
      <?php  } ?>

with a class in main.css of
#page #headerspacer {height: 64px;}


but I am unsure as what the header spacing should be or even if I have applied this correctly I tried various values to no effect?

1 Attachment

PhilYoung
 
12345j replied on at Permalink Reply
12345j
what theme are you using? If its an mp theme you should post in its support. try hovering over all the editable areas, and if it starts after one elemnent, you know thats the problem- sometimes borders aren't accounted for.
PhilYoung replied on at Permalink Reply
PhilYoung
I discovered what the issue was - I have google translate in the header which pushes everything down. I found the simple answer here

http://www.concrete5.org/community/forums/usage/google-translate/...