内容与我在 Joomla 中的 header 重叠! 3.4.5
Content overlaps my header in Joomla! 3.4.5
我正在使用 Joomla!使用 Artisteer 生成的模板。我想把我的 header 放在一个固定的位置,这样当我滚动时,header 会留在它的位置,我知道该怎么做。但是,当我的 header 已修复并滚动时,我网站的内容与我的 header 重叠,这对我来说没有任何意义。有人可以帮我吗?
.art-header
{
margin: 0 auto;
height: 80px;
background-image: url('../images/header.jpg');
background-position: center top;
background-repeat: no-repeat;
position: fixed;
z-index: auto !important;
}
可能您必须将 header z-index 更改为顶部 canvas 值 9999 和
div/section 内容 z-index 到 1.
.art-header
{
margin: 0 auto;
height: 80px;
background-image: url('../images/header.jpg');
background-position: center top;
background-repeat: no-repeat;
position: fixed;
z-index: 9999 !important;
}
我正在使用 Joomla!使用 Artisteer 生成的模板。我想把我的 header 放在一个固定的位置,这样当我滚动时,header 会留在它的位置,我知道该怎么做。但是,当我的 header 已修复并滚动时,我网站的内容与我的 header 重叠,这对我来说没有任何意义。有人可以帮我吗?
.art-header
{
margin: 0 auto;
height: 80px;
background-image: url('../images/header.jpg');
background-position: center top;
background-repeat: no-repeat;
position: fixed;
z-index: auto !important;
}
可能您必须将 header z-index 更改为顶部 canvas 值 9999 和 div/section 内容 z-index 到 1.
.art-header
{
margin: 0 auto;
height: 80px;
background-image: url('../images/header.jpg');
background-position: center top;
background-repeat: no-repeat;
position: fixed;
z-index: 9999 !important;
}