Hi Josh,
I understand in theory what you mean. But can you please tell me in practise what changes to do to these codes.
**********************************************************************************************************************************
k2.css:
/* --- Sub-category block --- */div.itemListSubCategories {} div.itemListSubCategories h3 {} div.subCategoryContainer {float:left;} div.subCategoryContainerLast {} /* this class is appended to the last container on each row of items (useful when you want to set 0 padding/margin to the last container) */ div.subCategory {background:#f7fafe;border:1px solid #ddd;margin:4px;padding:8px;} div.subCategory a.subCategoryImage, div.subCategory a.subCategoryImage:hover {text-align:left;display:block;} div.subCategory a.subCategoryImage img , div.subCategory a.subCategoryImage:hover img {background:#fff;padding:4px;border:1px solid #ddd;margin:0 8px 0 0;} div.subCategory h2 {} div.subCategory h2 a {} div.subCategory h2 a:hover {} div.subCategory p {}
************************************************************************************************************************************'
Category.php:
<?php if(isset($this->category) || ( $this->params->get('subCategories') && isset($this->subCategories) && count($this->subCategories) )): ?> <!-- Blocks for current category and subcategories --> <div class="itemListCategoriesBlock"> <?php if(isset($this->category) && ( $this->params->get('catImage') || $this->params->get('catTitle') || $this->params->get('catDescription') || $this->category->event->K2CategoryDisplay )): ?> <!-- Category block --> <div class="itemListCategory"> <?php if(isset($this->addLink)): ?> <!-- Item add link --> <span class="catItemAddLink"> <a class="modal" rel="{handler:'iframe',size:{x:990,y:650}}" href="<?php echo $this->addLink; ?>"> <?php echo JText::_('Add a new item in this category'); ?> </a> </span> <?php endif; ?> <?php if($this->params->get('catImage') && $this->category->image): ?> <!-- Category image --> <img alt="<?php echo $this->category->name; ?>" src="<?php echo $this->category->image; ?>" style="width:<?php echo $this->params->get('catImageWidth'); ?>px; height:auto;" /> <?php endif; ?> <?php if($this->params->get('catTitle')): ?> <!-- Category title --> <h2><?php echo $this->category->name; ?><?php if($this->params->get('catTitleItemCounter')) echo ' ('.$this->pagination->total.')'; ?></h2> <?php endif; ?> <?php if($this->params->get('catDescription')): ?> <!-- Category description --> <p><?php echo $this->category->description; ?></p> <?php endif; ?>
**************************************************************************************************************************************
Greetings,
Amy