K2 Item View Page.
Find File:
- Code: Select all
\templates\gk_boutique\html\com_k2\templates\default\item.php
Find Line: 52 to 58 which is below
- Code: Select all
<!-- Item title -->
<!-- Date created -->
<div class="itemDate">
<span class="itemDateDay"><?php echo JHTML::_('date', $this->item->created , JText::_('d')); ?></span>
<span class="itemDateMonth"><?php echo JHTML::_('date', $this->item->created , JText::_('M')); ?></span>
</div>
<h2 class="itemTitle">
Replace with below
- Code: Select all
<!-- Item title -->
<?php if($this->item->params->get('itemDateCreated')): ?>
<!-- Date created -->
<div class="itemDate">
<span class="itemDateDay"><?php echo JHTML::_('date', $this->item->created , JText::_('d')); ?></span>
<span class="itemDateMonth"><?php echo JHTML::_('date', $this->item->created , JText::_('M')); ?></span>
</div>
<?php endif; ?>
<h2 class="itemTitle">
Also when you disable it you get empty space on the left before title so to remove those follow below.
Go to Joomla Admin > Extensions > Template Manager > gk_boutique - Default > Advanced Settings > Custom CSS Code and copy paste below. Save & Close.
- Code: Select all
.itemHeader .itemTitle, .genericItemTitle { margin:0; }
.itemToolbar ul { margin:0; }
See you around...