Cannot remove a block from my page

Permalink
Hi there! As you can see there's a phone number on the top of my website:http://www.zillionproductions.com...
I added it just to try it out, but now I'm unable to remove it... Every time I sign out, I see the phone number, but when I sign in to edit the page, it's gone!

Any other way to get it out of there?

Thanks!

ZillionProductions
 
MysteriousCleon replied on at Permalink Reply
MysteriousCleon
You mean that admin bar covers that space?
You may add this code somewhere after <body> tag in your template:
<?php 
$c = Page::getCurrentPage();
$p = new Permissions($c);
if ($p->canWrite()) {?>
      <div style="width:100%; min-height: 80px"></div>
      <?php  } ?>

It adds 80px height div when you are in edit mode, so all page content is lowered...
ZillionProductions replied on at Permalink Reply
ZillionProductions
It's probably a silly question, but how can I do this and where do I find the tempalate?

Thanks for ur help!
MysteriousCleon replied on at Permalink Reply
MysteriousCleon
Template should be in themes/ folder, or packages/themes. File to edit is most often your_template/elements/header.php ... but it depands on template.
SnefIT replied on at Permalink Reply
SnefIT
Hi ZillionProductions ;)

I'll help you to do this! It's a little tweak! Just let me know when I can change this for you.

SnefIT