Css 响应式设计-Div

Css 响应式设计-Div,css,Css,这是一个网站: div.top条在830px时消失。有人知道为什么会发生这种情况吗。它正在消失,因为在你的css中: @media screen and (max-width: 830px) .masthead .top-bar, .masthead .hide-on-mobile { display: none !important; } 考虑将其删除,或者如果希望其保持可见,请更改设计方法。有一个媒体查询CSS规则设置为在此文件中隐藏该元素http://advancedcomput

这是一个网站:


div
.top条
在830px时消失。有人知道为什么会发生这种情况吗。

它正在消失,因为在你的css中:

@media screen and (max-width: 830px)
.masthead .top-bar, .masthead .hide-on-mobile {
    display: none !important;
}

考虑将其删除,或者如果希望其保持可见,请更改设计方法。

有一个媒体查询CSS规则设置为在此文件中隐藏该元素
http://advancedcomputerdiagnostics.dcdev1.com/wp-content/uploads/wp-less/dt-the7/css/media-bad99586e5.css?ver=3.1.0

@media screen and (max-width: 830px) {

  .masthead .top-bar,
  .masthead .hide-on-mobile {
    display: none !important;
  }

}

当我检查元素时,我无法看到此媒体查询。您必须减小页面宽度,以便控制台拾取它。它可能位于完全不同的文件中。我在检查元素时无法看到此媒体查询