12 years 6 months ago
It seems easy to slightly modify this extension and allow the title of each category or content to be to the right of the picture...
In tmpl\default.php, you need just to modify
<?php if($titleBelow) {?>
<a class="captifyTitle" href="<?php echo $item->link;?>">
<?php echo $item->title;?>
</a>
<?php }?>
to
<?php if($titleBelow) {?>
<div class="ccItemTitle">
<a class="captifyTitle" href="<?php echo $item->link;?>">
<?php echo $item->title;?>
</a>
</div>
<?php }?>
And in captifyContent.css to add
.ccItemTitle {
float:left;
}
You can also add the following lines
.ccItemTitle,.viewport{
padding:15px;
margin:5px;
height:125px;
background-color:#cccccc;
font-size:14px;
font-weight:bold;
vertical-align:middle;
}
.ccItemTitle {
width:125px;
}
And finally obtain a menu like a matrix... (see picture).
Thanks !!