VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: luiskar on July 26, 2014, 13:31:10 PM

Title: Any form to change the tittle position or nivelate images
Post by: luiskar on July 26, 2014, 13:31:10 PM
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.
(http://mimabebes.es/images/ejemplo.jpg)
Title: Re: Any form to change the tittle position or nivelate images
Post by: luiskar on July 26, 2014, 19:40:57 PM
Solved, I put in the botton the category title overwritting the file category.php
Title: Re: Any form to change the tittle position or nivelate images
Post by: Milbo on July 27, 2014, 12:29:02 PM
you may post your code here, then I can add it to vm2.6.8
Title: Re: Any form to change the tittle position or nivelate images
Post by: luiskar on August 04, 2014, 13:57:26 PM
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:
(http://mimabebes.es/images/vm/before.jpg)
After:
(http://mimabebes.es/images/vm/after.jpg)