How to change the position of thumbnails in blog_index_thumbnail?
Permalink
Hello!
I'm trying to change the position of thumbnails in the standard blog_index_thumbnail layout of the standard page-list block.
This is how it is:http://hoffmeistercoaching.nl/vliegangst...
I want to make it so that the title appears on the right side of the thumbnail.
I'm starting to learn more and more about coding, php, css etc. however, I don't know how to do this.
I'll post the code below. You'll be a great help!
The view.php code:
I'm trying to change the position of thumbnails in the standard blog_index_thumbnail layout of the standard page-list block.
This is how it is:http://hoffmeistercoaching.nl/vliegangst...
I want to make it so that the title appears on the right side of the thumbnail.
I'm starting to learn more and more about coding, php, css etc. however, I don't know how to do this.
I'll post the code below. You'll be a great help!
The view.php code:
<?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) { ?> <?php for ($i = 0; $i < count($cArray); $i++ ) { $cobj = $cArray[$i]; $target = $cobj->getAttribute('nav_target'); $title = $cobj->getCollectionName(); //$date = $cobj->getCollectionDatePublic('M j, Y'); ?> <div class="grid_4 main-content-thumb">
Viewing 15 lines of 69 lines. View entire code block.