İyinet'e Hoşgeldiniz!

Türkiye'nin En Eski Webmaster Forum'una Hemen Kayıt Olun!

Kayıt Ol!

Logo yardım

wolfmelan

0
İyinet Üyesi
Katılım
21 Mart 2011
Mesajlar
6
Reaction score
0
59218283.jpg


Logo boyutunu 930 x 242 Boyutlarında yapmak istiyorum ama header'de kodları ayarlıyamadım bi yardım edin

Kod:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>

<head profile="http://gmpg.org/xfn/11">
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />

<title><?php bloginfo('name'); ?> <?php wp_title(); ?></title>

<meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /> <!-- leave this for stats -->

<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
<!--[if IE 6]>
    <style type="text/css"> 
    body {
        behavior:url("<?php bloginfo('template_url'); ?>/scripts/csshover2.htc");
    }
    </style>
<![endif]-->

<?php if (is_home()) { ?>
<script type="text/javascript" src="<?php bloginfo('template_url'); ?>/scripts/jquery-latest.pack.js"></script>
<script type="text/javascript" src="<?php bloginfo('template_url'); ?>/scripts/jcarousellite_1.0.1c4.js"></script>
<?php } ?>

<link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php bloginfo('rss2_url'); ?>" />
<link rel="alternate" type="text/xml" title="RSS .92" href="<?php bloginfo('rss_url'); ?>" />
<link rel="alternate" type="application/atom+xml" title="Atom 0.3" href="<?php bloginfo('atom_url'); ?>" />

<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />

<?php $cp_iIcon = get_settings( "cp_favICON" ); 
		if( $cp_iIcon != "" ) { 
		?>
<link rel="icon" href="<?php bloginfo('template_url'); ?>/images/icons/<?php echo $cp_iIcon; ?>" />
<link rel="shortcut icon" href="<?php bloginfo('template_url'); ?>/images/icons/<?php echo $cp_iIcon; ?>" />
	<?php	} ?>

<style type="text/css">

<?php 
$cp_max = 10;
$cp_categories = get_categories('');
$postcat = get_settings( "ar_categories" );

if( is_array( $postcat ) ) {
	foreach ( $cp_categories as $b ) {
		$cp_max ++;
	}	
}

for( $cp_i = 1; $cp_i <= $cp_max; $cp_i ++ ) {
	$cp_catCol = get_settings( "cp_catColor" );
    $cp_iCol = get_settings( "cp_hexColor_" . $cp_i );
    $cp_tCol = get_settings( "cp_textColor_" . $cp_i );
    $cp_hCol = get_settings( "cp_hoverColor_" . $cp_i );
		 if( ($cp_iCol != "") || ($cp_tCol != "")  ) { ?>
    /* category bar */
    #cat-<?php echo get_settings( "cp_colorCategory_" . $cp_i ); ?> { border-top:8px solid <?php echo $cp_iCol ?>; color:<?php echo $cp_tCol ?>; }
    #cat-<?php echo get_settings( "cp_colorCategory_" . $cp_i ); ?>:hover { background:<?php echo $cp_iCol ?>; color:<?php echo $cp_hCol ?>; }
    /* sidebar */
    #sidebar h3.catt-<?php echo get_settings( "cp_colorCategory_" . $cp_i ); ?>  {background:<?php echo $cp_iCol ?>; color:<?php echo $cp_catCol ?>; }
    #sidebar h3.catt-<?php echo get_settings( "cp_colorCategory_" . $cp_i ); ?> a { color:<?php echo $cp_catCol ?>; }
		
<?php }	} ?>

<?php $style = get_settings ( "cp_styleHead" );
        if ( $style != "wide" ) { $height = 237; }
		else { $height = 395; }
	if (is_home()) { ?>
    
#featured .arthemia-carousel {
    height: <?php echo $height; ?>px;
    }
    <?php } ?>
</style>

<?php if (is_home()) { ?>

<?php 
$style = get_settings ( "cp_styleHead" );
$speed = get_settings ( "cp_ScrollSpeed" );
if ( $speed != "" ) { } else { $speed = 1000; }

if ( $style != "wide" ) { $visible = 3; }
else {  $visible = 5;  }
        
$scroll = get_settings ( "cp_autoScroll" );
if ( $scroll != "No" ) { ?>
<script type="text/javascript">
$(function() {

    $(".arthemia-carousel").jCarouselLite({
        btnNext: ".next",
        btnPrev: ".prev",
        vertical: true,
        hoverPause:true, 
        visible: <?php echo $visible; ?>,
        auto:<?php echo $speed; ?>,
        speed:<?php echo $speed; ?>
             
    });
});
</script>
<?php } else { ?>
<script type="text/javascript">
$(function() {

    $(".arthemia-carousel").jCarouselLite({
        btnNext: ".next",
        btnPrev: ".prev",
        vertical: true,
        visible: <?php echo $visible; ?>,
        circular: false
             
    });
});
</script>
<?php } ?>

<?php } ?>

<?php load_theme_textdomain('arthemia');?>

<?php if (is_singular()) wp_enqueue_script('comment-reply'); wp_head(); ?>

</head>

<body>


<div id="head" class="clearfloat">

<div class="clearfloat">
	<div id="logo" class="left">
	
	<?php $cp_iLogo = get_settings( "cp_logo" ); 
		if( $cp_iLogo != "" ) { 
		?>
	<a href="<?php echo get_option('home'); ?>">
	<img src="<?php bloginfo('template_url'); ?>/images/logo/<?php echo $cp_iLogo; ?>" alt="" width="728px" height="450px" /></a>
	<?php	} ?>

	</div>



	<?php	} } ?>
	<?php } ?>

	
	</div>

</div>

</div>

<div id="navbar" class="clearfloat">

<ul id="page-bar" class="left clearfloat">

<li><a href="<?php echo get_option('home'); ?>/"><?php _e('Home','arthemia');?></a></li>

<?php wp_list_pages('sort_column=menu_order&title_li='); ?>

</ul>

<?php include (TEMPLATEPATH . '/searchform.php'); ?>

</div>

