temanın ana sayfasında sidebar nedense kayma yapıyor. araştırmalarım bir fayda saglamadı, tema konusunda ise hoşuma giden bir tema oldugundan değiştirmek istemiyorum.
tema sidebarı aşagıya dogru kayıyor. sola dogru genişliyor. bu konuda yardımcı olabilecek arkadaşa temayı göndereyim editleyip gönderirse sevinirim
http://oktayustayemektarifleri.biz bakabilirsiniz
sorun sadece ana sayfada olmaktadır. ana sayfa tasarımı alt sayfalardan farklıdır. ana sayfa kodları
<?php get_header(); ?>
<div id="content">
<div id="left-container">
<div id="featured">
<?php include (TEMPLATEPATH."/featured.php"); ?>
</div><!-- End Featured-->
<div id="home-entry">
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<div <?php post_class() ?> id="post-<?php the_ID(); ?>">
<div class="home-post">
<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title_attribute(); ?> için kalıcı bağlantı"><?php the_title(); ?></a></h2>
<div class="home-thumb">
<?php $image = get_post_meta($post->ID, 'thumbnail', true); ?>
<a href="<?php the_permalink() ?>" title="<?php the_title(); ?>"><img src="<?php echo resimgoster() ?>" />
</div>
<span class="date"><small><?php the_time('d F Y') ?> Yazan <?php the_author() ?> </small></span>
<p><?php the_content_rss('', FALSE, '', 22); ?></p>
<span class="read">
<a href="<?php echo get_permalink(); ?>">Devamın oku »</a>
</span>
<div class="clear"></div>
</div>
</div>
<?php endwhile; ?>
<div class="navigation">
<div class="alignleft"><?php next_posts_link('« Önceki yazılar') ?></div>
<div class="alignright"><?php previous_posts_link('Sonraki yazılar »') ?></div>
</div>
<?php else : ?>
<h2 class="center">Bulunamadı</h2>
<p class="center">Üzgünüm aradığınız şey burada değil.</p>
<?php get_search_form(); ?>
<?php endif; ?>
</div><!-- End home-entry-->
<div id="popular">
<h2>Popüler Yazılar</h2>
<ul>
<?php akpc_most_popular(); ?>
</ul>
</div><!-- End Popular-->
<div id="pol">
<h2>Rastgele Yazılar</h2>
<?php rastgele_yazi('14'); ?>
<script type='text/javascript'>
<!--
ad_client = 'fc0296ff-1a02-4d17-824d-652849a33b00';
ad_format = '32';
ad_width = '175';
ad_height = '252';
//-->
</script><script type='text/javascript' src='http://bumerang.hurriyet.com.tr/show_ads.js'></script>
</div><!-- End Polls-->
</div><!-- End Left Container-->
<div id="right-container">
<div class="recent">
<h2>Manşet Yazıları</h2>
<?php $my_query = new WP_Query('category_name=diyet-yemekleri&showposts=4');//Change the category id to a existing category name//
while ($my_query->have_posts()) : $my_query->the_post();$do_not_duplicate = $post->ID; ?>
<div class="recent-thumb"> <img src="<?php echo resimgoster() ?>" />
<a href="<?php the_permalink() ?>" title="<?php the_title(); ?>">
</div>
<h3><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></h3>
<small style="color:#999;"><?php the_time('d F Y') ?> Yazan <?php the_author() ?> </small>
<div class="clear"></div>
<?php endwhile;?>
</div><!-- End Recent-->
</div>
<?php get_sidebar(); ?>
</div><!-- End Right Container-->
<div class="clear"></div>
<?php get_footer(); ?>
css kodlarımız da
/*
Theme Name: Mega News Black
Description: Advanced WordPress theme .
Version: 1.0
Author: Karan Khatri
*/
body {
font-size: 12px;
font-family:Arial, Helvetica, sans-serif;
background: #333;
color: #666;
margin:0;
padding:0;
}
#wrap {
width:950px;
margin:0 auto;
padding:15px 25px 15px 22px;
background:url(images/bg.png) repeat-y;
}
img{
border:none;
}
/* Headings */
h1,h2,h3,h4,h5,h6 {
font-family:Georgia, "Times New Roman", Times, serif;
font-weight:normal;
color:#ccc;
}
/* Top */
#top{
margin:0 10px 0 10px;
padding:0;
}
/* Header */
#header {
margin:0;
padding:0;
height:80px;
background:#222;
border:1px solid #444;
position:relative;
}
#header h1 {
margin:0;
position:absolute;
padding:0;
top:10px;
left:10px;
font-size:35px;
font-family:Georgia, "Times New Roman", Times, serif;
}
#header h1 a:link, #header h1 a:active, #header h1 a:visited{
color:#eee;
}
.description {
font-size:13px;
margin:5px 15px;
padding:0;
position:absolute;
left:45px;
top:45px;
color:#888;
}
/* Navbar */
#nav{
margin:10px 0 0 0;
padding:0 0 0 10px;
position:relative;
height:38px;
background:#4277ad url(images/nav.gif) repeat-x;
}
.navl{
height:38px;
width:11px;
background: url(images/navl.gif) no-repeat;
position:absolute;
top:0;
left:0;
}
.navr{
height:38px;
width:11px;
background: url(images/navr.gif) no-repeat;
position:absolute;
top:0;
right:0;
}
ul.nav{
width:660px;
float:left;
}
#nav ul {
margin: 8px 0 0 0;
padding: 5px 0;
list-style: none;
}
#nav li {
margin: 0 10px 0 0;
padding: 5px;
display:inline;
color:#fff;
text-transform:uppercase;
}
#nav ul li a:link,#nav ul li a:active,#nav ul li a:visited {
color:#fff;
}
#nav ul li a:hover {
text-decoration: underline;
}
#nav li ul {
position: absolute;
width: 10em;
left: -999em;
}
#nav li:hover ul {
left: auto;
display: block;
}
#nav li:hover ul, #nav li.sfhover ul {
left: -999em;
}
/* Search Box */
.search-box {
margin:0 3px ;
padding:0;
float:right;
}
#search #searchsubmit {
margin:5px;
}
input#s {
background:#ffff;
border:1px solid #ccc;
height:15px;
width:160px;
padding:3px 2px 3px 5px;
float:left;
margin-top:8px;
color:#333;
}
input#sbutt {
margin:2px 0 5px 8px ;
padding:0;
height:30px;
width:40px;
color:#eee;
background: url(images/search.png) no-repeat;
border:none;
}
/* Content */
#content {
margin:10px 10px 10px 10px;
padding:0;
}
.clear {
height:1px;
margin:1px;
clear:both;
}
/* Left Container */
#left-container {
width:620px;
margin:0 10px 0 0;
float:left;
}
/* Featured Section */
#featured {
width:607px;
height:262px;
border:1px solid #444;
margin:0 5px 10px 0;
padding:5px;
position:relative;
background:#222;
}
#featured img{
border:none;
}
.featured-container {
width:607px;
position:relative;
}
.fea-entry {
background: url(images/fea-ent-bg.png) repeat;
position:absolute;
top:182px;
width:607px;
padding:0 5px 8px 5px;
color:#ccc;
}
.featured-container h2{
padding:5px 0;
font-size:33px;
color:#118ba2;
margin:0;
font-weight:normal;
font-size:25px;
}
.featured-container h2 a:link, .featured-container h2 a:active, .featured-container h2 a:visited{
color:#d58400;
}
.featured-container p{
font-size:13px;
line-height:140%;
margin:0;
padding:0;
}
img.featured-image{
position:absolute;
}
/* Featured Slider */
.stepcarousel{
position: relative;
overflow: scroll;
width: 607px;
height: 267px;
margin:0;
}
.stepcarousel .belt{
position: absolute;
left: 0;
top: 0;
}
.stepcarousel .panel{
float: left;
overflow: hidden;
width: 610px;
margin:0;
margin-right:10px;
height:262px;
background:#111;
}
/* Entry */
.entry {
margin:0 0 10px 0;
border:1px solid #444;
padding:5px;
background:#222;
}
.entry h2 {
font-size:25px;
margin:0 0 10px 0;
}
h2.pagetitle {
font-size:25px;
margin:0 0 10px 0;
padding-bottom:5px;
border-bottom:4px double #444;
}
.entry-post{
padding-bottom:5px;
border-bottom:1px solid #444;
margin-bottom:10px;
}
/* Home Entry */
#home-entry {
width:385px;
margin:0 0 10px 0;
border:1px solid #444;
float:left;
background:#222;
}
.home-post {
margin: 0 5px 5px 5px;
padding-bottom:10px;
border-bottom: 1px dashed #333;
}
.home-post p{
margin:2px 0;
padding:6px 0;
}
.date{
color:#999;
margin:10px 0 0 0;
padding:0;
display:block;
}
.home-post h2 {
padding:3px 0 5px 0;
margin:0 0 5px 0;
font-size:22px;
font-family:Georgia, "Times New Roman", Times, serif;
}
.home-post h2 a:link, .home-post h2 a:active, .home-post h2 a:visited {
color:#eee;
}
.home-post h2 a:hover{
text-decoration:underline;
}
.home-thumb {
float:left;
width:110px;
height:90px;
padding:5px;
background:#333;
border:1px solid #444;
margin:5px 10px 0 0;
}
.home-thumb img{
width:110px;
height:90px;
border:none;
}
.read a:link, .read a:active, .read a:visited{
display:block;
height:18px;
width:100px;
background: url(images/read.png) no-repeat;
text-indent:-9999px;
margin-left:132px;
}
/* Polls */
#pol{
width:210px;
border:1px solid #444;
float:left;
background:#222;
margin:10px 0 0 10px;
padding:0 5px 10px 5px;
}
#pol h2 {
font-size:18px;
margin:0 0 5px 0;
border-bottom:4px double #444;
padding:5px 0 5px 0;
}
#pol ul {
list-style:none;
margin:0;
padding:0;
}
#pol ul li{
margin:1px 0;
padding:0 5px;
border-bottom:1px solid #333;
}
#pol li li{
margin-left:0;
padding-left:0;
margin-right:5px;
}
#pol ul li ul li{
margin-bottom:15px;
}
/* Popular */
#popular{
width:210px;
border:1px solid #444;
float:left;
background:#222;
margin:0 0 0 10px;
padding:0 5px 10px 5px;
}
#popular h2 {
font-size:18px;
margin:0 0 5px 0;
border-bottom:4px double #444;
padding:5px 0 5px 0;
}
#popular ul {
list-style:none;
margin:0;
padding:0;
}
#popular ul li{
margin:1px 0;
padding:5px 3px 5px 20px;
border-bottom:1px solid #333;
background: url( images/libg.gif) no-repeat;
}
#popular li li{
margin-left:0;
padding-left:0;
margin-right:5px;
}
#popular ul li ul li{
margin-bottom:15px;
}
/* Right Container */
#right-container {
width:300px;
margin:0;
float:right;
padding:0;
}
/* Recent */
.recent {
border:1px solid #444;
background:#222;
padding:5px 5px 0 5px;
margin:0 0 10px 0;
height:1%;
}
.recent h2{
margin:0 0 5px 0;
padding:0 0 5px 0;
font-size:18px;
border-bottom:4px double #444;
}
.recent h3{
margin:0;
padding:5px 0 3px 0;
font-size:15px;
}
.recent-thumb {
width:40px;
height:40px;
padding:2px;
border:1px solid #444;
float:left;
background:#333;
margin:5px 5px 5px 0;
}
.recent-thumb img{
width:40px;
height:40px;
border:none;
}
/* Sidebar */
#sidebar {
margin:auto;
padding:5px;
border:1px solid #444;
background:#222;
}
#sidebar h2 {
font-size:16px;
margin: auto;
padding-bottom:5px;
border-bottom:4px double #444;
}
#sidebar ul {
margin:auto;
padding:0;
list-style:none;
}
#sidebar ul li ul {
margin-bottom:auto;
}
#sidebar ul ul li{
margin:auto;
padding:5px 5px 5px 20px;
border-bottom:1px solid #333;
background:url( images/libg.gif) no-repeat;
}
#sidebar ul ul ul {
margin:auto;
padding:0;
}
#sidebar ul ul ul li{
margin:auto;
padding:1px 1px 1px 1px;
}
#tag_cloud{
padding-bottom:10px;
margin-bottom:5px;
}
/* Comment Box */
#comment-box{
}
form p{
margin:0 0 5px 0;
padding:0;
}
#comment-box input {
width: 220px;
margin: 2px 0 10px 0;
border-top: 1px solid #444;
border-left: 1px solid #444;
border-bottom: 1px solid #333;
border-right: 1px solid #333;
height:20px;
background:#333;
font-size: 12px;
padding:5px 0 0 5px;
color:#ccc;
}
#comment-box label {
display: block;
font-size: small;
font-weight: bold;
margin:0;
color:#888;
padding:0;
}
#comment-box textarea {
width: 350px;
height: 150px;
display: block;
border: 1px solid #444;
margin: 0 ;
background:#333;
padding:5px 0 0 5px;
font-size: small;
color:#ccc;
}
input#submit-comment{
font-size: small;
font-weight: bold;
color:#000;
width:155px;
height:30px;
margin:10px 0 0 0;
padding:0;
}
ol.commentlist{
margin:0;
padding:0;
list-style:none;
}
ol.commentlist p{
line-height:1.7em;
}
ol.commentlist li{
border:1px solid #444;
padding:10px;
margin-bottom:15px;
}
#content .commentlist ul li{
list-style:none;
}
.comment-author cite {
float:left;
margin-right:5px;
font-style:normal;
color:#fff;
}
.comment-author img {
padding:5px;
border:1px solid #444;
background:#333;
float:right;
}
#respond:after {
content: ".";
display: block;
height: 0;
clear: both;
visibility: hidden;
}
.children {
padding: 0;
margin:0;
}
ul.children{
list-style:none;
}
ul.children li{
margin:10px 0;
}
input#submit-comment {
color:#888;
}
/* Footer */
#footer {
padding:10px;
display:block;
background:#222;
margin:0 10px;
border:1px solid #444;
}
/* Miscellaneous */
.aligncenter,
div.aligncenter {
display: block;
margin-left: auto;
margin-right: auto;
background:#fff;
}
.alignright {
float: right;
margin: 0;
margin-left:12px;
margin-bottom:10px;
padding:2px;
}
.alignleft {
float: left;
margin:0;
margin-right:auto;
margin-bottom:auto;
padding:2px;
}
blockquote p{
padding:5px;
margin:0;
border-left:5px solid #CC0033;
}
/* Captions */
.wp-caption {
text-align: center;
padding-top: 4px;
border:1px solid #444;
background:#333;
}
.wp-caption img {
margin: 0;
padding: 0;
border: 0 none;
}
.wp-caption p.wp-caption-text {
font-size: 11px;
line-height: 17px;
padding: 0 4px 5px;
margin: 0;
}
/* General Links */
a:link,a:active,a:visited,a:hover{
color:#d58400;
outline: none;
text-decoration:none;
}
a:hover{
text-decoration:underline;
}
/* Calendar */
#wp-calendar {
empty-cells: show;
margin: 10px auto 0;
width: 155px;
}
#wp-calendar #next a {
padding-right: 10px;
text-align: right;
}
#wp-calendar #prev a {
padding-left: 10px;
text-align: left;
}
#wp-calendar a {
display: block;
}
#wp-calendar caption {
text-align: center;
width: 100%;
}
#wp-calendar td {
padding: 3px 0;
text-align: center;
}
/* Ads */
.adds{
background:#222;
border:1px solid #444;
margin:0 0 10px 0;
padding:15px 5px 5px 12px;
}
.adds img{
border:none;
padding:0 5px 10px 5px;
}ana sayfa görüntüsü
http://browsershots.org/screenshots/...1f25cc3b8f09ab
resimde en altta görünen arşivin üstündeki küçük resimli konular normalde sidebarda çıkması gerekiyor. sitenin alt sayfalarına bakarsanız alt sayfalarda sorun yok, sorun sadece ana sayfada