• 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

XFacil.com

Active member
#1
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):
Code:
<!DOCTYPE html>
<html id="XenForo" lang="{$visitorLanguage.language_code}" class="Admin">
<head>
 <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}'}" />
 <!--XenForo_Require:CSS-->

 <xen:include template="page_container_js" />
 <!--XenForo_Require:JS-->
 
 <xen:if is="{$head}"><xen:foreach loop="$head" value="$headElement">{xen:raw $headElement}</xen:foreach></xen:if>
</head>
<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>
 </p>
 </xen:if>

 <xen:include template="content_header" />
 
 {xen:raw $contents}
 </div>
 
 <xen:include template="footer" />
 
 </div>
 
 <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}
 </xen:foreach>
 </ul>

</div>

</body>
</html>
Basically, add style="margin-top: 69px;" in lines 24 and 44. Content panel scroll below header acp.
31.png 32.png

Salud2
 

Kier

XenForo Developer
Staff member
#2
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.
 

XFacil.com

Active member
#3
The dimensions of the logo image are of the same height or less as the original logo XenForo.

33.png

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

Salud2
 

XFacil.com

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

34.png

See images, please.

Salud2