<div id="top" class="clearfloat">
	<?php if (is_home() && !is_paged()) { ?>
		<div id="headline">
		<?php
		//Get value from Admin Panel
			$cp_categories = get_categories('hide_empty=0');
			$ar_headline = get_settings( "ar_headline" );
			if( $ar_headline == 0 ) { $ar_headline = $cp_categories[0]->cat_ID; }
			query_posts( 'showposts=1&cat=' . $ar_headline );
		 	?>
		<div class="label"><a href="<?php echo get_category_link($ar_headline);?>"><?php single_cat_title(); ?> »</a></div>
		<?php while (have_posts()) : the_post(); ?>	
	<div class="clearfloat">
	<?php $style = get_settings ( "cp_styleHead" );
        if ( $style != "wide" ) { $width = 200; $height = 225; }
		else { $width = 550; $height = 230; }
	?>
	<?php $status = get_settings ( "cp_thumbAuto" );
		if ( $status != "first" ) { ?>
	<?php $values = get_post_custom_values("Image");
	if (isset($values[0])) { ?>
 	<a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>">
<img src="<?php echo bloginfo('template_url'); ?>/scripts/timthumb.php?src=/<?php
$values = get_post_custom_values("Image"); echo $values[0]; ?>&w=<?php echo $width; ?>&h=<?php echo $height; ?>&zc=1&q=100"
alt="<?php the_title(); ?>" class="left" <?php if ($style != "wide") { } else { echo "style=\"margin-bottom:10px;padding:0px;\""; } ?> width="<?php echo $width; ?>px" height="<?php echo $height; ?>px"  /></a>
 	<?php } ?>
	<?php } else { ?>
	<?php $id =$post->ID;
$the_content =$wpdb->get_var("SELECT post_content FROM $wpdb->posts WHERE ID = $id");
$pattern = '!<img.*?src="(.*?)"!';
preg_match_all($pattern, $the_content, $matches);
$image_src = $matches['1'][0]; ?>
	<?php if($image_src != '') { ?><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>">
<img src="<?php echo bloginfo('template_url'); ?>/scripts/timthumb.php?src=<?php echo $image_src; ?>&w=<?php echo $width; ?>&h=<?php echo $height; ?>&zc=1&q=100"
    alt="<?php the_title(); ?>" class="left" <?php if ($style != "wide") { } else { echo "style=\"margin-bottom:10px;padding:0px;\""; } ?> width="<?php echo $width; ?>px" height="<?php echo $height; ?>px"  /></a><?php } ?>
	<?php } ?>
	<div class="title"><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></div>
	<div class="meta"><?php the_time(get_option('date_format')); ?> – <?php the_time(); ?> | <?php comments_popup_link(__('No Comment','arthemia'), __('One Comment','arthemia'), __('% Comments','arthemia'));?></div>	
		<?php the_excerpt() ?>
	<a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>"><?php _e('Read the full story »','arthemia');?></a>
	</div>
	<?php endwhile; ?>
	</div>
    
    <div id="featured">    
    <?php
		//Get value from Admin Panel
			$cp_categories = get_categories('hide_empty=0');
			$ar_featured = get_settings( "ar_featured" );
			if( $ar_featured == 0 ) { $ar_featured = $cp_categories[0]->cat_ID; }
			$num = get_settings( "cp_numFeatured" );
			if( $num == 0 ) { $num = 10; }
			query_posts( 'showposts=' . $num . '&cat=' . $ar_featured );
		 	?>
	<div class="label"><a href="<?php echo get_category_link($ar_featured);?>"><?php single_cat_title(); ?> »</a></div>
    
    <div class="arthemia-carousel">
    <ul>
        <?php while (have_posts()) : the_post(); ?>
        <li>
        <div>
        <?php $status = get_settings ( "cp_thumbAuto" );
        if ( $status != "first" ) { ?>
            <?php	$values = get_post_custom_values("Image");
            if (isset($values[0])) { ?>
                <a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>">
                <img src="<?php echo bloginfo('template_url'); ?>/scripts/timthumb.php?src=/<?php $values = get_post_custom_values("Image"); echo $values[0]; ?>&w=100&h=65&zc=1&q=100" alt="<?php the_title(); ?>" class="left" width="100px" height="65px"  /></a><?php } ?>
            <?php } else { ?>
            <?php $id =$post->ID;
            $the_content =$wpdb->get_var("SELECT post_content FROM $wpdb->posts WHERE ID = $id");
            $pattern = '!<img.*?src="(.*?)"!';
            preg_match_all($pattern, $the_content, $matches);
            $image_src = $matches['1'][0]; ?>
            <?php if($image_src != '') { ?><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>">
                <img src="<?php echo bloginfo('template_url'); ?>/scripts/timthumb.php?src=<?php echo $image_src; ?>&w=100&h=65&zc=1&q=100" alt="<?php the_title(); ?>" class="left" width="100px" height="65px"  /></a>
                <?php } ?>
            <?php } ?>
            <div class="info"><a href="<?php the_permalink() ?>" rel="bookmark" class="title"><?php the_title(); ?></a>
            <div class="meta"><?php the_time(get_option('date_format')); ?> – <?php the_time(); ?> | <?php comments_popup_link(__('No Comment','arthemia'), __('One Comment','arthemia'), __('% Comments','arthemia'));?></div>
            </div>
        </div>
        </li>
        <?php endwhile; ?>
        <?php wp_reset_query(); ?>
    </ul>
    
    </div>
    
    <div style="text-align:center;">
        <img class="prev" src="<?php bloginfo('template_url'); ?>/images/prev.png" style="cursor:pointer;width:17px;height:10px;margin-right:10px;" alt= ""/>
        <img class="next" src="<?php bloginfo('template_url'); ?>/images/next.png" style="cursor:pointer;width:17px;height:10px;" alt= "" />    
    </div>
    
    </div>    
    
 	
</div>
	<?php } else { ?>
	<?php 	//Get value from Admin Panel
			$cp_categories = get_categories('hide_empty=0');
			$ar_headline = get_settings( "ar_headline" );
			if( $ar_headline == 0 ) { $ar_headline = $cp_categories[0]->cat_ID; }
			
            $showheadline1 = get_settings ( "cp_showpostheadline" );
            $showheadline2 = get_settings ( "cp_showarchiveheadline" );
            if ( (is_home() && is_paged()) || (is_search() && $showheadline2 != "no") || (is_archive() && $showheadline2 != "no") || (is_single() && $showheadline1 != "no") ) {
          
            query_posts( 'showposts=1&cat=' . $ar_headline ); ?>
          
	<?php while (have_posts()) : the_post(); ?>	
	<div id="single_head">
	<?php $status = get_settings ( "cp_thumbAuto" );
		if ( $status != "first" ) { ?>

	<?php $values = get_post_custom_values("Image");
	if (isset($values[0])) { ?>
	<a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>">
<img src="<?php echo bloginfo('template_url'); ?>/scripts/timthumb.php?src=/<?php
$values = get_post_custom_values("Image"); echo $values[0]; ?>&w=175&h=150&zc=1&q=100"
alt="<?php the_title(); ?>" class="left" width="175px" height="150px"  /></a>
	<?php } ?>
	<?php } else { ?>
	<?php $id =$post->ID;
$the_content =$wpdb->get_var("SELECT post_content FROM $wpdb->posts WHERE ID = $id");
$pattern = '!<img.*?src="(.*?)"!';
preg_match_all($pattern, $the_content, $matches);
$image_src = $matches['1'][0]; ?>
				
	<?php if($image_src != '') { ?><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>">
<img src="<?php echo bloginfo('template_url'); ?>/scripts/timthumb.php?src=<?php echo $image_src; ?>&w=175&h=150&zc=1&q=100"
    alt="<?php the_title(); ?>" class="left" width="175px" height="150px"  /></a><?php } ?>

	<?php } ?>
	</div>
	<div id="single_desc">
	<div class="label"><a href="<?php echo get_category_link($ar_headline);?>"><?php single_cat_title(); ?> »</a></div>
	<div class="cleafloat"><div class="title"><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></div>
	<div class="meta"><?php the_time(get_option('date_format')); ?> – <?php the_time(); ?> | <?php comments_popup_link(__('No Comment','arthemia'), __('One Comment','arthemia'), __('% Comments','arthemia'));?></div>	
	<?php the_excerpt(); ?>
	<a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>"><?php _e('Read the full story »','arthemia');?></a>
   	</div></div>
    <?php endwhile; ?>
	<?php wp_reset_query(); ?>
<?php } ?>
</div>
<!--</div>-->
<div>
	
<?php if(function_exists('wp_content_slider')) { wp_content_slider(); } ?>
</div>
<?php } ?>
	<?php $showcatbar1 = get_settings ( "cp_showpostcatbar" );
            $showcatbar2 = get_settings ( "cp_showarchivecatbar" );
		$showcatbar3 = get_settings ( "cp_showindexcatbar" );
	
		  if ( (is_home() && $showcatbar3 != "no") ||  (is_search() && $showcatbar2 != "no") || (is_archive() && $showcatbar2 != "no") || (is_single() && $showcatbar1 != "no") ) { ?>
	<div id="middle" class="clearfloat">

	<?php $postcat = get_settings( "ar_categories" );
		if( $ar_categories == 0 ) { $ar_categories= $cp_categories->cat_ID; }

	if( ! is_array( $postcat ) ) {
		foreach ( $cp_categories as $b ) {
		$postcat[] = $b->cat_ID;
		}	
	}
	
	$postcat = array_slice($postcat, 0, 5);

	foreach ($postcat as $cp_pC ) { ?>
	
	<?php query_posts("showposts=1&cat=$cp_pC"); ?>
	<div id="cat-<?php echo $cp_pC; ?>" class="category" onclick="window.location.href='<?php echo get_category_link($cp_pC);?>';">
		<span class="cat_title"><?php single_cat_title(); ?></span>
		<p><?php echo category_description($cp_pC); ?></p>
	</div>
	<?php } ?>

	<?php wp_reset_query(); ?>
    </div>

	
	<?php } ?>

    

	<div id="page" class="clearfloat">
    <?php if (!is_home()) { ?><div id="inner" class="clearfloat"><?php } ?>
 

