2015-04-06 111 views
0

我在標題中有兩個標誌(即時通訊使用customizr主題),但在Chrome中我只看到1個標誌並且在firefox 2標誌中。不要在標題中看到標誌

在谷歌瀏覽器:

enter image description here

和Mozille火狐:

enter image description here

我的問題是,爲什麼我只看到1標誌的鍍鉻?

我給這家代碼:

<header class="<?php echo implode(" ", apply_filters('tc_header_classes', array('tc-header' ,'clearfix', 'row-fluid'))) ?>" role="banner"> 
     <div style = 'position: absolute; top: 10px; right: 20px;'> 
       <a href = 'http://localhost/wordpress/wordpress/et/'><img src = 'http://www.wizards.com/events/images/flag_Estonia.jpg' /></a> 
       <a href = 'http://localhost/wordpress/wordpress/en/'><img src = 'http://www.hans-pedersen.com/en/img/icon-english.gif' /></a> 
     </div> 

     <div style = 'position: absolute; right: 100px; top: 10px; z-index: 201'> 
       <?php wp_loginout(); ?> 
     </div> 
      <div style = 'position: relative; right: 80px;'> 
      <?php 
       // The '__header' hook is used with the following callback functions (ordered by priorities) : 
       //TC_header_main::$instance->tc_logo_title_display(), TC_header_main::$instance->tc_tagline_display(), TC_header_main::$instance->tc_navbar_display() 
       do_action('__header'); 
      ?> 
      </div> 
     </header> 

我已經嘗試過移動標誌合適的位置,以40,100 ...,但是什麼都沒有。

有人可以幫我或提供一些線索:)謝謝!

+0

您能否給我網站鏈接?我會爲你提供解決方案,希望它的css問題! – Iffi 2015-04-06 10:26:50

+0

對不起,但它在本地主機:S – frantsium 2015-04-06 10:27:20

回答

0

嘗試從標誌div中刪除位置樣式,因爲這一個標誌沒有正確顯示。現在只是空着,並檢查標誌顯示的位置。

<div style = ''> 
    <a href = 'http://localhost/wordpress/wordpress/et/'><img src = 'http://www.wizards.com/events/images/flag_Estonia.jpg' /></a> 
    <a href = 'http://localhost/wordpress/wordpress/en/'><img src = 'http://www.hans-pedersen.com/en/img/icon-english.gif' /></a> 
</div> 
+0

如果兩個標誌顯示標題上的某個地方,則表示您的頂部和右側位置是正確的。再次調整 – Iffi 2015-04-06 10:32:57

+0

我在Chrome中只能看到一個標誌,它很奇怪,就像1周前的所有作品一樣,現在是一個標誌消失了。 – frantsium 2015-04-06 10:36:22

+0

我在屏幕截圖中看到您剛剛登錄過任何用戶。你可以請登出,而不是檢查鍍鉻。? – Iffi 2015-04-06 10:40:40