hi
i downloaded this free extension, and i installed it and it will not put the images into the box, please see here http://www.winesalesmenorca.com at the bottom featured brands, how can i chnge this code to make the images appear in the box, this is the code for the extension,
**************************************
<div class="box">
<div class="box-heading"><?php echo $heading_title; ?></div>
<div class="box-content">
<div class="box-manufacturer">
<?php foreach ($manufacturers as $manufacturer) { ?>
<div style="float: left; border: 1px solid #E7E7E7; padding: 3px; margin: 5px;">
<?php if ($manufacturer['image']) { ?>
<div class="image">
<a style="display: block;" href="<?php echo $manufacturer['href']; ?>"><img src="<?php echo $manufacturer['image']; ?>" alt="<?php echo $manufacturer['name']; ?>" /></a>
</div>
<?php } ?>
</div>
<?php } ?>
</div>
</div>
</div>
********************************************
any help would be fantastic
hi
i have contacted the author no reply, what do you mean bypassed, i have done nothing but install it, and you can see it on the site, all that is wrong is the images are outside the box. can you explain what you mean by "bypassed"
i have contacted the author no reply, what do you mean bypassed, i have done nothing but install it, and you can see it on the site, all that is wrong is the images are outside the box. can you explain what you mean by "bypassed"
You are using css that is not the default because your module comes with it.
What I would do I would advise using the same css that the default "featured module" uses and forget about the custom.
Find this:
And replace all that code with this:
What I would do I would advise using the same css that the default "featured module" uses and forget about the custom.
Find this:
Code: Select all
<div class="box-manufacturer">
Code: Select all
<div class="box-product">
hi avvici
thanks for the solution, what i did was change to this
***************************************************************
<div class="box">
<div class="box-heading"><?php echo $heading_title; ?></div>
<div class="box-content">
<div class="box-product">
XXXX<div class="box-manufacturer">XXXX
<?php foreach ($manufacturers as $manufacturer) { ?>
<div style="float: left; border: 1px solid #E7E7E7; padding: 3px; margin: 5px;">
<?php if ($manufacturer['image']) { ?>
<div class="image">
<a style="display: block;" href="<?php echo $manufacturer['href']; ?>"><img src="<?php echo $manufacturer['image']; ?>" alt="<?php echo $manufacturer['name']; ?>" /></a>
</div>
<?php } ?>
</div>
<?php } ?>
</div>
</div>
</div>
***************************************************
thanks for the solution, what i did was change to this
***************************************************************
<div class="box">
<div class="box-heading"><?php echo $heading_title; ?></div>
<div class="box-content">
<div class="box-product">
XXXX<div class="box-manufacturer">XXXX
<?php foreach ($manufacturers as $manufacturer) { ?>
<div style="float: left; border: 1px solid #E7E7E7; padding: 3px; margin: 5px;">
<?php if ($manufacturer['image']) { ?>
<div class="image">
<a style="display: block;" href="<?php echo $manufacturer['href']; ?>"><img src="<?php echo $manufacturer['image']; ?>" alt="<?php echo $manufacturer['name']; ?>" /></a>
</div>
<?php } ?>
</div>
<?php } ?>
</div>
</div>
</div>
***************************************************
ok thanks, just one thing, how can i make the images closer together as i have specified 5 items and it shows 4 on one line i would like to display 5 on one row.
Last edited by menorcarob on Sun Jul 29, 2012 7:03 pm, edited 1 time in total.
Who is online
Users browsing this forum: No registered users and 226 guests