hayran

0
İyinet Üyesi
Katılım
6 Mart 2011
Mesajlar
88
Reaction score
3
59218283.jpg


Logo boyutunu 930 x 242 Boyutlarında yapmak istiyorum ama header'de kodları ayarlıyamadım bi yardım edin

Kod:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>

<head profile="http://gmpg.org/xfn/11">
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />

<title><?php bloginfo('name'); ?> <?php wp_title(); ?></title>

<meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /> <!-- leave this for stats -->

<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
<!--[if IE 6]>
    <style type="text/css"> 
    body {
        behavior:url("<?php bloginfo('template_url'); ?>/scripts/csshover2.htc");
    }
    </style>
<![endif]-->

<?php if (is_home()) { ?>
<script type="text/javascript" src="<?php bloginfo('template_url'); ?>/scripts/jquery-latest.pack.js"></script>
<script type="text/javascript" src="<?php bloginfo('template_url'); ?>/scripts/jcarousellite_1.0.1c4.js"></script>
<?php } ?>

<link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php bloginfo('rss2_url'); ?>" />
<link rel="alternate" type="text/xml" title="RSS .92" href="<?php bloginfo('rss_url'); ?>" />
<link rel="alternate" type="application/atom+xml" title="Atom 0.3" href="<?php bloginfo('atom_url'); ?>" />

<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />

<?php $cp_iIcon = get_settings( "cp_favICON" ); 
		if( $cp_iIcon != "" ) { 
		?>
<link rel="icon" href="<?php bloginfo('template_url'); ?>/images/icons/<?php echo $cp_iIcon; ?>" />
<link rel="shortcut icon" href="<?php bloginfo('template_url'); ?>/images/icons/<?php echo $cp_iIcon; ?>" />
	<?php	} ?>

<style type="text/css">

<?php 
$cp_max = 10;
$cp_categories = get_categories('');
$postcat = get_settings( "ar_categories" );

if( is_array( $postcat ) ) {
	foreach ( $cp_categories as $b ) {
		$cp_max ++;
	}	
}

for( $cp_i = 1; $cp_i <= $cp_max; $cp_i ++ ) {
	$cp_catCol = get_settings( "cp_catColor" );
    $cp_iCol = get_settings( "cp_hexColor_" . $cp_i );
    $cp_tCol = get_settings( "cp_textColor_" . $cp_i );
    $cp_hCol = get_settings( "cp_hoverColor_" . $cp_i );
		 if( ($cp_iCol != "") || ($cp_tCol != "")  ) { ?>
    /* category bar */
    #cat-<?php echo get_settings( "cp_colorCategory_" . $cp_i ); ?> { border-top:8px solid <?php echo $cp_iCol ?>; color:<?php echo $cp_tCol ?>; }
    #cat-<?php echo get_settings( "cp_colorCategory_" . $cp_i ); ?>:hover { background:<?php echo $cp_iCol ?>; color:<?php echo $cp_hCol ?>; }
    /* sidebar */
    #sidebar h3.catt-<?php echo get_settings( "cp_colorCategory_" . $cp_i ); ?>  {background:<?php echo $cp_iCol ?>; color:<?php echo $cp_catCol ?>; }
    #sidebar h3.catt-<?php echo get_settings( "cp_colorCategory_" . $cp_i ); ?> a { color:<?php echo $cp_catCol ?>; }
		
<?php }	} ?>

<?php $style = get_settings ( "cp_styleHead" );
        if ( $style != "wide" ) { $height = 237; }
		else { $height = 395; }
	if (is_home()) { ?>
    
#featured .arthemia-carousel {
    height: <?php echo $height; ?>px;
    }
    <?php } ?>
</style>

<?php if (is_home()) { ?>

<?php 
$style = get_settings ( "cp_styleHead" );
$speed = get_settings ( "cp_ScrollSpeed" );
if ( $speed != "" ) { } else { $speed = 1000; }

if ( $style != "wide" ) { $visible = 3; }
else {  $visible = 5;  }
        
$scroll = get_settings ( "cp_autoScroll" );
if ( $scroll != "No" ) { ?>
<script type="text/javascript">
$(function() {

    $(".arthemia-carousel").jCarouselLite({
        btnNext: ".next",
        btnPrev: ".prev",
        vertical: true,
        hoverPause:true, 
        visible: <?php echo $visible; ?>,
        auto:<?php echo $speed; ?>,
        speed:<?php echo $speed; ?>
             
    });
});
</script>
<?php } else { ?>
<script type="text/javascript">
$(function() {

    $(".arthemia-carousel").jCarouselLite({
        btnNext: ".next",
        btnPrev: ".prev",
        vertical: true,
        visible: <?php echo $visible; ?>,
        circular: false
             
    });
});
</script>
<?php } ?>

<?php } ?>

