problems with layout in template Gaps Between title and first catagory, product

Started by niceguy167, August 17, 2012, 08:59:42 AM

Previous topic - Next topic

niceguy167

so my templates are messing up and putting gaps when i have a left item (like featured products, cart, catagory, ect.)
however it seams to be caused by the div class="clear if i remove the two lines it moves things up but it mangles things
I have attached a screenshot of my problem thanks for any help

// Do we need to close the current row now?
if ($iCol == $categories_per_row) {
    ?>
<div class="clear"></div>
    </div>
<?php
$iCol 1;
    } else {
$iCol++;
    }
}
// Do we need a final closing row tag?
if ($iCol != 1) {
    
?>

        <div class="clear"></div>
    </div>
    <?php



[attachment cleanup by admin]

jenkinhill

Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum


jenkinhill

Sorry, no, we are too busy with work for our clients. You should be able to solve this using Firebug - there are plenty of tutorials.
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

niceguy167

ya the problem is once i delete the class=clear it breaks things and mangles things together.
I have also tried to put in </br> tags and that still breaks things.
Is there someone that can fix it for me for cheap?
Thanks again.
the website is http://www.cabinhousetradingpost.com/newstore/index.php?option=com_virtuemart&view=virtuemart&Itemid=49