2016-09-18 98 views
0

我意外地隱藏了我爲我的網站頁腳創建的重力形式的字段,我認爲這發生在我添加CSS代碼以減少表單字段之間的間距時。缺少重力形式字段

請如何撤消此操作,因爲我只能看到提交按鈕和窗體小部件標題。

Here's a link to the website if needed.

而且,這裏是截圖到頁腳控件:

enter image description here

感謝

body .gform_wrapper ul li.gfield { 
 
     margin-top: 0px !important; 
 
     padding-top: 0; 
 
    } 
 
    .block-content ul li { 
 
      margin-bottom: 0 !important; 
 
      margin-top: 0 !important; 
 
     } 
 
    .gform_body ul li .ginput_container select,.gform_body ul li .ginput_container input{ 
 
      margin-bottom: 0px; 
 
    } 
 
    .gform_wrapper .top_label .gfield_label { 
 
     display: none !important; 
 
    }

+0

你好貝基安倍晉三。看看下面我的答案,如果有幫助,請_accept_答案,或者,讓我知道如果它沒有幫助,以便我們可以繼續嘗試解決您的問題:) – Frits

+0

對不起,我還沒有真正習慣這個平臺。 –

回答

0

你的域是隱藏由於不同的規則在樣式表。

檢查您的網站的Web元素表明我:

159線您的style.css裏面

.gform_wrapper.two-column_wrapper ul.gform_fields, .gform_wrapper.two-column_wrapper ul.gform_column li.gsection:first-child { 
    display: none; 
} 

你的第一個聲明:.gform_wrapper.two-column_wrapper ul.gform_fields是內部重力表單域父容器形式。刪除這個(以及用逗號分隔兩個課程聲明)將解決這個問題。

對於細節的目的,該行代碼將成爲:

.gform_wrapper.two-column_wrapper ul.gform_column li.gsection:first-child { 
    display: none; 
} 

Firebug測試這在Firefox和它顯示這樣:

working solution