test
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • gringo211985 Friend
    #186245

    Hi there,

    I have a strange problem with .modal popups with VM, see screenshot below

    As you can see the product image is showing up near the search bar!

    I read the other thread and tried the solution but it’s not working for me.

    Please can someone tell me exactly what I need to change in the CSS files to correct this?

    Thanks in advance 🙂


    1. VM-Mero
    phong nam Friend
    #488176

    Hi gringo211985,

    I did get you PM for help. So, can you send me your ftp account via PM for fixing your issue ?

    Regards,

    Leo

    gringo211985 Friend
    #488273

    <em>@Leo Burnetts 366656 wrote:</em><blockquote>Hi gringo211985,

    I did get you PM for help. So, can you send me your ftp account via PM for fixing your issue ?

    Regards,

    Leo</blockquote>

    Thanks LEO I will send you those details over for you.

    phong nam Friend
    #488317

    Hi gringo211985,

    I did fix this on your site. Your shop1 menu is using VM Frontpage menu item. So, do this :
    Open /components/com_virtuemart/views/virtuemart/tmpl/default_products.php . Then at line 58 replace

    <blockquote>echo JHTML::_ ( ‘link’, JRoute::_ ( ‘index.php?option=com_virtuemart&view=productdetails&virtuemart_product_id=’ . $product->virtuemart_product_id . ‘&virtuemart_category_id=’ . $product->virtuemart_category_id ), $product->images[0]->displayMediaThumb( ‘class=”featuredProductImage” border=”0″‘,true,’class=”modal”‘ ) );</blockquote>

    with

    <blockquote>echo JHTML::_ ( ‘link’, JRoute::_ ( ‘index.php?option=com_virtuemart&view=productdetails&virtuemart_product_id=’ . $product->virtuemart_product_id . ‘&virtuemart_category_id=’ . $product->virtuemart_category_id ), $product->images[0]->displayMediaThumb( ‘class=”featuredProductImage” border=”0″‘,false,’class=”modal”‘ ) );</blockquote>

    Regards,

    Leo

    gringo211985 Friend
    #488445

    Thanks Leo,

    This fixed worked perfectly, will mark as solved.

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

This topic contains 5 replies, has 2 voices, and was last updated by  gringo211985 11 years, 9 months ago.

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