-
AuthorPosts
-
James Weston Friend
James Weston
- Join date:
- September 2014
- Posts:
- 1030
- Downloads:
- 11
- Uploads:
- 70
- Thanks:
- 408
- Thanked:
- 16 times in 1 posts
June 10, 2015 at 8:45 am #207173Hi Guys,
this looks like an interesting template with some good options. I uploaded it to a domain to have a play with it and wondered what I had done to get the alignment out of place on the extra fields I added here http://www.millionaireasia-indonesia.com/index.php/restaurant/item/75-arthur-treacher-s-fish-chips
On the www line the web address is returned to the line below which makes no sense as it is shorter in length than the email address below it.
Any ideas.
Also as I don’t need the rating section and will be disabling it on every page is it possible to clear the blank section it has left and move the location information across as this will give more space for longer addresses and web addresses.
Many thanks Jim
Css Magician FriendCss Magician
- Join date:
- October 2014
- Posts:
- 741
- Downloads:
- 43
- Uploads:
- 53
- Thanks:
- 114
- Thanked:
- 366 times in 263 posts
June 11, 2015 at 5:03 am #573670You can try to open file templates/ja_directory/html/com_k2/directory/item.php, remove
<div class="col col-md-4 col-lg-3 k2rating">
<?php if($this->item->params->get('itemRating')): ?>
<!-- Item Rating -->
<div class="itemRatingBlock">
<span><?php echo JText::_('K2_RATE_THIS_ITEM'); ?></span>
<div class="itemRatingForm">
<ul class="itemRatingList">
<li class="itemCurrentRating" id="itemCurrentRating<?php echo $this->item->id; ?>" style="width:<?php echo $this->item->votingPercentage; ?>%;"></li>
<li><a href="#" data-id="<?php echo $this->item->id; ?>" title="<?php echo JText::_('K2_1_STAR_OUT_OF_5'); ?>" class="one-star">1</a></li>
<li><a href="#" data-id="<?php echo $this->item->id; ?>" title="<?php echo JText::_('K2_2_STARS_OUT_OF_5'); ?>" class="two-stars">2</a></li>
<li><a href="#" data-id="<?php echo $this->item->id; ?>" title="<?php echo JText::_('K2_3_STARS_OUT_OF_5'); ?>" class="three-stars">3</a></li>
<li><a href="#" data-id="<?php echo $this->item->id; ?>" title="<?php echo JText::_('K2_4_STARS_OUT_OF_5'); ?>" class="four-stars">4</a></li>
<li><a href="#" data-id="<?php echo $this->item->id; ?>" title="<?php echo JText::_('K2_5_STARS_OUT_OF_5'); ?>" class="five-stars">5</a></li>
</ul>
<div id="itemRatingLog<?php echo $this->item->id; ?>" class="itemRatingLog"><?php echo $this->item->numOfvotes; ?></div>
<div class="clr"></div>
</div>
<div class="clr"></div>
</div>
<?php endif; ?>
</div>
Then search and replace
<div class="col col-md-8 col-lg-6 k2title">
with<div class="col col-md-12 col-lg-6 k2title">
replace
<div class="col col-md-12 col-lg-3 k2extraFields">
with<div class="col col-md-12 col-lg-4 k2extraFields pull-right">
Css Magician FriendCss Magician
- Join date:
- October 2014
- Posts:
- 741
- Downloads:
- 43
- Uploads:
- 53
- Thanks:
- 114
- Thanked:
- 366 times in 263 posts
June 11, 2015 at 5:03 am #738684You can try to open file templates/ja_directory/html/com_k2/directory/item.php, remove
<div class="col col-md-4 col-lg-3 k2rating">
<?php if($this->item->params->get('itemRating')): ?>
<!-- Item Rating -->
<div class="itemRatingBlock">
<span><?php echo JText::_('K2_RATE_THIS_ITEM'); ?></span>
<div class="itemRatingForm">
<ul class="itemRatingList">
<li class="itemCurrentRating" id="itemCurrentRating<?php echo $this->item->id; ?>" style="width:<?php echo $this->item->votingPercentage; ?>%;"></li>
<li><a href="#" data-id="<?php echo $this->item->id; ?>" title="<?php echo JText::_('K2_1_STAR_OUT_OF_5'); ?>" class="one-star">1</a></li>
<li><a href="#" data-id="<?php echo $this->item->id; ?>" title="<?php echo JText::_('K2_2_STARS_OUT_OF_5'); ?>" class="two-stars">2</a></li>
<li><a href="#" data-id="<?php echo $this->item->id; ?>" title="<?php echo JText::_('K2_3_STARS_OUT_OF_5'); ?>" class="three-stars">3</a></li>
<li><a href="#" data-id="<?php echo $this->item->id; ?>" title="<?php echo JText::_('K2_4_STARS_OUT_OF_5'); ?>" class="four-stars">4</a></li>
<li><a href="#" data-id="<?php echo $this->item->id; ?>" title="<?php echo JText::_('K2_5_STARS_OUT_OF_5'); ?>" class="five-stars">5</a></li>
</ul>
<div id="itemRatingLog<?php echo $this->item->id; ?>" class="itemRatingLog"><?php echo $this->item->numOfvotes; ?></div>
<div class="clr"></div>
</div>
<div class="clr"></div>
</div>
<?php endif; ?>
</div>
Then search and replace
<div class="col col-md-8 col-lg-6 k2title">
with<div class="col col-md-12 col-lg-6 k2title">
replace
<div class="col col-md-12 col-lg-3 k2extraFields">
with<div class="col col-md-12 col-lg-4 k2extraFields pull-right">
-
AuthorPosts
This topic contains 3 replies, has 2 voices, and was last updated by Css Magician 9 years, 5 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum