Post
by welfordmedia » Thu Sep 20, 2012 11:36 pm
Hi Yokki,
the problem is almost certainly in your template, possibly an errant <div> tag somewhere inside the product-list <div> . If you are happy with only having the grid view then add this code to the bottom of the category template
<script type="text/javascript">
$(document).ready(function() { display('grid'); });
</script>
and then comment out this code
<div class="display"><b><?php echo $text_display; ?></b> <?php echo $text_list; ?> <b>/</b> <a onclick="display('grid');"><?php echo $text_grid; ?></a></div>
kind regards,
Chris
An awesome Web Development company based in Leeds. E-Commerce Specialists by day, Geeks and Gamers by night
Tel: 0845 634 1838
Web: http://www.welfordmedia.co.uk
Twitter: https://twitter.com/welfordmedia
Facebook: https://www.facebook.com/welfordmedia