Opencart Türkiye Destek Sitesi ,E-Ticaret Yazılımı Destek Paylaşım Forumu

Tam Görünüm: Css te takıldııım bir nokta
Şu Anda Arşiv Görüntüleme Modundasınız. Siteyi normal görüntülemek için, Buraya Tıklayın
Herkese iyi forumlar modifiye işlemim sırasında bir noktada baya bocaladım... Şuanki modifiye işlemim searchbox arama yeri üzerinde ama bir türlü css i oturtamadım gitti Big Grin.. Orjinal dosyasında sorun yok ama headerda düzenlemeler yapmak istedim Dengesiz bir görüntü çıktı srun nerde olabilir. Dosyanın Orjinal ektedir.


stylesheet.css eklediğim kod

PHP Kod:
/* Search Fields */

.search-wrapper {
    
width370px;
    
height35px;
    
background#E0E0E0;
    
filterprogid:DXImageTransform.Microsoft.gradient(startColorstr='#E9E9E9'endColorstr='#D7D7D7');
    
background: -webkit-gradient(linearleft topleft bottomfrom(#E9E9E9), to(#D7D7D7)); 
    
background: -moz-linear-gradient(top,  #E9E9E9,  #D7D7D7); 
    
padding8px;
    -
webkit-box-shadowinset 0px 2px 2px #B2B3B5, 0px 1px 0 #fff;
    
-moz-box-shadowinset 0px 2px 2px #B2B3B5, 0px 1px 0 #fff;
    
-o-box-shadowinset 0px 2px 2px #B2B3B5, 0px 1px 0 #fff;
    
-khtml-box-shadowinset 0px 2px 2px #B2B3B5, 0px 1px 0 #fff;
    
box-shadowinset 0px 2px 2px #B2B3B5, 0px 1px 0 #fff;
    
-webkit-border-radius50px
    -
moz-border-radius50px
    -
o-border-radius50px
    -
khtml-border-radius50px;
    
border-radius50px;
    
margin-bottom20px;
}

input.search-field {
    
displayblock;
    
width255px;
    
height35px;
    
font-family"Helvetica Neue"HelveticaArialsans-serif;
    
font-size14px;
    
color#ACACAC;
    
text-alignleft;
    
line-height34px;
    
text-decorationnone;
    -
webkit-border-radius50px
    -
moz-border-radius50px
    -
o-border-radius50px
    -
khtml-border-radius50px;
    
border-radius50px;
    
bordernone;
    
font-weightnormal;
    
floatleft;
    
padding0 10px;
    
background#F5F5F5;
    
filterprogid:DXImageTransform.Microsoft.gradient(startColorstr='#F3F3F3'endColorstr='#FFFFFF');
    
background: -webkit-gradient(linearleft topleft bottomfrom(#F3F3F3), to(#FFFFFF)); 
    
background: -moz-linear-gradient(top,  #F3F3F3,  #FFFFFF); 
    
-webkit-box-shadowinset 0px 1px 1px #9A9A9A;
    
-moz-box-shadowinset 0px 1px 1px #9A9A9A;
    
-o-box-shadowinset 0px 1px 1px #9A9A9A;
    
-khtml-box-shadowinset 0px 1px 1px #9A9A9A;
    
box-shadowinset 0px 1px 1px #9A9A9A;
}

input.search-field:focus {
    
color#666;
    
outlinenone;
    -
webkit-box-shadowinset 0px 1px 1px #4A97BA, inset 0px -1px 1px #4A97BA, 0 0 8px #4A97BA;
    
-moz-box-shadowinset 0px 1px 1px #4A97BA, inset 0px -1px 1px #4A97BA, 0 0 8px #4A97BA;
    
-o-box-shadowinset 0px 1px 1px #4A97BA, inset 0px -1px 1px #4A97BA, 0 0 8px #4A97BA;
    
-khtml-box-shadowinset 0px 1px 1px #4A97BA, inset 0px -1px 1px #4A97BA, 0 0 8px #4A97BA;
    
box-shadowinset 0px 1px 1px #4A97BA, inset 0px -1px 1px #4A97BA, 0 0 8px #4A97BA;
}

input.search-button {
    
displayblock;
    
width85px;
    
height35px;
    
font-family"Helvetica Neue"HelveticaArialsans-serif;
    
font-size14px;
    
text-aligncenter;
    
line-height34px;
    
text-decorationnone;
    -
webkit-border-radius50px
    -
moz-border-radius50px
    -
o-border-radius50px
    -
khtml-border-radius50px;
    
border-radius50px;
    
font-weightbold;
    
bordernone;
    
padding0;
    
floatright;
    
cursorpointer;


Header.tpl de editleme yaptığım yer

PHP Kod:
<div></div>
    <?
php if ($filter_name) { ?>
    <form class="search-wrapper"><input type="text" name="filter_name" class="search-field"value="<?php echo $filter_name?>" />    <input type="submit" class="search-button light" value="search" />

    <?php } else { ?>
    <input type="text" name="filter_name"class="search-field" value="<?php echo $text_search?>" onclick="this.value = '';" onkeydown="this.style.color = '#000000';" />    <input type="submit" class="search-button light" value="search" />

    <?php ?></form>
  </div> 
Üstad, localde çalışmıyorsan site linki verebilir misin?

firebug ile online css düzenlemesi yapıp kontrol sağlamaya çalışayım Smile
(09-12-2012 02:49 PM)ITECHINN Yazılan: [ -> ]Üstad, localde çalışmıyorsan site linki verebilir misin?

firebug ile online css düzenlemesi yapıp kontrol sağlamaya çalışayım Smile

localde çalşıyorum forum class="" olan yeri <div class"" olarak deişince oturdu css güzel oldu ama buton pasif onuda bi halledeyim sunacam burada
(09-12-2012 02:53 PM)Kiroglumarket Yazılan: [ -> ]
(09-12-2012 02:49 PM)ITECHINN Yazılan: [ -> ]Üstad, localde çalışmıyorsan site linki verebilir misin?

firebug ile online css düzenlemesi yapıp kontrol sağlamaya çalışayım Smile

localde çalşıyorum forum class="" olan yeri <div class"" olarak deişince oturdu css güzel oldu ama buton pasif onuda bi halledeyim sunacam burada

Merhaba; butonun pasif olmasının sebebi logonun altında kaldıgı için olabilir yani z-index olayı üstad..
arkadaşlar %90 nını tamamladım şimdi butona arama işlemini nasıl yaptıra bilirim


PHP Kod:
<?php if ($filter_name) { ?>
  <div class="kutuUc" id="search-form" style="left: 685px; top: 5px">  <input type="text" name="filter_name" value="<?php echo $filter_name?>"/>
 <input type="submit" name="filter_name" id="filter_name" value="<?php echo $text_search?>"/>
   <?php } else { ?>
<div class="kutuUc" id="search-form" style="left: 685px; top: 5px">  <input type="text" name="filter_name" value="<?php echo $filter_name?>"/>
 <input type="submit"  name="filter_name" id="filter_name"value="<?php echo $text_search?>"/>
 <?php ?>
</div> 
(09-12-2012 09:16 PM)Kiroglumarket Yazılan: [ -> ]arkadaşlar %90 nını tamamladım şimdi butona arama işlemini nasıl yaptıra bilirim


PHP Kod:
<?php if ($filter_name) { ?>
  <div class="kutuUc" id="search-form" style="left: 685px; top: 5px">  <input type="text" name="filter_name" value="<?php echo $filter_name?>"/>
 <input type="submit" name="filter_name" id="filter_name" value="<?php echo $text_search?>"/>
   <?php } else { ?>
<div class="kutuUc" id="search-form" style="left: 685px; top: 5px">  <input type="text" name="filter_name" value="<?php echo $filter_name?>"/>
 <input type="submit"  name="filter_name" id="filter_name"value="<?php echo $text_search?>"/>
 <?php ?>
</div> 
PHP Kod:
<div class="button-search"></div

bunu ekleyerek denermisin yada elindeki kodlamya göre buton kodunu eklemelisin
PHP Kod:
<input type="submit" class="search-button light" value="search" /> 
osman abi teşekkürler belirttiğin yönergeler takibinde işimi halleetim birazdan sunacağım
Referans Adresler