VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: goudmahendra on May 20, 2020, 13:49:00 PM

Title: Fancybox popup not positioned correctly on first load.
Post by: goudmahendra on May 20, 2020, 13:49:00 PM
Hello All,

I am using joomla 3.9.1 and  Virtuemart 3.4.0 and Template GK_Store.

When I am going to product page and click on add to cart button a modal popup is opened but its not positioned in the center of page (its open in bottom of the page please see attached image). now if I refresh and reload the page and again click on the page its works fine.
Its seems like popup is loaded before DOM.  please check the following link just open the product and click on add to cart popup open in bottom of page and again refresh the page and click on see popup is positioned correctly in the center of the page.

https://www.weinkisten-shop.de/moebel/holzkisten-mit-bohlenbretter/regal-aus-einer-obstkiste-in-vintage-optik,-innen-geflammt,-mit-einer-schublade-und-zwei-bohlenbrettern-in-wei%C3%9F,-auf-rollen-53x50x31cm-detail.html

Please help me to fix this.

Title: Re: Fancybox popup not positioned correctly on first load.
Post by: Jörgen on May 20, 2020, 14:33:15 PM
Hello

This is surely a template issue. Test with Protostar template and You will see.
Talk to Your template supplier.

Jörgen @ Kreativ Fotografi
Title: Re: Fancybox popup not positioned correctly on first load.
Post by: Studio 42 on May 21, 2020, 02:17:38 AM
Try perhaps to disable JCH optimise or similar css compression tool.