<?php load_theme_textdomain('arthemia');?>

<?php if (is_singular()) wp_enqueue_script('comment-reply'); wp_head(); ?>

</head>

<body>


<div id="head" class="clearfloat">

<div class="clearfloat">
	<div id="logo" class="left">
	
	<?php $cp_iLogo = get_settings( "cp_logo" ); 
		if( $cp_iLogo != "" ) { 
		?>
	<a href="<?php echo get_option('home'); ?>">
	<img src="<?php bloginfo('template_url'); ?>/images/logo/<?php echo $cp_iLogo; ?>" alt="" width="728px" height="450px" /></a>
	<?php	} ?>

	</div>



	<?php	} } ?>
	<?php } ?>

	
	</div>

</div>

</div>

<div id="navbar" class="clearfloat">

<ul id="page-bar" class="left clearfloat">

<li><a href="<?php echo get_option('home'); ?>/"><?php _e('Home','arthemia');?></a></li>

<?php wp_list_pages('sort_column=menu_order&title_li='); ?>

</ul>

<?php include (TEMPLATEPATH . '/searchform.php'); ?>

</div>

<div id="top" class="clearfloat">
	<?php if (is_home() && !is_paged()) { ?>
		<div id="headline">
		<?php
		//Get value from Admin Panel
			$cp_categories = get_categories('hide_empty=0');
			$ar_headline = get_settings( "ar_headline" );
			if( $ar_headline == 0 ) { $ar_headline = $cp_categories[0]->cat_ID; }
			query_posts( 'showposts=1&cat=' . $ar_headline );
		 	?>
		<div class="label"><a href="<?php echo get_category_link($ar_headline);?>"><?php single_cat_title(); ?> »</a></div>
		<?php while (have_posts()) : the_post(); ?>	
	<div class="clearfloat">
	<?php $style = get_settings ( "cp_styleHead" );
        if ( $style != "wide" ) { $width = 200; $height = 225; }
		else { $width = 550; $height = 230; }
	?>
	<?php $status = get_settings ( "cp_thumbAuto" );
		if ( $status != "first" ) { ?>
	<?php $values = get_post_custom_values("Image");
	if (isset($values[0])) { ?>
 	<a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>">
<img src="<?php echo bloginfo('template_url'); ?>/scripts/timthumb.php?src=/<?php
$values = get_post_custom_values("Image"); echo $values[0]; ?>&w=<?php echo $width; ?>&h=<?php echo $height; ?>&zc=1&q=100"
alt="<?php the_title(); ?>" class="left" <?php if ($style != "wide") { } else { echo "style=\"margin-bottom:10px;padding:0px;\""; } ?> width="<?php echo $width; ?>px" height="<?php echo $height; ?>px"  /></a>
 	<?php } ?>
	<?php } else { ?>
	<?php $id =$post->ID;
$the_content =$wpdb->get_var("SELECT post_content FROM $wpdb->posts WHERE ID = $id");
$pattern = '!<img.*?src="(.*?)"!';
preg_match_all($pattern, $the_content, $matches);
$image_src = $matches['1'][0]; ?>
	<?php if($image_src != '') { ?><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>">
<img src="<?php echo bloginfo('template_url'); ?>/scripts/timthumb.php?src=<?php echo $image_src; ?>&w=<?php echo $width; ?>&h=<?php echo $height; ?>&zc=1&q=100"
    alt="<?php the_title(); ?>" class="left" <?php if ($style != "wide") { } else { echo "style=\"margin-bottom:10px;padding:0px;\""; } ?> width="<?php echo $width; ?>px" height="<?php echo $height; ?>px"  /></a><?php } ?>
	<?php } ?>
	<div class="title"><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></div>
	<div class="meta"><?php the_time(get_option('date_format')); ?> – <?php the_time(); ?> | <?php comments_popup_link(__('No Comment','arthemia'), __('One Comment','arthemia'), __('% Comments','arthemia'));?></div>	
		<?php the_excerpt() ?>
	<a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>"><?php _e('Read the full story »','arthemia');?></a>
	</div>
	<?php endwhile; ?>
	</div>
    
    <div id="featured">    
    <?php
		//Get value from Admin Panel
			$cp_categories = get_categories('hide_empty=0');
			$ar_featured = get_settings( "ar_featured" );
			if( $ar_featured == 0 ) { $ar_featured = $cp_categories[0]->cat_ID; }
			$num = get_settings( "cp_numFeatured" );
			if( $num == 0 ) { $num = 10; }
			query_posts( 'showposts=' . $num . '&cat=' . $ar_featured );
		 	?>
	<div class="label"><a href="<?php echo get_category_link($ar_featured);?>"><?php single_cat_title(); ?> »</a></div>
    
    <div class="arthemia-carousel">
    <ul>
        <?php while (have_posts()) : the_post(); ?>
        <li>
        <div>
        <?php $status = get_settings ( "cp_thumbAuto" );
        if ( $status != "first" ) { ?>
            <?php	$values = get_post_custom_values("Image");
            if (isset($values[0])) { ?>
                <a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>">
                <img src="<?php echo bloginfo('template_url'); ?>/scripts/timthumb.php?src=/<?php $values = get_post_custom_values("Image"); echo $values[0]; ?>&w=100&h=65&zc=1&q=100" alt="<?php the_title(); ?>" class="left" width="100px" height="65px"  /></a><?php } ?>
            <?php } else { ?>
            <?php $id =$post->ID;
            $the_content =$wpdb->get_var("SELECT post_content FROM $wpdb->posts WHERE ID = $id");
            $pattern = '!<img.*?src="(.*?)"!';
            preg_match_all($pattern, $the_content, $matches);
            $image_src = $matches['1'][0]; ?>
            <?php if($image_src != '') { ?><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>">
                <img src="<?php echo bloginfo('template_url'); ?>/scripts/timthumb.php?src=<?php echo $image_src; ?>&w=100&h=65&zc=1&q=100" alt="<?php the_title(); ?>" class="left" width="100px" height="65px"  /></a>
                <?php } ?>
            <?php } ?>
            <div class="info"><a href="<?php the_permalink() ?>" rel="bookmark" class="title"><?php the_title(); ?></a>
            <div class="meta"><?php the_time(get_option('date_format')); ?> – <?php the_time(); ?> | <?php comments_popup_link(__('No Comment','arthemia'), __('One Comment','arthemia'), __('% Comments','arthemia'));?></div>
            </div>
        </div>
        </li>
        <?php endwhile; ?>
        <?php wp_reset_query(); ?>
    </ul>
    
    </div>
    
    <div style="text-align:center;">
        <img class="prev" src="<?php bloginfo('template_url'); ?>/images/prev.png" style="cursor:pointer;width:17px;height:10px;margin-right:10px;" alt= ""/>
        <img class="next" src="<?php bloginfo('template_url'); ?>/images/next.png" style="cursor:pointer;width:17px;height:10px;" alt= "" />    
    </div>
    
    </div>    
    
 	
</div>
	<?php } else { ?>
	<?php 	//Get value from Admin Panel
			$cp_categories = get_categories('hide_empty=0');
			$ar_headline = get_settings( "ar_headline" );
			if( $ar_headline == 0 ) { $ar_headline = $cp_categories[0]->cat_ID; }
			
            $showheadline1 = get_settings ( "cp_showpostheadline" );
            $showheadline2 = get_settings ( "cp_showarchiveheadline" );
            if ( (is_home() && is_paged()) || (is_search() && $showheadline2 != "no") || (is_archive() && $showheadline2 != "no") || (is_single() && $showheadline1 != "no") ) {
          
            query_posts( 'showposts=1&cat=' . $ar_headline ); ?>
          
	<?php while (have_posts()) : the_post(); ?>	
	<div id="single_head">
	<?php $status = get_settings ( "cp_thumbAuto" );
		if ( $status != "first" ) { ?>

	<?php $values = get_post_custom_values("Image");
	if (isset($values[0])) { ?>
	<a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>">
<img src="<?php echo bloginfo('template_url'); ?>/scripts/timthumb.php?src=/<?php
$values = get_post_custom_values("Image"); echo $values[0]; ?>&w=175&h=150&zc=1&q=100"
alt="<?php the_title(); ?>" class="left" width="175px" height="150px"  /></a>
	<?php } ?>
	<?php } else { ?>
	<?php $id =$post->ID;
$the_content =$wpdb->get_var("SELECT post_content FROM $wpdb->posts WHERE ID = $id");
$pattern = '!<img.*?src="(.*?)"!';
preg_match_all($pattern, $the_content, $matches);
$image_src = $matches['1'][0]; ?>
				
	<?php if($image_src != '') { ?><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>">
<img src="<?php echo bloginfo('template_url'); ?>/scripts/timthumb.php?src=<?php echo $image_src; ?>&w=175&h=150&zc=1&q=100"
    alt="<?php the_title(); ?>" class="left" width="175px" height="150px"  /></a><?php } ?>

	<?php } ?>
	</div>
	<div id="single_desc">
	<div class="label"><a href="<?php echo get_category_link($ar_headline);?>"><?php single_cat_title(); ?> »</a></div>
	<div class="cleafloat"><div class="title"><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></div>
	<div class="meta"><?php the_time(get_option('date_format')); ?> – <?php the_time(); ?> | <?php comments_popup_link(__('No Comment','arthemia'), __('One Comment','arthemia'), __('% Comments','arthemia'));?></div>	
	<?php the_excerpt(); ?>
	<a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>"><?php _e('Read the full story »','arthemia');?></a>
   	</div></div>
    <?php endwhile; ?>
	<?php wp_reset_query(); ?>
<?php } ?>
</div>
<!--</div>-->
<div>
	
<?php if(function_exists('wp_content_slider')) { wp_content_slider(); } ?>
</div>
<?php } ?>
	<?php $showcatbar1 = get_settings ( "cp_showpostcatbar" );
            $showcatbar2 = get_settings ( "cp_showarchivecatbar" );
		$showcatbar3 = get_settings ( "cp_showindexcatbar" );
	
		  if ( (is_home() && $showcatbar3 != "no") ||  (is_search() && $showcatbar2 != "no") || (is_archive() && $showcatbar2 != "no") || (is_single() && $showcatbar1 != "no") ) { ?>
	<div id="middle" class="clearfloat">

	<?php $postcat = get_settings( "ar_categories" );
		if( $ar_categories == 0 ) { $ar_categories= $cp_categories->cat_ID; }

	if( ! is_array( $postcat ) ) {
		foreach ( $cp_categories as $b ) {
		$postcat[] = $b->cat_ID;
		}	
	}
	
	$postcat = array_slice($postcat, 0, 5);

	foreach ($postcat as $cp_pC ) { ?>
	
	<?php query_posts("showposts=1&cat=$cp_pC"); ?>
	<div id="cat-<?php echo $cp_pC; ?>" class="category" onclick="window.location.href='<?php echo get_category_link($cp_pC);?>';">
		<span class="cat_title"><?php single_cat_title(); ?></span>
		<p><?php echo category_description($cp_pC); ?></p>
	</div>
	<?php } ?>

	<?php wp_reset_query(); ?>
    </div>

	
	<?php } ?>

    

	<div id="page" class="clearfloat">
    <?php if (!is_home()) { ?><div id="inner" class="clearfloat"><?php } ?>

