Jump to content

The 'Logged in as Administrator' box


pbnet

Recommended Posts

I found it rather annoying that this box was output by some encrypted code. Such a small thing, why force it on people who paid for your script? At least give it a class name or id! In my case it was overlapping an area of my design (nav), and this is how I was able to do something about it. :lol:

 

Here's some options for you all....

 

Drop either of these in your footer...

 

To completely hide the admin box:

 

{literal}
<script type="text/javascript">
$("div:contains(Logged in as Administrator):last").hide();
</script>
{/literal}

 

To just move the box (as is will set to bottom left):

 

{literal}
<script type="text/javascript">
$("div:contains(Logged in as Administrator):last").css({'top' : '95%', 'right' : '80%'});
</script>
{/literal}

 

Hope it helps!

Link to comment
Share on other sites

  • 1 month later...
  • 4 weeks later...
  • 9 months later...
What about reformating it ?

 

I wanted to add a line break where the | is at in the line. Is that possible ?

 

Here's another way to do it - in your stylesheet, add the following:

 

div[style="position:absolute;top:0px;right:0px;padding:5px;background-color:#000066;font-family:Tahoma;font-size:11px;color:#ffffff"]
{
background-color: #c08121 !important; /* Change bg color */
position: fixed !important; /* Change positioning */
/* etc. */
}

 

Here's how to add the line break:

 

div[style="position:absolute;top:0px;right:0px;padding:5px;background-color:#000066;font-family:Tahoma;font-size:11px;color:#ffffff"] a
{
display: block;
}

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated