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
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
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; }
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; }
Doh! Didn't have it in editmode!!
Does work. Thanks again.
Does work. Thanks again.
<?php
if ($c->isEditMode()) { ?>
print "<link rel=\"stylesheet\" href=\"".$this->getThemePath()."/css/editmode.css\" type=\"text/css\" />";
<?php } ?>