[Skip to main content](#vessel-content)

#   Product Listing layout margin bug

##

- **[ximbo](/forum/user/25614-ximbo "View ximbo's Profile")**
- [![ximbo's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/25614-ximbo "View ximbo's Profile") Topic Author
- [ Offline](/forum/user/25614-ximbo)

Less More

- Posts: 34
- Thank you received: 1
-
-

13 years 3 months ago -  13 years 3 months ago [\#117169](#117169) by [ximbo](/forum/user/25614-ximbo "View ximbo's Profile")  *[Product Listing layout margin bug](/forum/3-bug-report/860671-product-listing-layout-margin-bug#117169 "--website   audleymotors.smsidat.com/accessories  (shows correctly now with the modification detailed below) -- HikaShop version -- : 2.2 -- Joomla version -- : 3.1 -- PHP version -- : 5.3  Not sure if this is a bug, but the second row on the product listing view can't fit the same number of items as the first due to the margin on the first item, so I had to add the following to the front end CSS:  Note that this already exists for the row-fluid class:  However the div on the product listing page uses the row-fluid-10 variant.  Could you confirm if this is a bug or something I'm doing wrong somewhere! Thanks  - Another thing I forgot to mention was that if the titles/description are a bit longer and so the item is larger in height compared to the other products, it pushes the product on the row below down a row.. hope this is making sense. I'd expect it to rather just push the entire row below a little further down to give it minimum margin space between the longest item on top and the items below.  Just fixed this by adding clear:both to the css, alternatively could have given the  an explicit height  Is this all correct? Seems to work anyway")* was created by *[ximbo](/forum/user/25614-ximbo "View ximbo's Profile")*

--website [ audleymotors.smsidat.com/accessories](http://audleymotors.smsidat.com/accessories) (shows correctly now with the modification detailed below)
-- HikaShop version -- : 2.2
-- Joomla version -- : 3.1
-- PHP version -- : 5.3

Not sure if this is a bug, but the second row on the product listing view can't fit the same number of items as the first due to the margin on the first item, so I had to add the following to the front end CSS:
Code:

.row-fluid-10 .hikashop_product_column_1, .row-fluid-10 .hikashop_category_column_1 { margin-left: 0 !important; }

Note that this already exists for the row-fluid class:
Code:

.row-fluid .hikashop_product_column_1, .row-fluid .hikashop_category_column_1 { margin-left: 0 !important; }

However the div on the product listing page uses the row-fluid-10 variant.

Could you confirm if this is a bug or something I'm doing wrong somewhere! Thanks

- Another thing I forgot to mention was that if the titles/description are a bit longer and so the item is larger in height compared to the other products, it pushes the product on the row below down a row.. hope this is making sense. I'd expect it to rather just push the entire row below a little further down to give it minimum margin space between the longest item on top and the items below.

Just fixed this by adding clear:both to the css, alternatively could have given the &lt;li&gt; an explicit height
Code:

.row-fluid-10 .hikashop_product_column_1, .row-fluid-10 .hikashop_category_column_1 { margin-left: 0 !important; clear:both }

Is this all correct? Seems to work anyway

Last edit: 13 years 3 months ago by [ximbo](/forum/user/25614-ximbo "View ximbo's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84NjA2NzEtcHJvZHVjdC1saXN0aW5nLWxheW91dC1tYXJnaW4tYnVnP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26401
- Thank you received: 4081
-
- [](http://obsi.dev)
-

13 years 3 months ago [\#117190](#117190) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Product Listing layout margin bug](/forum/3-bug-report/860671-product-listing-layout-margin-bug#117190 "--website   audleymotors.smsidat.com/accessories  (shows correctly now with the modification detailed below) -- HikaShop version -- : 2.2 -- Joomla version -- : 3.1 -- PHP version -- : 5.3  Not sure if this is a bug, but the second row on the product listing view can't fit the same number of items as the first due to the margin on the first item, so I had to add the following to the front end CSS:  Note that this already exists for the row-fluid class:  However the div on the product listing page uses the row-fluid-10 variant.  Could you confirm if this is a bug or something I'm doing wrong somewhere! Thanks  - Another thing I forgot to mention was that if the titles/description are a bit longer and so the item is larger in height compared to the other products, it pushes the product on the row below down a row.. hope this is making sense. I'd expect it to rather just push the entire row below a little further down to give it minimum margin space between the longest item on top and the items below.  Just fixed this by adding clear:both to the css, alternatively could have given the  an explicit height  Is this all correct? Seems to work anyway")*

Hi,

You did quite well.
We will add the margin-left for the other "row-fluid" like you did. About the clear I will test this improvement on other sites but it looks to work perfectly on your website.

Thanks !

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84NjA2NzEtcHJvZHVjdC1saXN0aW5nLWxheW91dC1tYXJnaW4tYnVnP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[ximbo](/forum/user/25614-ximbo "View ximbo's Profile")**
- [![ximbo's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/25614-ximbo "View ximbo's Profile") Topic Author
- [ Offline](/forum/user/25614-ximbo)

Less More

- Posts: 34
- Thank you received: 1
-
-

13 years 3 months ago [\#117204](#117204) by [ximbo](/forum/user/25614-ximbo "View ximbo's Profile")  Replied by *[ximbo](/forum/user/25614-ximbo "View ximbo's Profile")* on topic *[Product Listing layout margin bug](/forum/3-bug-report/860671-product-listing-layout-margin-bug#117204 "--website   audleymotors.smsidat.com/accessories  (shows correctly now with the modification detailed below) -- HikaShop version -- : 2.2 -- Joomla version -- : 3.1 -- PHP version -- : 5.3  Not sure if this is a bug, but the second row on the product listing view can't fit the same number of items as the first due to the margin on the first item, so I had to add the following to the front end CSS:  Note that this already exists for the row-fluid class:  However the div on the product listing page uses the row-fluid-10 variant.  Could you confirm if this is a bug or something I'm doing wrong somewhere! Thanks  - Another thing I forgot to mention was that if the titles/description are a bit longer and so the item is larger in height compared to the other products, it pushes the product on the row below down a row.. hope this is making sense. I'd expect it to rather just push the entire row below a little further down to give it minimum margin space between the longest item on top and the items below.  Just fixed this by adding clear:both to the css, alternatively could have given the  an explicit height  Is this all correct? Seems to work anyway")*

Sure, I added clear:both on both row types, all seems to work fine now.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84NjA2NzEtcHJvZHVjdC1saXN0aW5nLWxheW91dC1tYXJnaW4tYnVnP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.063 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
