[英]Website's header not in position on Internet Explorer
I've made a website with Wordpress, everything's fine except on Internet Explorer 11. The header's li and ul go down, I suspect an incompatible CSS rule in the theme I used. 我已经用Wordpress建立了一个网站,除了Internet Explorer 11以外,其他都没问题。标头的li和ul掉了,我怀疑我使用的主题中的CSS规则不兼容。 I already had to correct somethings that weren't responsive as advertised, and I reach the end of my knowledge.
我已经不得不纠正一些没有像广告中所说的那样做出响应的事情,而我的知识已经到了尽头。
Most parts of the header are in position:relative. 标头的大多数部分都位于position:relative。 I played with the padding also, it went up a little but not at it's initial place.
我也玩了填充,它上升了一点,但不是在初始位置。
Fun fact, when the wordpress admin bar is visible, the header gets (sometimes) back to normal. 有趣的是,当显示WordPress管理栏时,标题有时会恢复正常。
The URL of the website : https://cdj-vaud.ch 网站网址: https : //cdj-vaud.ch
The support team gave this CSS fix, but it works only on Chrome and Firefox. 支持团队提供了此CSS修复程序,但仅适用于Chrome和Firefox。
@media only screen and (max-width: 1440px) {
.edgtf-main-menu ul li a {
font-size: 12px !important;
}
.edgtf-main-menu>ul>li>a span.edgtf-item-inner {
padding: 0 5px;
}
}
If someone knows what rule isn't recognized by Internet Explorer, it would be awesome ! 如果有人知道Internet Explorer无法识别什么规则,那就太好了!
in chrome on mac os x its broken too. 在Mac OS X上的Chrome中也坏了。 just play around with the margin left and right.
只需左右移动边距即可。 that fixed it for me.
帮我解决了
.edgtf-vertical-align-containers
.edgtf-position-center:before,
.edgtf-vertical-align-containers
.edgtf-position-left:before,
.edgtf-vertical-align-containers
.edgtf-position-right:before {
margin-right: -25px;
}
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.