<img src="<?php bloginfo('template_url'); ?>/images/logo/<?php echo $cp_iLogo; ?>" alt="" width="728px" height="450px" />

header ve ilgili css sayfalarından bu alanlarda düzenleme yapmalısın :alkış: width="" & height=""
 

wolfmelan

0
İyinet Üyesi
Katılım
21 Mart 2011
Mesajlar
6
Reaction score
0
<img src="<?php bloginfo('template_url'); ?>/images/logo/<?php echo $cp_iLogo; ?>" alt="" width="728px" height="450px" />

header ve ilgili css sayfalarından bu alanlarda düzenleme yapmalısın :alkış: width="" & height=""


Css'de bulamadım
Kod:
/* CSS Reset */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0; padding: 0; border: 0; outline: 0; font-weight: inherit; font-style: inherit; font-size: 100%;
	font-family: inherit; vertical-align: baseline;
}
/* remember to define focus styles! */
:focus { outline: 0; }
body {line-height: 1;	color: black; background: white; }
ol, ul { list-style: none;}

/* tables still need 'cellspacing="0"' in the markup */
table {	border-collapse: separate; border-spacing: 0; }
caption, th, td { text-align: left; font-weight: normal; }
blockquote:before, blockquote:after, q:before, q:after { content: ""; }
blockquote, q {	quotes: "" "";}

/* HTML Elements */

* {
	margin:0;
	padding:0;
	}

body {
	font: 100% Arial, Helvetica;
	background: #505050;
	color: #505050;
	}

p {	
	margin: 15px 0;
	}

a:link, a:visited {
	color: #000000;
	text-decoration:none
	}

a:hover, a:active {
	color: #808080;
	text-decoration:underline;
	}

a img {
	border:0;
	}

code {
	font: 1.0em 'Courier New', Courier, Fixed;
	background:#ececec;
	}	

acronym, abbr, span.caps {	
	font-size: 0.9em;
	letter-spacing: .07em;
	cursor: help;
	}			

acronym, abbr {
	border-bottom: 1px dashed #999;
	}

blockquote {
	padding: 10px 10px 0 10px;
	border-top: 1px solid #ddd;
	border-bottom: 1px solid #ddd;
	background: #ececec;
	font:1.0em Arial;
	line-height:1.5em;
	margin:10px 0px;
	}

select {
	width: 130px;
	}	

strong {
    font-weight:bold;
}

em {
    font-style:italic;
}

/* Structure */


#head {
	width:450px;
	margin:0px auto;
	margin-top:0px;
	padding:10px 5px 15px 5px;
	font-size:0.7em;
	background:#fff;
	border-left:5px solid #fff;
	border-right:5px solid #fff;
	}

