• 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


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



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.


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.



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.