Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • majino Friend
    #129605

    Hi guys…. i want the images of the products in the slider on the top to be aligned at the bottom of the slider, instead of being aligned below the text describing the product… 😀 sorry for my bad english, if you haven’t understand i’ll try to explain myself better 😀 thanks for the answer, bye!

    Sherlock Friend
    #253385

    Hi majino !
    You can do so the following way :
    open productsnapshot.tpl.php file in componentscom_virtuemartthemesdefaulttemplatescommon folder, find following code section at about line 3 :


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

    <a title="<?php echo $product_name ?>" href="<?php echo $product_link ?>">
    <?php
    // Print the product image or the "no image available" image
    echo ps_product::image_tag( $product_thumb_image, "alt="".$product_name.""");
    ?>
    </a>
    <br />

    change to :


    <a title="<?php echo $product_name ?>" href="<?php echo $product_link ?>">
    <?php
    // Print the product image or the "no image available" image
    echo ps_product::image_tag( $product_thumb_image, "alt="".$product_name.""");
    ?>
    </a>
    <br />
    <span style="font-weight:bold;"><?php echo $product_name ?></span>

    majino Friend
    #254455

    this not work at all… if i have a product name of two rows, or three, instead of one, the image change position… i want the text on the top, and the image on the bottom.. always 😀 anyone can help? 🙂

    Sherlock Friend
    #254521

    Hi majino !
    Please send url of your site.

    majino Friend
    #254563

    i can’t, the website isn’t mine and the owners want to keep it offline for some reasons… here is a screenshot of what I’m asking… 🙂 i want the image to be aligned at the bottom, so the price would be on the same line even if the products have names of one, two or three rows… 🙂

    majino Friend
    #254939

    anyone can answer? 😀 thanks a lot!!

    andymate Friend
    #274428

    have the same problem..is there a solution?

    Sherlock Friend
    #275164

    Hi andymate !
    i have checked quickstart of larix , but can’t see problem, you can send url of your site. i will help you !

    andymate Friend
    #275227

    hi hainn84, i changed the code sufggested by you and now when i want to show the prices the slider and feautured prod look like this:

    Sherlock Friend
    #275338

    Hi hainn84 !
    Please send me url of your site , i need it to view html code !

    andymate Friend
    #275374

    hi hainn84, unfortunatly the site is offline…but i only changed the the code from:

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

    <a title="<?php echo $product_name ?>" href="<?php echo $product_link ?>">
    <?php
    // Print the product image or the "no image available" image
    echo ps_product::image_tag( $product_thumb_image, "alt="".$product_name.""");
    ?>
    </a>
    <br />

    to

    <blockquote><a title=”<?php echo $product_name ?>” href=”<?php echo $product_link ?>”>
    <?php
    // Print the product image or the “no image available” image
    echo ps_product::image_tag( $product_thumb_image, “alt=””.$product_name.”””);
    ?>
    </a>
    <br />
    <span style=”font-weight:bold;”><?php echo $product_name ?></span></blockquote>

    and it seems that the behavior is normal…or not?
    if you still need to see the code let me know which page and i’ll send you…

    thx

    Michael Casha Friend
    #275490

    It would help a lot for you to send through your live site url (via email or PM to hainn84

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

This topic contains 12 replies, has 4 voices, and was last updated by  Michael Casha 16 years, 1 month ago.

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