2014-09-23 69 views
0

我在網站上使用響應式設計景觀,但每次網站刷新或當您單擊菜單時,它的CSS都不適用。只有在首次輸入時才顯示在首頁上。進出口使用WordPress和主題命名通知板響應式設計景觀問題

網站: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; } 

} 
+0

在Chrome和Firefox中運行該網站。我沒有看到任何問題。你能否進一步描述你的問題? – henser 2014-09-23 08:18:47

+0

對不起,我的意思是當你使用手機時,當你刷新頁面或點擊菜單,在你的手機上時,CSS規則不起作用 – 2014-09-23 08:27:55

回答

0

嘗試meta標籤 「視」。請參閱this link。我也面臨同樣的問題。

+0

WordPress已經處理好了:,但不起作用 – 2014-09-23 09:04:48

+0

是的。我知道。嘗試根據需要對其進行修改並查看更改。我在iphone上查看網站時遇到過同樣的問題。我修改了這個,它工作。 – Akshay 2014-09-23 09:35:00

+0

我該如何修改它?不能在css中找到它 – 2014-09-24 07:23:46