source: extensions/stripped_black_bloc/template/mainpage_categories.tpl @ 11677

Last change on this file since 11677 was 11677, checked in by flop25, 9 years ago

masonry works for thumbnails album and thumbnails pics
all max-width cancelled
menu switch works

File size: 348 bytes
Line 
1  {foreach from=$category_thumbnails item=cat}
2        <div class="bloc">
3                        <a href="{$cat.URL}" style="background: url({$cat.TN_SRC}) no-repeat scroll center center transparent; height: {$cat.TN_HEIGHT}px; width: {$cat.TN_WIDTH}px; opacity: 0.75; max-width:150px;" >
4                                {$cat.NAME}
5                        </a>
6                                <div class="title">{$cat.NAME}</div>
7        </div>
8  {/foreach}
Note: See TracBrowser for help on using the repository browser.