#page {
	width:920px;
	margin:0px auto;
	padding:10px;
	background:#eeeeee url(images/diag_stripe.gif);
	font-size:12px;
	border-left:5px solid #fff;
	border-right:5px solid #fff;
	}

#inner {
    margin:0;
    padding:0;
    background:url(images/left_stripe.gif) left repeat-y;
}

.left {
	float:left;
	}

.right {
	float:right;
	}


/* Navigation Bar*/
#navbar {
	margin:0 auto;
	padding:0px 10px 0px 10px;
	text-transform:uppercase;
	background:#333333 url(images/navbar.png) no-repeat;
	width:920px;
	font-size:10px;
	border-left:5px solid #fff;
	border-right:5px solid #fff;
	}

#page-bar {
	padding:0px;
	}

#page-bar ul {
	list-style: none;
	}

#page-bar li {
	float:left;
	list-style:none;
	cursor: pointer;
	display:block;
	border-right:1px solid #303030;
	}

#page-bar li:hover {
	background: #5b5b5b;
	}

#page-bar a, #page-bar a:visited {
	margin: 0px;
	padding:7px 14px;
	font-weight:bold;
	color:#eeeeee;
	display:block;
	}

#page-bar a:hover {
	text-decoration:none;
	display:block;
	}

#page-bar p {
	margin:0;
	padding:0;
	}

#searchform {
	width:184px;
	float:right;
	text-align:right;
	padding-top:3px;
	margin-right:10px;
	}

/* Dropdown Menus */		
#page-bar li {
	float: left;
	margin: 0px;
	padding: 0px;
	}
	
#page-bar li li {
	float: left;
	margin: 0px;
	padding: 0px;
	width: 132px;
	text-transform:none;
	}
	
#page-bar li li a, #page-bar li li a:link, #page-bar li li a:visited {
	width: 122px;
	float: none;
	margin: 0px;
	padding: 4px 10px 4px 10px;
	background: #5b5b5b url(images/dots_nav.gif) repeat-x top;
	}
	
#page-bar li li a:hover, #page-bar li li a:active {
	background: #909090;
	padding: 4px 10px 4px 10px;
	}

#page-bar li ul {
	position: absolute;
	width: 10em;
	left: -999em;
	}

#page-bar li:hover ul {
	left: auto;
	display: block;
	}
	
#page-bar li:hover ul, #page-bar li.sfhover ul {
	left: auto;
	}



/* Text*/

h1 {
	font:28px Arial;
	font-weight:bold;
	letter-spacing:-0.08em;
	}

h2 {
	font:25px Arial;
	font-weight:bold;
	}

h3 {
	font:12px Arial;
	margin-bottom:3px;
	color:#303030;
	font-weight:bold;
	}

h4 {
	font:12px Arial;
	}

h3.cat_title, h3.cat_title a {
	color:#333333;
	letter-spacing:-0.05em;
	}

h3#respond {
	margin-top:0px;
	padding-top:20px;
	}

h3#comments {
	margin-top:32px;
	padding-left:0px;
	margin-bottom:15px;
	}

h3.authors {
	margin-top:15px;
	}

/* Index Page*/

#logo {
	width:165px;
	height:90px;
	background:#fff;
	}

#tagline {
	margin-top:10px;
	color:#1d3566;
	font-weight:bold;
	}

#top {
	margin:0 auto;
	padding:0px 10px 0px 0px;
	background:#dedede;
	width:930px;
	border-left:5px solid #fff;
	border-right:5px solid #fff;
	}

#headline {
	width:560px;
	float:left;
	padding:0px 12px 25px 25px;
    font-size:12px;
	line-height:1.5em;
	margin:0;
	background:#333333;
	color:#fff;
	overflow:hidden;
	}

#headline a {
	color:#a0a0a0;
	}

#headline a:hover {
	color:#d0d0d0;
	}

#top div.label {
	font:14px Arial;
	font-weight:bold;
	text-transform:lowercase;
	letter-spacing:-0.05em;
	line-height:0.9em;
	display:block;
	padding-bottom:0px;
	padding-top:15px;
	}

#headline div.title {
	font:28px Arial;
	font-weight:bold;
	letter-spacing:-0.05em;
	line-height:0.9em;
	padding-bottom:5px;
	padding-top:5px;
    margin-top:0px;
	}

#headline div.meta {
	display:block;
	padding:4px 0px 4px 0px;
	color:#ececec;
	font-size:10px;
	}

#headline p {
	padding-bottom:25px;
	}

#featured {
	width:320px;
	float:right;
	padding:0px 0px 0px 10px;
	font-size:12px;
}

#featured li {
    list-style:none;
    width: 320px;
    height: 79px;
    margin-bottom:0px;
    padding-bottom:0px;
}

#featured .arthemia-carousel {
    overflow:hidden;
    width:320px;
}


#featured .info {
    margin-top:0px;
	padding-top:10px;
	/*float:right;*/
	/*width:203px;*/
	font-size:11px;
	}

#featured .meta {
	margin-top:5px;
    font-weight:normal;
    font-size:10px;
	}

#featured .title {
	font-weight:bold;
	}

#featured .divider {
	margin-left:95px;
	}

#headline a img, #featured a img {
	margin-top:5px;
    }

#featured a {
	color:#000000;
	}

#featured a:hover {
	color:#808080;
	}

#featured a img {
	border:2px solid #fff;
	margin-right:10px;
	}

#headline a img {
	border:3px solid #fff;
	margin-right:15px;
	}

#single_head {
	width:195px;
	float:left;
	padding:15px 12px 20px 25px;
	margin:0;
	background:#333333;
	color:#fff;
	}

#single_head a img {
	border:3px solid #fff;
	}

#single_desc {
	width:675px;
	float:right;
	padding:0px 10px 5px 10px;
    font-size:12px;
	line-height:1.5em; 
	}

#single_desc div.title {
	font:25px Arial;
	font-weight:bold;
	letter-spacing:-0.05em;
	line-height:0.9em;
	display:block;
	padding-bottom:5px;
	padding-top:10px;
	}

#single_desc div.meta {
	display:block;
	padding-bottom:5px;
	font-size:10px;
	}

#single_desc p {
	margin:0px;
	padding-bottom:10px;
	}

#single_desc a {
	color:#000000;
	}

#single_desc a:hover {
	color:#808080;
	}

#middle {
	margin:0 auto;
	padding:10px 10px 0px 10px;
	background:#fff;
	width:920px;
	border-left:5px solid #fff;
	border-right:5px solid #fff;
	}
    
.category {
	width:164px;
	float:left;
	border-top:8px solid #333333;
	margin:0px;
	padding:5px 10px 15px 10px;
	background:#fff;
    cursor:pointer;
	}

.category p {
	margin:0;
    font-size:11px;
	}

.category span.cat_title, #front-popular h3, #front-list .cat_title, #gallery h3 {
	text-transform:lowercase;
	margin:0;
	font-weight:bold;
	font-size:16px;
	letter-spacing:-0.05em;
	}

