Author Topic: Bad TOS modal window position  (Read 703 times)

Siguana

  • Beginner
  • *
  • Posts: 34
  • A beginner
  • Skype Name: barruecopardo
Bad TOS modal window position
« 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?

derek webster

  • Jr. Member
  • **
  • Posts: 78
Re: Bad TOS modal window position
« Reply #1 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?

Siguana

  • Beginner
  • *
  • Posts: 34
  • A beginner
  • Skype Name: barruecopardo
Re: Bad TOS modal window position
« Reply #2 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

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 27942
  • Always on vacation
    • Jenkin Hill Internet
Re: Bad TOS modal window position
« Reply #3 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.
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Currently using VirtueMart 3.8.7 10374 on Joomla 3.9.23 PHP 7.4.12