VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: Siguana on March 26, 2019, 13:20:45 PM

Title: Bad TOS modal window position
Post by: Siguana on March 26, 2019, 13:20:45 PM
  Joomla 3.9 and VM 3.4.

  Inside the shopping cart, I can read the TOS when I click on it.  But, when the TOS modal window pops up, it is in a very bad position, in a very low position, so I need to scroll down the window for reading it.

  I can "fix it" in Chrome or Firebox with the browser developer tools.  If I look for "fancybox-wrap" div and I change the top value, for example, to 50%, it looks fine.  But I don't know which line of which file I should edit for fixing it.  Any idea about this?
Title: Re: Bad TOS modal window position
Post by: derek webster on March 26, 2019, 15:47:22 PM
I had this problem when there was a script loading BEFORE the opening <HTML> tag. but it was on the Image Modal and the Add to cart. Are you using Fancybox? do you have a URL?
Title: Re: Bad TOS modal window position
Post by: Siguana on March 26, 2019, 16:16:08 PM
  Yes, I am using Fancybox.  It happens also when I add a product to the cart.

  You can check here the website:  https://saintseiya.es/kawaiimiscellanea (https://saintseiya.es/kawaiimiscellanea)
Title: Re: Bad TOS modal window position
Post by: jenkinhill on March 26, 2019, 17:38:26 PM
Its a problem in your template. When tested in Protostar (eg  https://saintseiya.es/kawaiimiscellanea/index.php/juguetes/damas-detail?template=protostar  ) the modal is central.