How do I fix the code provided for a Thumbnail Page List

Permalink
I am trying to make a thumbnail page list black. I only want to display the thumbnail and the page description. I am having trouble getting the description to be to the immediate right of the thumbnail.
*Screenshot attached*
Could someone please help? What am I missing?

<?php
defined('C5_EXECUTE') or die(_("Access Denied."));
$textHelper = Loader::helper("text");
$imgHelper = Loader::helper('image');
// now that we're in the specialized content file for this block type,
// we'll include this block type's class, and pass the block to it, and get
// the content

if (count($cArray) > 0) { ?>
<div class="ccm-page-list">

<?php
for ($i = 0; $i < count($cArray); $i++ ) {
$cobj = $cArray[$i];
$title = $cobj->getCollectionName(); ?>


<div class="ccm-page-list-thumbnail">
<img src="<?php echo $imgHelper->getThumbnail($cobj->getAttribute('pageListThumbnail'), 125, 125)->src ?>" alt="<?php echo $title ?>"/></div>
<div class="ccm-page-list-description" style="margin-left: 120px;">
<?php if($cobj->getAttribute('pageListThumbnail')): ?>
<?php endif; ?>
<?php
if(!$controller->truncateSummaries){
echo $cobj->getCollectionDescription();
}else{
echo $textHelper->shortText($cobj->getCollectionDescription(),$controller->truncateChars);
}
?></div>
<?php }
if(!$previewMode && $controller->rss) {
$btID = $b->getBlockTypeID();
$bt = BlockType::getByID($btID);
$uh = Loader::helper('concrete/urls');
$rssUrl = $controller->getRssUrl($b);
?>
<div class="rssIcon">
<a href="<?php echo $rssUrl?>" target="_blank"><img src="<?php echo $uh->getBlockTypeAssetsURL($bt)?>/rss.png" width="14" height="14" /></a></div>
<link href="<?php echo $rssUrl?>" rel="alternate" type="application/rss+xml" title="<?php echo $controller->rssTitle?>" />
<?php
}
?></div>
<?php } ?>

1 Attachment

jaypuffy