انجمن


مشکل منو سمت چپ سایتم  (۴ نوشته)

  • aleas2

    آفلاین
    عضو
    تعداد نوشته‌ها: ۲
    # نوشته شده: ۱۲ سال پیش
    ۳ اردیبهشت ۱۳۹۰ - ۱۸:۳۹

    سلام خسته نباشید قالب سایتم یه موقعه ای قاطی میکنه
    اول این دوتا عکسو ببینین
    http://up.iranblog.com/images/rlvzfjvdi9clsw6i9fqx.jpg
    http://up.iranblog.com/images/wjezccyjumc56hhyqoqf.jpg
    خب حالا این عکس سومی هم ببینین

    http://up.iranblog.com/images/xt82jhao3l06h0bshzea.jpg
    خب یه موقعه هایی این منو سمت چپ سایتم قاطی میکنه یه بار درسته یه بار مثل عکس اول دومی منو سمت چپی داغون میشه میره زیر منو وسطی مشکلش چی؟

    اینم کد
    single.php

    <?php get_header(); ?>
    
    <?php get_sidebar(); ?>
    
    	<div id="content">
    		<div id="rightcol">
    <center><a href="http://www.vijeha.ir/product_info.php?products_id=415" target="_blank"><img style="width: 408px; height: 109px;" src="http://hamkaran.biz/images/hood.gif" /></a>
    </center>
    			<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
    			<?php if(function_exists('wp_print')) { print_link(); } ?>
    			<div class="post" id="post-<?php the_ID(); ?>">
    			<a href="<?php the_permalink() ?>" rel="bookmark" class=title4><?php the_title(); ?></a><br><br>
    			<span id="tags"><strong>کد خبر:</strong><?php the_ID(); ?></span>
    			<div class="entry" style=" font-size: 12px;LINE-HEIGHT: 160%; height: 100%">
    			 <h2 style="color: rgb(100, 0, 0);"><?php the_content('<p class="serif">Read the rest of this entry »</p>'); ?> </h2><br>
    			<div class=meta>
    		<font size="5" style="color: rgb(51, 0, 0);"><p>تعداد بازدید این مطلب : <?php echo cystats_getPostVisitsByID($id,$showmode=TRUE); ?> بازدید</p>
    
    			<?php _e('نوشته شده','mimbo'); ?> در تاریخ <?php the_time('j / M / Y') ?><br>
    			<?php _e('گروه خبری:'); ?> <?php the_category(' , ') ?></font>	
    
    			</div>
    			</div>
    			</div>
    	<center><a href="http://www.vijeha.ir/product_info.php?products_id=421" target="_blank"><img style="width: 408px; height: 109px;" src="http://hamkaran.biz/images/hd1.gif" /></a>
    </center>
    			<?php comments_template(); ?>
    			<?php endwhile; else: ?>
    			<p>متاسفانه چیزی یافت نشد.</p>
    			<?php endif; ?>
    
    		<div id="leftcol">
    			<?php include(TEMPLATEPATH."/leftcol.php");?>
    	</div>
    </div>
    </div>
    </div>
    <?php get_footer(); ?>

    وقتی منو سمت چپی حذف میشه یعنی میاد زیر منو وسطی باید یکی از کدهای <div/> که زیر کد
    <?php include(TEMPLATEPATH."/leftcol.php");?>
    هسته بر دارم ببرم بالا کد <div id="leftcol"> بزارمش یا برعکس
    یعنی همش باید این کدو <div/> بالا پایین کنم ! و نمیشه هر دوجا این کدو گذاشت که دگه بالا پاین نکنم کدو ! چکار کنم؟خواهشا اگر کسی میتونه کمکم کنه بگه؟

  • rock

    آفلاین
    عضو
    تعداد نوشته‌ها: ۱۳۲
    تشکر شده: ۶۳ بار
    # نوشته شده: ۱۲ سال پیش
    ۳ اردیبهشت ۱۳۹۰ - ۱۹:۴۹

    ببین با این درست میشه

    <?php get_header(); ?>
    
    <?php get_sidebar(); ?>
    
    	<div id="content">
    		<div id="rightcol">
    <center><a href="http://www.vijeha.ir/product_info.php?products_id=415" target="_blank"><img style="width: 408px; height: 109px;" src="http://hamkaran.biz/images/hood.gif" /></a>
    </center>
    			<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
    			<?php if(function_exists('wp_print')) { print_link(); } ?>
    			<div class="post" id="post-<?php the_ID(); ?>">
    			<a href="<?php the_permalink() ?>" rel="bookmark" class=title4><?php the_title(); ?></a><br><br>
    			<span id="tags"><strong>کد خبر:</strong><?php the_ID(); ?></span>
    			<div class="entry" style=" font-size: 12px;LINE-HEIGHT: 160%; height: 100%">
    			 <h2 style="color: rgb(100, 0, 0);"><?php the_content('<p class="serif">Read the rest of this entry »</p>'); ?> </h2><br>
    			<div class=meta>
    		<font size="5" style="color: rgb(51, 0, 0);"><p>تعداد بازدید این مطلب : <?php echo cystats_getPostVisitsByID($id,$showmode=TRUE); ?> بازدید</p>
    
    			<?php _e('نوشته شده','mimbo'); ?> در تاریخ <?php the_time('j / M / Y') ?><br>
    			<?php _e('گروه خبری:'); ?> <?php the_category(' , ') ?></font>	
    
    			</div>
    			</div>
    			</div>
    	<center><a href="http://www.vijeha.ir/product_info.php?products_id=421" target="_blank"><img style="width: 408px; height: 109px;" src="http://hamkaran.biz/images/hd1.gif" /></a>
    </center>
    			<?php comments_template(); ?>
    			<?php endwhile; else: ?>
    			<p>متاسفانه چیزی یافت نشد.</p>
    			<?php endif; ?>
    		</div>
    		<div id="leftcol">
    			<?php include(TEMPLATEPATH."/leftcol.php");?>
    	</div>
    </div>
    </div>
    </div>
    <?php get_footer(); ?>
    کاربران زیر به‌خاطر این نوشته تشکر کرده‌اند:
    aleas2
  • aleas2

    آفلاین
    عضو
    تعداد نوشته‌ها: ۲
    # نوشته شده: ۱۲ سال پیش
    ۳ اردیبهشت ۱۳۹۰ - ۲۰:۱۶

    نه درست نشد کلا داغون شد منو سمت چپ اومد پایین دست راست
    این دوتا عکسو ببین
    http://up.iranblog.com/images/6b36awnzhdfejhtsqprw.jpg
    http://up.iranblog.com/images/0c0ih60kwdz6dsht8jz.jpg

  • rock

    آفلاین
    عضو
    تعداد نوشته‌ها: ۱۳۲
    تشکر شده: ۶۳ بار
    # نوشته شده: ۱۲ سال پیش
    ۳ اردیبهشت ۱۳۹۰ - ۲۱:۲۷

    تا قالبت رو اینجا نگذاری نمیتونیم دقیقا درستش کنیم این مشکل به خاطر بخش کامنت هاست فکر کنم؛ به هر حال اگه قالبت رو اینجا بگذاری زودتر جواب میگیری.

درباره‌ی این موضوع