2016-07-09 43 views
-1

我不是HTML知識豐富的所有人。我的帖子在這裏是關於我在創建的網站中的HTML問題http://testingthistemplate.weebly.com/在網站標題圖像中刪除HTML中的灰度

我只是想要刪除我在Weebly網站標題中使用的灰度代碼。 Weebly或Weebly支持社區沒有人回答我的問題。我不知道該怎麼辦。我想要的只是我的網站標題(它們來自Weebly模板)以正常顏色顯示標題圖像(它們是我的,我上傳的),而不是黑色和白色。

我真的很感謝任何幫助編輯下面的代碼,併發布備份以供我複製。抱歉,添麻煩了。謝謝!!!!!

body {    

height: 100%;   

font-size: 15px;  

font-family: 'Cabin', Arial, sans-serif;   

line-height: 1;    

background: #2e2e2e;    

color: #818181;  

padding: 0 !important;   

margin: 0 !important;   

-webkit-font-smoothing: antialiased !important;   

-moz-font-smoothing: antialiased !important;   

-o-font-smoothing: antialiased !important;   

-moz-osx-font-smoothing: grayscale;  

我真的很感激你的幫忙。

回答

0

嘗試

#wrapper .wsite-background { 
    filter : none !important; 
} 
0

您在main_style.css樣式表中有這樣的CSS:

#wrapper .wsite-background { 
    width: 100%; 
    opacity: 0.4; 
    background-repeat: no-repeat; 
    background-size: cover; 
    background-position: center center; 
    background-color: transparent;z-index: 10; 
    -moz-filter: grayscale(100%); 
    -ms-filter: grayscale(100%); 
    -o-filter: grayscale(100%); 
    filter: grayscale(100%); 
    filter: gray; 
} 

通知-moz-filter-ms-filter-o-filter,並且filter設置?刪除這些。

0

嘗試通過main_style.css文件或其他.css擴展名進行搜索。十找到這個名字的部分:#wrapper .wsite-background。更改如下:

-webkit-filter: grayscale(100%); 
-moz-filter: grayscale(100%); 
-ms-filter: grayscale(100%); 
-o-filter: grayscale(100%); 
filter: grayscale(100%); 
filter: gray; 

-webkit-filter: none; 
-moz-filter: none; 
-ms-filter: none; 
-o-filter: none; 
filter: none; 
filter: none;