I want to change title position of categories under categories images. In the screenshot below i want to show how is it now (gray text) and how i want to do (yellow text). I hope someone can help me. Thank you !

Uploaded with ImageShack.us
I guess I have to change this part of /components/com_phocagallery/views/categories/tmpl/default.php
Code: Select all
// -------------------
// TABLE LAYOUT
// -------------------
if ($this->tmpl['displayimagecategories'] == 1) {
for ($i = 0; $i < $countCategories; $i++) {
if ( $columns == 1 ) {
echo '<table border="0">';
} else {
$float = 0;
foreach ($begin as $k => $v) {
if ($i == $v) {
$float = 1;
}
}
if ($float == 1) {
echo '<div style="position:relative;float:left;'.$fixedWidhtStyle1.'"><table>';
}
}
echo '<tr>';
echo '<td align="center" valign="middle" style="'.$this->tmpl['imagebg'].';text-align:center;"><div class="pg-imgbg"><a href="'.$this->categories[$i]->link.'">';
if (isset($this->categories[$i]->extpic) && $this->categories[$i]->extpic) {
$correctImageRes = PhocaGalleryPicasa::correctSizeWithRate($this->categories[$i]->extw, $this->categories[$i]->exth, $this->tmpl['picasa_correct_width'], $this->tmpl['picasa_correct_height']);
echo JHTML::_( 'image', $this->categories[$i]->linkthumbnailpath, str_replace('»', '-',$this->categories[$i]->title), array('width' => $correctImageRes['width'], 'height' => $correctImageRes['height']), '', '', 'style="border:0"');
} else {
echo JHTML::_( 'image.site', $this->categories[$i]->linkthumbnailpath, '', '', '', str_replace('»', '-',$this->categories[$i]->title), 'style="border:0"' );
}
echo '</a></div></td><tr>';
echo '<td><a href="'.$this->categories[$i]->link.'" class="category'.$this->params->get( 'pageclass_sfx' ).'">'.$this->categories[$i]->title.'</a> ';
if ($this->categories[$i]->numlinks > 0) {echo '<span class="small">('.$this->categories[$i]->numlinks.')</span>';}
echo '</td>';
echo '</tr>';
if ( $columns == 1 ) {
echo '</table>';
} else {
if ($i == $endFloat) {
echo '</table></div><div style="clear:both"></div>';
} else {
$float = 0;
foreach ($end as $k => $v)
{
if ($i == $v) {
$float = 1;
}
}
if ($float == 1) {
echo '</table></div>';
}
}
}
}
}
// -------------------
// DETAIL LAYOUT 2 (with columns)
// -------------------
