Hello
I am customising a template and I would like to switch the position of text and image. the original has the text at the left and the image at the right: http://demo.ovatheme.com/beuh/index.php/team-category/73-siong-logano but i would like to have the picture at the left and the text (which is the title <class="small-title>, the subtitle and the text underneath <class="team-post"> and the social media logos <li> at the right)
i gave it a shot, it didn't work out.
it would be great if anyone could help me with this. here's the source code: <?php defined('_JEXEC') or die; $ran_team = rand(); ?> <div id="<?php echo $elementid?$elementid:"team" ?>" class="clearfix"> <div class="container"> <div class="row"> <div class="team-slider" data-auto-play="8000"> <?php foreach ($items as $key => $value) { ?> <?php $extrafield = json_decode($value->extra_fields); $countEx = count($extrafield); ?> <div class="team-inner clearfix"> <div class="col-md-5"> <div class="team-spacing"></div> <h3 class="small-title"><?php echo $value->title; ?></h3> <p class="team-post"><?php echo $value->image_caption; ?></p> <?php echo $value->introtext; ?> <div class="spacing40"></div> <?php if($social){ ?> <ul class="team-social"> <?php for ($i = 0; $i < $countEx; $i++) { $extra = $extrafield[$i]; $name_extra = $ova->getextraname($extra->id)->name; $value_extra = json_decode($ova->getextraname($extra->id)->value); $value_extra = $value_extra[0]; if(trim($extra->value)){ ?> <li> <a target="_blank" href="<?php echo trim($extra->value);?>"> <i class="fa <?php echo trim($value_extra->rows);?>"></i> </a> </li> <?php } } ?> </ul> <?php } ?> <div class="spacing40 clearboth"></div> </div><!--/.col-md-4--> <div class="col-md-7"> <a href="<?php echo $ova->getK2link($value->id,$value->alias,$value->catid,$value->categoryalias); ?>"> <img alt="" src="<?php echo $ova->getImageK2($value->id,'XL'); ?>" /> </a> </div><!--/.col-md-7--> </div><!--/.team-inner--> <?php } ?> </div><!--/.team-slider--> </div><!--/.row--> </div><!--/.container--> </div><!--/team-->
thanks in advance