Post by yokki » Thu Sep 20, 2012 10:10 pm

Hi,

I have a problem with the product list. Product number three, four and five in the list have very strange boxes. They are not the same as the others. I can choose to see the productlist in two views, is it possible to lock it to one view. Because one of the two views is OK! But as you can see on this picture the other product view is very strange:

Image

Anyone who has had similar problems?

/Jocke

Newbie

Posts

Joined
Wed Sep 19, 2012 10:23 pm

Post by botonakis » Thu Sep 20, 2012 10:39 pm

I think, your problem is inside the template.

User avatar
Active Member

Posts

Joined
Tue Jan 24, 2012 7:55 pm
Location - Athens, Greece

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


User avatar
Active Member

Posts

Joined
Thu Jul 21, 2011 5:59 pm
Location - Leeds, UK

Post by shetab24 » Tue Sep 25, 2012 4:53 pm

hi
i wanted to know how i can change the default show of the category page to "grid" instead of "list"?
by default it's set to list.

Newbie

Posts

Joined
Sat Apr 16, 2011 8:11 pm
Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 63 guests