Author Topic: Fancybox popup not positioned correctly on first load.  (Read 153 times)

goudmahendra

  • Beginner
  • *
  • Posts: 49
  • A beginner
Fancybox popup not positioned correctly on first load.
« 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.


Jörgen

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 2750
    • Kreativ Fotografi
  • VirtueMart Version: 3.4.x
Re: Fancybox popup not positioned correctly on first load.
« Reply #1 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
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)

Studio 42

  • Contributing Developer
  • Sr. Member
  • *
  • Posts: 4329
  • Joomla & Virtuemart developper
    • Studio 42 - Virtuemart & Joomla extentions
  • VirtueMart Version: 2.6 & 3
Re: Fancybox popup not positioned correctly on first load.
« Reply #2 on: May 21, 2020, 02:17:38 am »
Try perhaps to disable JCH optimise or similar css compression tool.