K2 item layout
Support forum dedicated to GameNews game Joomla template perfect for gamers, game portal news and reviews with dedicated extensions for rating and video support
Rate this topic: 1.00 out of 6 based on 1 vote(s)
- GK User
- Fri Sep 26, 2014 2:21 pm
- Reply with quote
- Report this post
Hi. I got a problem with K2 item layout. I setted don't show these elements:
But there still is empty <ul> element:
Please, help me to remove this element.
But there still is empty <ul> element:
Please, help me to remove this element.
-
- Junior Boarder
- teitbite
- Sat Sep 27, 2014 10:26 am
- Reply with quote
- Report this post
Could you please provide me with a URL to your website, either here or via PM (click the “Private Message” text underneath my avatar) so that I may analyze it? It is a lot easier for us to diagnose issues when we have a live site to examine.
-
- Moderator
- teitbite
- Mon Sep 29, 2014 9:28 am
- Reply with quote
- Report this post
Hi
I think this can be fixed with an additional script easier than with recodding the layout. Please add this to /layout/block/head.php
I think this can be fixed with an additional script easier than with recodding the layout. Please add this to /layout/block/head.php
- Code: Select all
<script type="text/javascript">(function($) {$(document).ready(function() {
$('ul').each(function(){
if( $(this).html().trim() == '' ) {
$(this).remove();
}
});
});})(jQuery)</script>
-
- Moderator
3 posts
• Page 1 of 1