![]() |
Show manufacturers in columns
Is there anybody who knows how to display all manufacturers on the manufacturer page in columns?
Now you get this tiny row, filling up the left column with 80% of the page not filled. The file I mean is: skin1/modules/Manufacturers/customer_manufacturer_products.tpl |
Re: Show manufacturers in columns
1. Open /skin1/modules/Manufacturers/customer_manufacturers_list.php
2. Replace: Code:
<ul class="manufacturers-list list-item"> with: Code:
<ul class="manufacturers-list list-item"> 3. Add/replace this code in main.css: Code:
/* manufacturers list */ Optional postinstallation steps: - adjust the number of columns: {if $col == 4} |
Re: Show manufacturers in columns
1 Attachment(s)
Thanks, a great start!
Some how it isn't showing things consistent and left aligned, see attachment, do you have any ideas? And where do you set the number of manufactures shown per page? |
Re: Show manufacturers in columns
1. Remove this style definitions from code:
Code:
style="display: inline;padding:5px;" 2. Replace </ul><ul> with </ul><ul class="manufacturers-list list-item"> 3. Add/replace this code in main.css: Code:
/* manufacturers list */ |
Re: Show manufacturers in columns
Quote:
In manufactures setting(admin area). |
Re: Show manufacturers in columns
1 Attachment(s)
Thanks again, one final small details, how to get the background color underneath the manufacturers again? See screendump to get an idea.
|
Re: Show manufacturers in columns
Put
Code:
<div class="clearb"> </div> Code:
{include file="customer/main/navigation.tpl"} |
Re: Show manufacturers in columns
For anyone interested, here is what I did for v4.2.x (4.2.3). It displays the manufacturers logos with the name of the manufacturer spelled out below, both are linked to the manufacturer page.
There is a problem. If you do not have a manufacturer logo, the default "no image" image is displayed. Also, the break tags toward the bottom are there to fill in so that my rounded corners work when ever the number of listings is not equally divisible by the number of columns. Code:
{* and in main.css I modified the manufacturers list Code:
/* manufacturers list */ |
All times are GMT -8. The time now is 12:22 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.