2014-12-01 59 views
0

我有一个文字按新闻网站运行“The Retailer”主题。由于某些原因,粘性标题不会以1024分辨率显示。它适用于上述任何分辨率。粘性标题不显示在1024分辨率上?

网站:http://museiam.ca/

这里是我的粘头CSS:

.gbtr_header_wrapper.site-header-sticky { 
    margin: 0; 
    padding: 25px 0; 
    position: fixed; 
} 
.site-header-sticky { 
    background: none repeat scroll 0 0 #fff; 
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.2); 
    display: block; 
    right: 0; 
    top: -98px; 
    transition: top 0.15s ease 0s, z-index 0s ease 0.15s; 
    width: 100%; 
    z-index: -1; 
} 
.site-header-sticky.on_page_scroll { 
    top: 0; 
    transition: top 0.3s ease 0s; 
    z-index: 9999; 
} 

感谢您寻找。

回答

0

线style.css中的13822

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

    /*sticky header*/ 

    .site-header-sticky 
    { 
     display: none; 
    } 

只是删除

.site-header-sticky 
{ 
    display: none; 
} 

使粘头继续出现

,但我劝你反对这样做因为这将打破手机款式