Making nav visible in editmode

Permalink
I have an issue with the navbar in my header as I have made the header sticky.

When it editmode, the navbar is obscured by the c5 editing strip at the top of the screen. What is the code needed to adjust the position just for editmode viewing?

thanks

trixiemay
 
eldios replied on at Permalink Best Answer Reply
Are you looking for this:

<?php
if ($c->isEditMode()) { ?>
print "<link rel=\"stylesheet\" href=\"".$this->getThemePath()."/css/editmode.css\" type=\"text/css\" />";
<?php } ?>
trixiemay replied on at Permalink Reply
trixiemay
Thanks.
But I put it in my header.php (autonav is in there), stripped out the backslashes, created an editmode.css file and filled in the href but doesn't link.

Can I just use a css rule rather than a link to a separate css file?
eg. #headerwrapper { margin-top: 50px; }
trixiemay replied on at Permalink Reply
trixiemay
Doh! Didn't have it in editmode!!

Does work. Thanks again.