2017-10-19 79 views
0

超級amatuer編碼器試圖創建一個完美的婚禮博客網站。我一直指向這個論壇的方向從這裏https://productforums.google.com/forum/?utm_medium=email&utm_source=footer#!msg/blogger/XoinQAtTfOk/8Zw0SsX8AAAJBlogspot刪除帖子上方的黑線

我已經刪除了我的博客上的帖子/頁面標題,但它仍然留下了一個短的水平黑線。有沒有辦法去除這個?

我用下面的HTML代碼刪除標題:

。員額H3 {顯示:無重要;}

的網址https://chrisandruthgetweddytorumble.blogspot.com/對於想一探究竟的人。

謝謝!

回答

0

您可以檢查頁面以查找代碼。例如,在Chrome中,如果右鍵單擊並選擇「檢查」,代碼將出現在右側。當我選擇那個鏡頭線時,我看到「:: before:」。所以,無論如何blogspot刪除將解決您的問題。 enter image description here

0

如果你F12並選擇水平部分,你會得到這樣的:

enter image description here

您需要刪除::before解決您的問題

0

你可能之前使用這個[即時「< / head >」tag]:

<style> 
.widget.FeaturedPost .featured-post-snippet::before { 
    content: ""; 
} 
.page .widget.FeaturedPost .post-header { 
    display: none !important; 
    height: 0 !important; 
    margin: 0 !important; 
} 
</style>