#front-list .cat_title {
	font-size:14px;
    margin-bottom:5px;
	}

#front-popular h3 {
	color:#fff;
	}

.more-link {
	display:block;
	margin:15px 0px;
	}

.category a {
	color:#333333;
	display:block;
	background:none;
	}

.category a:hover {
	background:none;
	color:#fff;
	text-decoration:none;
	}

#bottom {
	width: 920px;
	}

#bottom-left {
	float:left;
	}

#bottom-left .meta, #content.archive .meta {
	font-size:10px;
	}

#front-list {
	width:570px;
	padding:10px;
	background:#fff;
	font-size:12px;
	line-height:1.75em;
	margin-bottom:10px;
	border-top:1px solid #ececec;
    }

#front-list blockquote {
	padding: 0px 10px 0 10px;
	}

#front-list .title {
	font:18px Arial;
	font-weight:bold;
	letter-spacing:-0.05em;
    line-height:1.0em;
	}

#front-list .divider {
	margin-left:216px;
	margin-top:0px;
	margin-bottom:0px;
	}

.author {
	font-size:11px;
	font-weight:bold;
	}

.meta {
	color:#333333;
	font-weight:bold;
	}

#headline p, #featured p {
	margin:0;
	}


#paged-list {
	width:570px;
	padding:0px 10px;
	background:#fff;
	font-size:12px;
	line-height:1.75em;
	border-top:1px solid #ececec;
	}

#paged-list .clearfloat {
	background:url(images/dots_content.gif) repeat-x bottom;
    padding-bottom:1px;
	}

.onecolumn {
	line-height:1.5em;
	padding:10px 0px;
	margin:0;
	}

.onecolumn img {
	float:left;
	margin:8px 10px 7px 0px;
	border:1px solid #ccc;
	padding:2px;
	}

.tanbox {
	width:275px;
	line-height:1.5em;
	padding:10px 0px;
	margin:0;
	}

.archive .tanbox {
	width:570px;
	background:url(images/dots_content.gif) repeat-x bottom;
    padding-bottom:1px;
	}

.tanbox img {
	float:left;
	margin:8px 10px 7px 0px;
	border:1px solid #ccc;
	padding:2px;
	}

.tanbox span.title a, .onecolumn span.title a {
	font:14px Arial;
	font-weight:bold;
	}

.tanbox p, .onecolumn p {
	margin:5px 0px;
	}	

#navigation {
	padding:15px 10px;
	background:#fff;
	font-size:12px;
	text-align:center;
	width:550px;
	}


/* Content Page*/

#content {
	width:570px;
	background:#fff;
	padding:10px;
	font-size:12px;
	line-height:1.75em;
	float:left;
	border-top:1px solid #ececec;
	}

.post {
	line-height:1.75em;
	}

.post p {
	margin-top:0px;
	}

.post .clearfloat {
	border-bottom:1px solid #e2e2e2;
	}

.entry ul, .post ol, #front-list ul, #front-list ol {
	margin-bottom:15px;
	}

#content h2.title {
	letter-spacing:-0.05em;
	border-bottom:1px solid #e2e2e2;
	border-top:3px solid #e2e2e2;
	margin-bottom:0px;
	padding:5px 0px;
	color:#000000;
	}

.entry ul li, #front-list ul li {	
	list-style:square;
	margin-left:30px;
	}

.entry ol li, #front-list ol li {	
	list-style:decimal;
	margin-left:30px;
	}

.entry ol li ul li, #front-list ol li ul li {	
	list-style:square;
	margin-left:20px;
	}

.entry img, .post a img, #front-list img {
	border:1px solid #ccc;
	margin:0 10px 5px 0;
	padding:2px;
	}

.entry a {
	text-decoration:underline;
	}

.post .ads {
	margin-top:10px;
	}

#stats {
	margin-bottom:15px;
	padding:8px 0px;
	font:11px Arial;
	display:block;
	border-bottom:1px solid #e2e2e2;
	font-weight:bold;
	}

span#map {
	font-size:11px;
	}

img.centered, a img.centered, img.aligncenter, a img.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

img.alignright, a img.alignright {
	padding: 4px;
	margin: 0 0 2px 7px;
	display: inline;
}

img.alignleft, a img.alignleft {
	padding: 4px;
	margin: 0 7px 2px 0;
	display: inline;
}

.alignright {
	float: right;
}

.alignleft {
	float: left
}


#bio {
    padding:10px;
    background:#efefef;
    margin:20px 0px;
}
#bio p {
    margin:0;
    padding:0;
}

#bio .avatar {
	border:1px solid #ccc;
	margin:0px 10px 5px 0;
	float:left;
	padding:2px;
	width:80px;
	height:80px;
	}	

/* Sidebar*/
#sidebar {
	width:320px;
	float:right;
	margin:0px 0px 0px 0px;
	overflow:hidden;
	}

.spoiler { 	
	padding:0px 12px 12px 12px;
	background:#fff;
	border-top:1px solid #ececec;
	margin-bottom:12px; 	
	overflow:hidden;
}

.spoiler img {
	border:1px solid #ccc;
	padding:2px;
	margin-right:10px;
	margin-bottom:5px;
	}


.spoiler h3 {
	font:12px Arial, Helvetica, Verdana, Sans-Serif;
   	font-weight:bold; 	
	color:#fff; 	
	margin:0px 0px 8px 0px; 	
	padding:3px 10px;
	border-bottom:1px solid #ececec; 	}

.spoiler h3 a {
	color:#fff;
	text-decoration:none;
	}

.spoiler p {
	margin:0;
	color:#6d6d6d;
	}

.spoiler h4 {
	font:12px Arial, Helvetica, Verdana, Sans-Serif;
    font-weight:bold;
	margin-bottom:5px;
	}

.spoiler h4 a {
	color:#333333;
	}

#sidebar {
    font-size:11px;
}

#sidebar h3 {
	font:12px Arial, Helvetica, Verdana, Sans-Serif;
	font-weight:bold;
	background:#303030;
	color:#fff;
	margin:10px 0px 5px 0px;
	padding:3px 10px;
	}

#sidebar-top, #sidebar-bottom {
	width:300px;
	float:right;
	padding:0px 10px 10px 10px;
	background:#fff;
	border-top:1px solid #ececec;
	}

#sidebar-bottom, #sidebar-middle {
	margin-top:10px;
	}

#sidebar-middle {
	width:320px;
	float:right;
	}

#sidebar-left {
	width:135px;
	padding:0px 10px 10px 10px;
	float:left;
	background:#fff;
	border-top:1px solid #ececec;
	}

#sidebar-right {
	width:135px;
	padding:0px 10px 10px 10px;
	float:right;
	background:#fff;
	border-top:1px solid #ececec;
	}


#sidebar li {
	list-style:none;
	border-bottom:1px dotted #bbbbbb;
	display:block;
	padding:2px 0px 2px 13px;
	background:url(images/sub.png) no-repeat 0 0px;
	}

