Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • elanto75 Friend
    #867956

    Hello,
    I would like to create a rollover effect on mouse in virtuemart product images in category view, can anyone help?
    I wish you hover appeared before the additional images of the product.
    Thank you

    Joomla! 3.4.8
    VirtueMart 3.0.12

    Saguaros Moderator
    #868463

    Hi

    It will require customization on CSS style, please use editor like Firebug and follow some tutorial for hover effect css, there are plenty tuts for this.

    elanto75 Friend
    #870453

    thanks, but I need the code in php to relative paths.

    elanto75 Friend
    #870471

    thanks, but I need the code in php to relative paths.

    This is the code I have replaced /components/com_virtuemart/sublayouts/products.php

    it works, but I can not apply the variables

    
    

    // Show Products ?> <div class="product vm-col<?php echo ' vm-col-' . $products_per_row . $show_vertical_separator ?>"> <div class="spacer"> <div class="vm-product-media-container">

    <a title="<?php echo $product->product_name ?>" href="<?php echo $product->link.$ItemidStr; ?>">
    <img src = '../images/stories/virtuemart/product/5_3.jpg'
    onmouseover = "this.src = '../images/stories/virtuemart/product/resized/5_37_480x480.jpg'"
    onmouseout = "this.src = '../images/stories/virtuemart/product/5_3.jpg '">
    </a>

    </div> [/ pre]

    elanto75 Friend
    #870582

    please, help me!

    Saguaros Moderator
    #871048

    If you want to change in core file of VM, you should override it in template directory: ROOT/templates/ja_charity/html/com_virtuemart/sublayouts/

    In case, style for this often takes time, you should hire a developer to get it done for you.

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

This topic contains 5 replies, has 2 voices, and was last updated by  Saguaros 8 years, 10 months ago.

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