1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Not a Bug z-index in acp

Discussion in 'Resolved Bug Reports' started by XFacil.com, Oct 7, 2011.

  1. XFacil.com

    XFacil.com Active Member

    in acp. is overlaid navTab panel over the sidebar and content panels (see attachs)
    30.png 29.png

    I solved modifying admin PAGE_CONTAINER template as (full remplacement):
    <!DOCTYPE html>
    <html id="XenForo" lang="{$visitorLanguage.language_code}" class="Admin">
     <meta charset="utf-8" />
     <meta name="robots" content="noindex" />
     <title><xen:if is="{$title}">{xen:raw $title} | {xen:phrase admin_cp} - {$xenOptions.boardTitle}<xen:else />{xen:phrase admin_cp} - {$xenOptions.boardTitle}</xen:if></title>
     <link rel="stylesheet" href="{xen:adminlink '_css', '', 'css=public:xenforo,public:form,admin,header,footer', 'd={$_styleModifiedDate}'}" />
     <xen:include template="page_container_js" />
     <xen:if is="{$head}"><xen:foreach loop="$head" value="$headElement">{xen:raw $headElement}</xen:foreach></xen:if>
    <body data-controller="{$controllerName}::action{$controllerAction}; {$viewName}">
    <xen:include template="header" />
    <div id="body" class="pageWidth">
     <div id="contentContainer">
     <div id="content" style="margin-top: 69px;">
     <noscript><p class="importantMessage">{xen:phrase xenforo_admin_control_panel_requires_javascript}</p></noscript>
     <xen:if is="{$showUpgradePendingNotice}">
     <p class="importantMessage">
     {xen:phrase upgrade_is_pending_forum_only_accessible_in_debug} <br />
     <a href="install/">{xen:phrase complete_upgrade}</a>
     <xen:include template="content_header" />
     {xen:raw $contents}
     <xen:include template="footer" />
     <xen:require js="js/xenforo/sidebar.js" />
     <ul id="sideNav" class="FixedSidebar" style="margin-top: 69px;">
     <xen:foreach loop="$sideNav" value="$sideLink">
     {xen:raw $sideLink}
    Basically, add style="margin-top: 69px;" in lines 24 and 44. Content panel scroll below header acp.
    31.png 32.png

  2. Kier

    Kier XenForo Developer Staff Member

    The admin control panel is written to work with the default layout. If you want to replace elements, such as the header logo, you will need to alter the CSS in order to accommodate your changes.

    This is not a bug.
  3. XFacil.com

    XFacil.com Active Member

    The dimensions of the logo image are of the same height or less as the original logo XenForo.


    It should not be necessary to alter the CSS for this.

  4. Brogan

    Brogan XenForo Moderator Staff Member

    Quite clearly it isn't.


    XenForo-small.png is the ACP logo, it is 100px x 30px.
  5. XFacil.com

    XFacil.com Active Member

    Sorry, Brogan. I edited and updated the post when you reply. It's image 25 x 25 px or image 100 x 100 px.


    See images, please.

  6. Brogan

    Brogan XenForo Moderator Staff Member

    Your image is 100px tall.

    The original is 30px tall.
  7. XFacil.com

    XFacil.com Active Member

    Completely true. Thank you.

  8. discoian

    discoian Active Member


Share This Page