[英]Transparent header in Wordpress theme
我目前正在該網站上進行一些編輯: http : //www.katiemalinmakeupartist.com
我想要一個完全透明的標題。 我做了這個自定義CSS:
#header {
background: transparent !important;
background-position: top center !important;
box-shadow: inset 0 0 0 0 rgba(255,255,255,0.2) !important;
}
#logo {
display:none;
}
#mobile-logo {
display:none;
}
#mobile-header.mobile-header.v1 {
background: transparent !important;
}
透明度不適用於任何設備。 有什么建議么?
我已經看到您在其中使用了背景色
也許這就是為什么它不起作用的原因。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.