amin1

سوال در مورد موقیعت ها در قالب**لطفا راهنمایی کنید**

2 پست در این موضوع

سلام دوستان خسته نباشید

چطوری می تونم یه همچین موقیعنی تو قالب ایجاد کنم از چه دستوراتی باید استفاده کنم ؟

همه رو ساختم ولی موقیعت های بالای یعنی

center-top1وcenter-top2رو هرکاری می کنم درس نمی شه اگه ممکنه راهنمایی کنید باید از چه کدی استفاده کنم؟ عکس رو ببینید متوجه می شید.

[ATTACH=CONFIG]6261[/ATTACH]

ولی مال من این شکلی شده:

[ATTACH=CONFIG]6262[/ATTACH]

اینم کدها

کد PHP:

   <!----------start cwnter------------>
          <div id="center">

      		<?php if($this->countModules('left-ADS')): ?>  
           <div id="left-ADS">                
           <jdoc:include type="modules" name="left-ADS" style="xhtml" />
           </div><!--End left--> 
           <?php endif; ?>  

           <?php if($this->countModules('right-ADS')): ?>  
           <div id="right-ADS">                
           <jdoc:include type="modules" name="right-ADS" style="xhtml" />
           </div>
           <?php endif; ?>  
           <!--End left--> 




          <!----------start right------------>

           <?php if($this->countModules('left')): ?>              
           <div id="left">                
           <jdoc:include type="modules" name="left" style="xhtml" />
           </div>                                 
        <?php endif; ?> 

         	<?php if($this->countModules('right')): ?>              
           <div id="right">                
           <jdoc:include type="modules" name="right" style="xhtml" />
           </div>                                 
        <?php endif; ?> 

           <!--End right-->


            <!----------start breadcrumb------------>

           <?php if($this->countModules('breadcrumb')): ?>  
           <div id="breadcrumb">                
           <jdoc:include type="modules" name="breadcrumb" style="xhtml" />
           </div>
           <?php endif; ?>  
           <!--End breadcrumb-->



          <!----------start center-top-ads------------>

           <?php if($this->countModules('center-top-ads')): ?>  
           <div id="center-top-ads">                
           <jdoc:include type="modules" name="center-top-ads" style="xhtml" />
           </div>
           <?php endif; ?> 

           <!----------end center-top-ads------------>
            <!----------start center-top------------>

            <?php if($this->countModules('center-top')): ?>  
           <div id="center-top">                
           <jdoc:include type="modules" name="center-top" style="xhtml" />
           </div>
           <?php endif; ?> 

           <!----------end center-top------------>

          <!----------start center-top2------------>

            <?php if($this->countModules('center-top2')): ?>  
           <div id="center-top2">                
           <jdoc:include type="modules" name="center-top2" style="xhtml" />
           </div>
           <?php endif; ?> 

           <!----------end center-top2------------>

           <!----------start contents------------>
		<div id="contents">  
           <jdoc:include type="component" />              
           </div>
           <!--End contents-->
           </div><!--End center-->



           <!----------start center-bottom-ads------------>

            <?php if($this->countModules('center-bottom-ads')): ?>  
           <div id="center-bottom-ads">                
           <jdoc:include type="modules" name="center-bottom-ads" style="xhtml" />
           </div>
           <?php endif; ?> 

           <!----------end bottom-ads------------>

           <!----------start center-bottom------------>

            <?php if($this->countModules('center-bottom')): ?>  
           <div id="center-bottom">                
           <jdoc:include type="modules" name="center-bottom" style="xhtml" />
           </div>
           <?php endif; ?> 

          </div> <!----------end bottom-ads------------>



             <!----------End  center------------>

CSS:

#breadcrumb{
width:590px;
height:50px;
margin:0 auto;
margin:5px 155px 5px 5px; 
}

#center-top-ads{
width:590px;
height:50px;
float:right;
margin:5px 155px 5px 5px;
}
#center-top{
width:590px;
height:50px;
margin:0 auto;
margin:5px 155px 5px 5px; 
}
#center-top2{
width:590px;
height:50px;
margin:0 auto;
margin:5px 155px 0px 5px; 
}
#contents{
width:590px;
height:auto;
margin:0 auto;
background:#FFF;
border-radius:5px;
margin:5px 155px 5px 5px;


}
#center-bottom-ads{
width:468px;
height:auto;
   margin:0 auto;
margin-bottom:5px;	
}
#center-bottom{
width:550px;
height:auto;
   margin:0 auto;
margin-bottom:5px;	
}

چطوری باید دوتا موقیعت زیر هم بسازم ما بین چپ و راست ؟؟؟؟

Share this post


Link to post
Share on other sites
آموزش ووکامرس قالب جوملا قالب وردپرس قالب رایگان وردپرس قالب رایگان جوملا هاست نامحدود هاست جوملا هاست لاراول هاست وردپرس هاست ارزان هاست ربات تلگرام خرید دامنه آموزش ساخت ربات تلگرام با php آموزش html و css آموزش لاراول آموزش cPanel آموزش php آموزش سئو وردپرس آموزش امنیت وردپرس آموزش وردپرس آموزش فرم ساز RSform آموزش سئو جوملا آموزش فروشگاه ساز Hikashop آموزش فروشگاه ساز ویرچومارت آموزش طراحی سایت آگهی تبلیغاتی آموزش امنیت جوملا آموزش طراحی سایت فروش فایل آموزش طراحی قالب ریسپانسیو با Helix آموزش جوملا 3 آموزش ساخت ربات دکمه ی شیشه ای آموزش ساخت ربات همکاری در فروش آموزش ساخت ربات جذب ممبر آموزش ساخت ربات ضد اسپم آموزش ساخت ربات پیوست فایل سورس ربات مدیر گروه | ربات مدیر گروه همسریابی

عزیز چون هنوز به موقعیت هات چیزی ندادی واسه همین اینطوری نشون میده دوراه داری تا درست دیده بشه

اولی اینکه ماژولی به موقعیت هات تعریفغ کنی

دومی این که تا پایان طراحیت این کد هارو حذف کنی

<?php if($this->countModules('breadcrumb')): ?>

<?php endif; ?>

بعد تمام شدن قالبت اینارو اضافه کن

Share this post


Link to post
Share on other sites

برای ارسال نظر یک حساب کاربری ایجاد کنید یا وارد حساب خود شوید

برای اینکه بتوانید نظر ارسال کنید نیاز دارید که کاربر سایت شوید

ایجاد یک حساب کاربری

برای حساب کاربری جدید در انجمن ما ثبت نام کنید. عضویت خیلی ساده است !


ثبت نام یک حساب کاربری جدید

ورود به حساب کاربری

دارای حساب کاربری هستید؟ از اینجا وارد شوید


ورود به حساب کاربری