Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • Alice Ching Friend
    #161502

    Hi is there any way to align the Product Name, Image, Price better? Some have longer name and pushes the price down.

    Is there any way in vm settings or through CSS styles that we can make the product name a fixed height, or any other solution is welcome.

    Please see attached picture.

    Thank you.


    1. hp-product-alignment
    thangnn1510 Friend
    #381563

    Dear vertex615!

    Please do the following to get the solution:

    – Open componentscom_virtuemartthemesja-zeolitetemplatescommonproductsnapshot.tpl.php edit this code:

    <span style="font-weight:bold;"><?php echo $product_name ?></span>

    To

    <span style="font-weight:bold;" class="product-name"><?php echo $product_name ?></span>

    Open /templates/ja_zeolite_ii/css/template.css

    Add this code:

    span.product-name{

    float: left;
    font-weight: bold;
    height: 50px;
    width: 100%;
    }

    To the end of the file.

    Regards!

    Alice Ching Friend
    #381709

    Thanks, That helps a lot.

Viewing 3 posts - 1 through 3 (of 3 total)

This topic contains 3 replies, has 2 voices, and was last updated by  Alice Ching 13 years, 8 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum