响应式设计景观问题

时间:2014-09-23 08:14:04

标签: css mobile responsive-design

我正在使用网站的响应式设计环境,但每次网站刷新或点击菜单时,它的css都不适用。首次输入时仅在第一页上。我使用wordpress和一个名为pinboard的主题

网站:www.retorikgruppen.se

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

    .threefourthcol { width: 100%;  } 
    .threefourthcol .threecol { width: 100%; }  
    .fourcol, .onecol .fourcol { width: 100%; }  
    #wrapper {  max-width:100%; }   
    #slider .entry-container { top:28%; }   
    .threefourthcol .threecol .entry, .onecol .fourcol .entry, .fourcol .widget { margin: 5%; } 
    img.attachment-gallery-thumb {  max-width:82px; }   
    .twocol img.attachment-gallery-thumb {  max-width:74px; } 
    .single img.attachment-gallery-thumb {  max-width:100%; } 
    format-audio object { min-height:24px; }    
    .single .format-audio object { height:24px; } 
    .social-bookmarks iframe {  min-height:0; }     
    #sidebar-header {   width:468px; height:60px; margin-top:20px;  }  

}  

1 个答案:

答案 0 :(得分:0)

尝试元标记" viewport"。请参阅this link。我也面临同样的问题。

相关问题