Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...logo interfering with admintool bar in my skinlogo interfering with admintool bar in my skin
Previous
 
Next
New Post
7/27/2007 12:41 PM
 

 

Hello!

The problem I am having is that my logo is interfering with the display of the DNN admin toolbar. This seems to have to do with the z-index of the logo.

Here is the code from the asc skin file that contains the logo and top bar. (You cant see the top bar in my screen shots so its of no consequence. The logo is the problem here.)

<img class="header1" alt="" src="<%= SkinPath %>images/richecho_up_lft.jpg" />
        <table class="EchoLogo" ><tr><td><dnn:LOGO runat="server" id="dnnLOGO" /></td></tr></table>

 

The logo obscures the admin menu when I use certain z-index settings in the skin.css file. If I use the following:

.header1  {

    position: absolute;
    height: 129px;
    width: 155px ;
     left: 0px; 
    top: 0px;
    -z-index:-10 ;
    float: left;
    clear: right;
        z-index:0 ;
}

table.EchoLogo
    {
        position: absolute;
        top: 0px;
        left: 3px;
                z-index:0;
    }

...it looks like this:

 

If I change the z-index like so...

.header1  {

    position: absolute;
    height: 129px;
    width: 155px ;
     left: 0px; 
    top: 0px;
    -z-index:-10 ;
    float: left;
    clear: right;
        z-index:-1 ;
}

table.EchoLogo
    {
        position: absolute;
        top: 0px;
        left: 3px;
                z-index:-1;
    }

then it looks like this:

 

This doesn't solve the problem. Why? Because the logo then has disappeared for all users whether logged in or not.

Any help resolving this is appreciated.

Joe

 
New Post
7/27/2007 2:13 PM
 

Since your logo is positioned absolute to the top of the screen, you could move the control panel to the bottom of your skin.

 


DotNetNuke Modules from Snapsis.com
 
New Post
7/27/2007 2:16 PM
 

You may also want to try a relative positioning of your image header and logo instead of absolute.


DotNetNuke Modules from Snapsis.com
 
New Post
7/27/2007 2:18 PM
 

 

Thanks for your response.

I suppose I could do that. I had vaguely wondered if moving the admin bar was possible but I have no idea how to do that.

However, I have to wonder why other people arent having this problem. I'd really like the admin thing to be at the top and my logo to not interfere.

Joe

 
New Post
7/27/2007 4:35 PM
 

It's only a problem if you float those elements to the top like that.  Most skins don't do that.

To move the controlPanel to the bottom, check first to see if there is already an element with id="ControlPanel" and move it, if there isn't one, then place a div like this at the bottom of your skin:

<div runat="server" id="ControlPanel" />


DotNetNuke Modules from Snapsis.com
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...logo interfering with admintool bar in my skinlogo interfering with admintool bar in my skin


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out