#sidebar li ul li {
	border-bottom:0px;
	}

#sidebar-ads {
	width:300px;
	float:right;
	margin-bottom:10px;
	padding:10px;
	background:#fff;
	}

#sidebar h3 img { margin-top:1px; }

/* Form Elements */

select {
	border:1px solid #333333;
	width:100%
	}
	
.submitbutton {
	padding: 2px 5px;
	border:1px solid #aaa;
	background:#fff;
	font-size:11px;
	color:#aaa;
	cursor: pointer;
	}

.submitbutton:hover {
    background:#303030;
    color:#fff;
    }
    
.field {
	padding: 1px;
	border-top:1px solid #bbbbbb;
	border-left:1px solid #bbbbbb;
	border-right:1px solid #eeeeee;
	border-bottom:1px solid #eeeeee;
	background:#fff;
	font-size:11px;
	}

#search .searchbutton {
	padding: 1px;
	border:1px solid #333333;
	background:#fff;
	font-size:11px;
	}

#commentform input {
	width: 140px;
	margin: 5px 5px 0px 0;
	}

#commentform textarea {
	width: 99%;
	margin-top:5px;
	border-top:1px solid #bbbbbb;
	border-left:1px solid #bbbbbb;
	border-right:1px solid #eeeeee;
	border-bottom:1px solid #eeeeee;
	}



/* Comments*/

#comment { width:590px;	background:#fff; }

div#cancel-comment-reply { font-weight:bold; }

#comments ul.commentlist { margin-top:20px; list-style:none; }

#comments ul.commentlist blockquote { background:#ededed; }
    
#comments .clearfloat { background:none; }

#comments div.navigation { padding:5px 0px 20px 0px; font-weight:bold; }

ul.commentlist li.comment { color:#4d4d4d; padding: 11px 14px 11px 14px; background:#f2f2f2; list-style:none; margin-bottom:10px; font-size:11px; line-height:18px; border-bottom: 1px solid #dcdbd7; }
ul.commentlist li.comment h3#respond { background:#fff; margin-top:15px; }
ul.commentlist li.comment img.avatar { border:1px solid #ccc; margin:0px 0px 13px 13px; float:right; padding:2px; width:45px; height:45px; }	
ul.commentlist li.comment cite { color:#313228; font-weight:bold; font-size:14px; }
ul.commentlist li.comment div.comment-meta { font-size:10px; margin-top:0px; }
ul.commentlist li.comment div.comment-meta a { color:#4d4d4d; text-decoration:none; }
ul.commentlist li.comment a { text-decoration:underline; }
ul.commentlist li.comment cite a { text-decoration:none; }
ul.commentlist li.comment div.reply { clear:both; display:block; }
ul.commentlist li.comment div.reply a { text-decoration:none; font-weight:bold; }
ul.commentlist li.comment p { margin:15px 0px; padding:0;  }
ul.commentlist li.comment blockquote { width:380px; }

ul.children li.comment { margin-top:15px; color:#4d4d4d; padding: 12px 12px 12px 12px; background:#fff; border:none; list-style:none; margin-bottom:0px; font-size:11px; }

ul.commentlist li.depth-1, ul.children li.depth-3, ul.children li.depth-5, ul.children li.depth-7, ul.children li.depth-9 { background:#f2f2f2; }
ul.children li.depth-2, ul.children li.depth-4, ul.children li.depth-6, ul.children li.depth-8, ul.children li.depth-10 { background:#fff; }

#respond textarea { width:99%; font-size:13px; }
#respond label { font-weight:bold; }
#respond a {text-decoration:none; }
#respond h3 {margin-top:15px; }

li.comment div#respond h3 { display:none; }

/* Footer*/

#gallery {
	font-size:11px;
	color:#333;
	width: 925px;
	background:#dedede;
	margin: 0 auto;
	padding:15px 0px 15px 15px;
	border-left:5px solid #fff;
	border-right:5px solid #fff;
	}

#gallery #random {
    float:right;
    width:613px;
}

#gallery #random img {
    padding:2px;
    border:1px solid #ccc;
    margin-right:16px;
    margin-bottom:15px; 
    background:#fff;
}
#gallery #video {
    float:left;
    width:281px;
    padding-right:15px;
    border-right:1px solid #b0b0b0;
}

#gallery h3 {
    display:block;
    padding-bottom:5px;
}
#front-popular {
	font-size:11px;
	color:#fff;
	width: 910px;
	background:#303030;
	margin: 0 auto;
	padding:15px;
	border-left:5px solid #fff;
	border-right:5px solid #fff;
	}

#recentpost, #mostcommented {
	width:276px;
	float:left;
	padding:0px 20px 0px 0px;
	border-right:1px solid #808080;
	}

#mostcommented {
	margin-left:20px;
	}

#recent_comments {
	width:276px;
	float:right;
	padding:0px;
	}

#recentpost a, #mostcommented a, #recent_comments a {
	color:#fff;
	}

#recentpost ul, #mostcommented ul, #recent_comments ul {
	margin-top:5px;
	}

#recentpost li, #mostcommented li, #recent_comments li {
	list-style:none;
	background:url(images/dots_footer.gif) repeat-x top;
    padding-top:1px;
	}

#recentpost ul li a, #mostcommented ul li a, #recent_comments ul li a {
	padding:5px;
	display:block;
	text-decoration:none;
	}

#recentpost ul li a:hover, #mostcommented ul li a:hover, #recent_comments ul li a:hover {
	background:#000000;
	color:#fff;
	}

#recentpost ul li:first-child, #mostcommented ul li:first-child, #recent_comments ul li:first-child {
	background:none;
	}


#footer {
	margin: 0 auto;
	width: 920px;
	font-size:10px;
	background:#dedede;
	color:#333333;
	padding:5px 10px;
	border-left:5px solid #fff;
	border-right:5px solid #fff;
	}

#footer a:hover {
	color:#808080;
	}

/* Float Properties*/

.clearfloat:after {
	content:".";
	display:block;
	height:0;
	clear:both;
	visibility:hidden;
	}

.clearfloat {
	display: inline-block;
	}


/* Hides from IE-mac \*/
* html .clearfloat {
	height:1%;
	}

*+html .clearfloat {
	height:1%;
	}

.clearfloat {
	display:block;
	}
 

hayran

0
İyinet Üyesi
Katılım
6 Mart 2011
Mesajlar
88
Reaction score
3
css de #clearfloat ' a width height dene olmazsa #logo 'ya width height ayarı çek... fazla zamanım yok olsa dener teslim ederdim kodu :D
 

Türkiye’nin ilk webmaster forum sitesi iyinet.com'da forum üyeleri tarafından yapılan tüm paylaşımlardan; Türk Ceza Kanunu’nun 20. Maddesinin, 5651 Sayılı Kanununun 4. maddesinin 2. fıkrasına göre, paylaşım yapan üyeler sorumludur.

Backlink ve Tanıtım Yazısı için iletişime geçmek için Skype Adresimiz: .cid.1580508955483fe5

Üst