2017-01-10 143 views
0

在研究了這個話題後,我發現這是一個相當常見的問題,但是一個解決方案因主題而異。我聯繫我的主題開發人員,但尚未收到回覆。如何消除身體內容和頁腳之間的空白空白?

我已經瀏覽了我的主題的CSS,並且一直未能找到如何或在哪裏擺脫身體內容和我的頁腳之間的白色空間差距。

Here is a screenshot of the issue.(請注意:這是預覽的屏幕截圖;實際上並不實際)。我的網站是:https://dental.keystoneindustries.com/

是否有一行CSS需要編輯/刪除/添加?如果是這樣,在哪裏? CSS張貼如下。

#languageSelector { 
display: none; 
} 

/*Language selector*/ 

div#all-site-wrapper.hfeed.site div.OneLinkShow.OneLinkKeepLinks { 
position: absolute; 
width: 100%; 
left: auto; 
right: auto; 
z-index: 100000; 
} 

div#all-site-wrapper.hfeed.site div.OneLinkShow.OneLinkKeepLinks p { 
max-width: 1170px; 
width: auto; 
padding: 15px 15px 0; 
margin-left: auto; 
margin-right: auto; 
} 

.wpr_hazzard_img { 
width: auto !important; 
display: block; 
} 

.wpr_hazzard_img_inline { 
width: auto !important; 
display: inline-block !important; 
} 

.wpr_message_box { 
display: inline-block; 
margin: 0 1em 1em 0; 
padding: 0 20px; 
vertical-align: top; 
background: #fff none repeat scroll 0 0; 
border: 3px solid black; 
border-radius: 0; 
color: black; 
} 

.group_table .woocommerce .quantity, .woocommerce-page .quantity{ 
width: 50px !important; 
display: inline-block; 
float: left !important; 
} 
.group_table .wpr_tooltip_js{ 
display: inline-block; 
margin-top: 10px; 
vertical-align: middle; 
} 
#all-site-wrapper .iv-layout.header .login-ajax .trigger { 
font-size: 13px; 
} 


.header-right-area { 
margin-top:12px; 
} 
.live-search .iv-layout.header .inner-form { 
padding: 14px; 
} 
.live-search { 
position: relative; 
} 
.live-search .trigger { 
display: none; 
} 
.live-search .inner-wrapper { 
visibility: visible; 
opacity: 1; 
position: static; 
} 

#all-site-wrapper .live-search:not(.search-top-style):not(.search-full-screen-    alt-style):not(.search-full-screen-style) .inner-wrapper:after, 
#all-site-wrapper .live-search:not(.search-top-style):not(.search-full-screen- alt-style):not(.search-full-screen-style) .inner-wrapper:before { 
display: none; 
} 
.live-search .inner-wrapper { 
width: 260px; 
border: 0 none; 
} 
#all-site-wrapper .live-search .inner-form { 
padding: 0; 
} 

.classic-right-area .wpr-fix .iv-module { 
margin-left: 10px; 
} 

@media (max-width: 1200px) { 
.classic-right-area { 
    min-height: 200px; 
} 
.classic-right-area .header-right-area { 
    position: relative; 
} 

#all-site-wrapper .classic-right-area .wpr-fix .iv-module { 
    padding-bottom: 20px; 
} 
#all-site-wrapper .wpr-fix { 
    width: auto; 
} 
#all-site-wrapper .login-ajax { 
    margin-top: 10px; 
} 
#all-site-wrapper .woo-cart { 
    margin-top: 4px; 
} 
} 

@media (max-width: 992px) { 
#all-site-wrapper .wpr-fix .iv-module { 
    display: block; 
} 
#all-site-wrapper .wpr-fix { 
    position: relative; 
    width: 100%; 
} 
#all-site-wrapper .login-ajax .inner-wrapper { 
    left: 0; 
} 
#all-site-wrapper .login-ajax .inner-wrapper:before { 
    left: 31px; 
} 
#all-site-wrapper .login-ajax .inner-wrapper:after { 
    left: 32px; 
} 
#all-site-wrapper .classic-right-area .custom-text { 
    display: none !important; 
} 
#all-site-wrapper .wpr-fix .live-search { 
    position: absolute; 
    top: 0; 
    left: 20px; 
    margin-left: 0; 
} 
} 

