News:

Looking for documentation? Take a look on our wiki

Main Menu

Any form to change the tittle position or nivelate images

Started by luiskar, July 26, 2014, 13:31:10 PM

Previous topic - Next topic

luiskar

The problem is that if the title of the category or article has 2 lines and other only 1 the pictures shows uneven and i want all pictures shows in the same line.

luiskar

Solved, I put in the botton the category title overwritting the file category.php

Milbo

you may post your code here, then I can add it to vm2.6.8
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

luiskar

Quote from: Milbo on July 27, 2014, 12:29:02 PM
you may post your code here, then I can add it to vm2.6.8
Only change the order in line 127 from categories.php
    // Show Category ?>

    <div class="category floatleft<?php echo $category_cellwidth $show_vertical_separator ?>">

    <div class="spacer">

    <h2>

    <a href="<?php echo $caturl ?>" title="<?php echo $category->category_name ?>">

    <?php echo $category->category_name ?>

    <br />

    <?php // if ($category->ids) {

    echo $category->images[0]->displayMediaThumb("",false);

    //} ?>


    </a>

    </h2>

    </div>

    </div>

    <?php

    
$iCategory ++;


Now shows like this:
Before:

After: