




Wp Son Yazılar Eklentisinde Büyüklük Sorunu
-
Arkadaşlar Wordpress üstüne kurulu bir blog ta aşağıdaki gibi yazılar arasında hattinden fazla boşluk war ben bunu diğer resimde görüldüğü gibi sık sık yapmak istiyorum, yani 1. resimde 5 tane post 1cm yer kaplarken diğer resimde ard arda sıralı halde daha mumtazam ve sık duruyor, üstelik "showposts=15"yapar isek sayfa aşa doğru hayvanımsı bi görünüm elde edicek , css lerden falan bi türlü bulamadım nasıl yapacağımı bi yardım ederseniz memnun olurum,
Resim1;
Resim2;
-----------
Resim 1 de bulunanların Kodlarıda Buradadır,
-----------Buradakiler Recent Post İçin Son Eklenenler Eklentisi İçin gösterim yapılan kodlar---------
<div id="latestitems">
<h2>Yeni Dersler</h2>
<?php $recent = new WP_Query("showposts=5&offset=0"); while($recent->have_posts()) : $recent->the_post();?>
<a href="<?php the_permalink(); ?>"><img src="<?php bloginfo('template_directory'); ?>/images/bullet.gif" align="left" border="0" style="margin: 5px 5px 0px 0px;"/></a><h1><a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a></h1>
<div style="clear:both;"></div><br />
<?php endwhile; ?>
</div>
<div id="rightside">
<div id="advert-160">
<center>
<?php include (TEMPLATEPATH . '/easyedit/advert-160.php'); ?>
</center>
</div>
</div>
</div>-------Buradakilerde buna bağlı CSS'ler------------
/* ================================================================
LATEST ITEMS BLOCK
=================================================================== */
#latestitems {
float: right;
width: 224px;
margin: 0px 0px 0px 0px;
padding: 5px 0px 0px 0px;
border: 0px solid #CCCCCC;
}
#latestitems ul {
list-style: none;
margin: 0px;
padding: 0px;
}
#latestitems ul li a {
display: block;
color: #000000;
text-decoration: none;
margin: 0px;
padding: 5px 0px 5px 0px;
border-bottom: 1px dotted #C0C0C0;
}
#latestitems ul li a:hover {
background: #EBF2F7;
color: #000099;
text-decoration: underline;
}
#latestitems p{
padding: 3px 0px 0px 0px;
margin: 0px;
line-height: 5px;
}
#latestitems h1 {
color: #000000;
background: #FFFFFF;
font-size: 11px;
font-family: Trebuchet MS;
font-weight: none;
margin: 0px 0px 0px 0px;
padding: 2px 12px 2px 12px;
border-bottom: 0px dotted #777777;
}
#latestitems h1 a {
color: #000000;
text-decoration: underline;
}
#latestitems h1 a:hover {
color: #000000;
text-decoration: none;
}
#latestitems h2 {
color: #FFFFFF;
background: #333333;
width: 198px;
font-size: 11px;
font-family: Trebuchet MS;
font-weight: bold;
text-transform: uppercase;
margin: 5px 0px 10px 0px;
padding: 5px 12px 5px 12px;
border-bottom: 0px dotted #777777;
}
#latestitems h2 a {
color: #FFFFFF;
text-decoration: none;
}
#latestitems h2 a:hover {
color: #FFFFFF;
text-decoration: none;
}------------------------------------
Burada ne eklersek yada Neyi değiştirisek Bu satırlar küçülür yani 2. resimdeki gibi sıkışık olurlar
-
3px 5px yazıoya onları azaltsana
-
Imba bunu yazdı:
-----------------------------
3px 5px yazıoya onları azaltsana
-----------------------------yaptımda yemedi onları :)
-
paddingleri kaldırmayı dene
-
Genki bunu yazdı:
-----------------------------
paddingleri kaldırmayı dene
-----------------------------tamam sorunu halettim ama bu kez farklı bişi oldu onunla cebelleşiyorum
1satır ders
1boşluk
1satır ders
1boşluk
olarak işliyor sistem o boşlugu bulamıyorum : D