@media (max-width: 767px) { 
.wpr-spacer { 
    height: 130px; 
    width: 100%; 
    float: left; 
} 

#all-site-wrapper .wpr-fix .live-search { 
    margin: 0 auto !important; 
    position: static; 
    float: none; 
} 
#all-site-wrapper .wpr-fix .login-ajax { 
    position: absolute; 
    top: 20px; 
    left: 25%; 
    width: 200px; 
} 
#all-site-wrapper .wpr-fix .woo-cart { 
    position: absolute; 
    left: 41%; 
    top: 20px; 
    width: 250px; 
} 
#all-site-wrapper .logo img { 
    margin-top: 0px; 
} 

#all-site-wrapper .header-left-area { 
    display: inline-block; 
    float: none; 
    position: relative; 
    left: 24%; 
} 
#all-site-wrapper .header-left-area .logo { 
    margin: 35px 0 0px; 
} 


#all-site-wrapper .live-search .inner-form { 
    margin-top: -46px; 
} 
} 

@media (max-width: 600px) { 
#all-site-wrapper .wpr-fix .login-ajax { 
    left: 22%; 
} 
} 

@media (max-width: 478px) { 
#all-site-wrapper .wpr-fix .login-ajax { 
    left: 0; 
    width: 80px; 
} 
#all-site-wrapper .wpr-fix .woo-cart { 
    left: 24%; 
    width: auto; 
} 

#all-site-wrapper .classic-right-area .wpr-fix .iv-module.live-search { 
    padding-bottom: 0; 
    position: absolute; 
    right: 15px; 
    bottom: 15%; 
    left: auto; 
    top: auto; 
} 

.live-search .inner-wrapper { 
    width: 170px; 
    border: 0 none; 
} 

.wpr-spacer { 
    height: 80px; 
    width: 100%; 
    float: left; 
} 

.wpr-fix { 
    margin-top: 0; 
} 

div#all-site-wrapper.hfeed.site div.OneLinkShow.OneLinkKeepLinks p { 
    margin-bottom: 10px; 
    padding: 15px; 
} 

#all-site-wrapper .header-left-area .logo { 
    margin: 5px 0 0; 
} 

.classic-right-area .menu-area-wrapper { 
    border-top: 0; 
    border-bottom: 0; 
    position: absolute; 
    top: 0; 
    right: 0; 
} 

.classic-right-area { 
    min-height: 130px; 
} 

.classic-right-area.stuck { 
    min-height: inherit; 
} 

.classic-right-area.stuck .container { 
    display: block !important; 
} 

.classic-right-area.stuck .container .header-left-area .logo { 
    margin: 15px auto !important; 
} 

.classic-right-area.stuck .container .header-left-area .logo .logo-normal { 
    margin: 0 auto; 
} 

.classic-right-area.stuck .container .wpr-fix { 
    display: none; 
} 
} 

任何幫助將不勝感激!

回答

0

你有類.ivan-custom-wrapper其中margin-bottom: 45px;這是導致空白的元素。要麼完全刪除該邊距,要麼將其更改爲margin-top,然後在該元素的第一個實例上將邊距清零。

+0

感謝您的幫助!我沒有在上面的CSS中找到'.ivan-custom-wrapper'類,但我沒有在這個地方尋找合適的地方嗎?我從編輯器中的樣式表中獲取這個CSS。 –

+0

因爲您正在使用合併所有CSS文件的縮小器,所以我不確定它處於哪個文件中。但它是其中之一,而不是主要的CSS文件。 – APAD1

相關問題