product layout

  • Posts: 25
  • Thank you received: 0
13 years 2 months ago #4743

Hi,
I have my products listed in rows of 5 items.

This is working fine in most browsers except for ie on a wide screen.

instead of showing 5 items its listing them as follows,

row 1 3 items
row 2 1 item
row 3 3 items
row 4 1 item
row 5 3 items

any ideas on how to fix?

cheers

Please Log in or Create an account to join the conversation.

  • Posts: 81361
  • Thank you received: 13035
  • MODERATOR
13 years 2 months ago #4745

Could you give the URL where you have the problem as well as the version of IE you're using ?

Please Log in or Create an account to join the conversation.

  • Posts: 25
  • Thank you received: 0
13 years 2 months ago #4746

Sure,

the url is

www.549.com.au/shop/index.php?option=com...out=listing&Itemid=8

i have also sent a screen shot.

Thnaks

Please Log in or Create an account to join the conversation.

  • Posts: 25
  • Thank you received: 0
13 years 2 months ago #4747

sorry, ie version 8

Please Log in or Create an account to join the conversation.

  • Posts: 81361
  • Thank you received: 13035
  • MODERATOR
13 years 2 months ago #4748

On your link, I just see rows of 4 categories and then when clicking on a category, rows of 3 products, whether it's on chrome or on IE8.
Are you sure you gave me the good link ?

Please Log in or Create an account to join the conversation.

  • Posts: 25
  • Thank you received: 0
13 years 2 months ago #4752

yes the link is correct, Have a look at this screen shot and you will see how it dia[plays on my screen, cheers

Please Log in or Create an account to join the conversation.

  • Posts: 25
  • Thank you received: 0
13 years 2 months ago #4753

can i have your email please as its not accepting the screen shot image. cheers

Please Log in or Create an account to join the conversation.

  • Posts: 81361
  • Thank you received: 13035
  • MODERATOR
13 years 2 months ago #4755

You can send it to This email address is being protected from spambots. You need JavaScript enabled to view it.

Please Log in or Create an account to join the conversation.

  • Posts: 81361
  • Thank you received: 13035
  • MODERATOR
13 years 2 months ago #4761

I was able to reproduce it on IE7.
Please go in the menu Display->Views and edit the file listing_div of the views category and product. There, change the line:

$width = (int)(100/$columns);
to
$width = (int)(100/$columns)-1;
and that should solve the problem.

Please Log in or Create an account to join the conversation.

  • Posts: 25
  • Thank you received: 0
13 years 2 months ago #4914

Hi Nicolas,
I have changed the line of code but it has made no differance. Is there any check boxes i need to check or am i missung something else. Cheers. Danny

Please Log in or Create an account to join the conversation.

  • Posts: 81361
  • Thank you received: 13035
  • MODERATOR
13 years 2 months ago #4917

Did you do it for both files ?

Please Log in or Create an account to join the conversation.

  • Posts: 25
  • Thank you received: 0
13 years 2 months ago #4927

It is now done in both files but it is not changing the layout. Cheers. Danny

Please Log in or Create an account to join the conversation.

  • Posts: 81361
  • Thank you received: 13035
  • MODERATOR
13 years 2 months ago #4928

Are you sure that you did the modification ? I don't see it on your website HTML.
You now have 3 elements per row and the width percentage of each element is 33% where it should be 32% with the modification.
I also do not get the problem on IE7 on your website. Maybe that's because you have three elements per rows ?

Please Log in or Create an account to join the conversation.

  • Posts: 25
  • Thank you received: 0
13 years 2 months ago #4929

Hi,
Im pretty sure everything is ok.
I am currently showing 4 elements per row. Its showing 4 ok in firefox, but still shows the same layout in my previous screenshot that i posted to you in IE.

Thnaks

Please Log in or Create an account to join the conversation.

  • Posts: 81361
  • Thank you received: 13035
  • MODERATOR
13 years 2 months ago #4930

I tried on all the browsers I have (IE , opera, chrome, firefox) and I really see only three elements per rows on your link www.549.com.au/shop/index.php?option=com...out=listing&Itemid=8

Please Log in or Create an account to join the conversation.

  • Posts: 25
  • Thank you received: 0
13 years 2 months ago #4931

Yes, that particular demo store (ladies clothing) is only set up for 3 items per row. If you click on the furniture tab you will see that it is set up for 4 items per row. I am trying to give potential customers as many visual displays that may appeal to them. Thanks

Please Log in or Create an account to join the conversation.

  • Posts: 25
  • Thank you received: 0
13 years 2 months ago #4932

If i set any of my demo stores to 4 items per row, they all list in the odd format of
3 items on the first line
1 item on the next
3 items on the next
i item on the next and so on and so on.

Cheers

Please Log in or Create an account to join the conversation.

  • Posts: 81361
  • Thank you received: 13035
  • MODERATOR
13 years 2 months ago #4934

On the furniture link, I still see a width of 25% for each element. However, with the modification I gave you, you should have 24%
The modification is working on our test website so it should work for you as well.

Please Log in or Create an account to join the conversation.

  • Posts: 25
  • Thank you received: 0
13 years 2 months ago #4937

Hmmm. I understand what you are saying but its still showing the incorrect layout in IE. I am going to update my ie browser, but its still showing incorrectly in IE7 as per my screen shot. Cheers

Please Log in or Create an account to join the conversation.

  • Posts: 25
  • Thank you received: 0
13 years 2 months ago #4939

sorry, ie8

Please Log in or Create an account to join the conversation.

Time to create page: 0.093 seconds
Powered by Kunena Forum