Author Topic: fancybox override  (Read 1836 times)

welrachid

  • Jr. Member
  • **
  • Posts: 265
  • 3rd party plugin developer
  • Skype Name: wel.rachid
  • VirtueMart Version: Always LATEST stable
fancybox override
« on: October 29, 2017, 11:54:46 am »
Hi guys
i tried to search the forum but only found places that describe how to override the padded.php file.
I am wondering if it is possible to actually override the whole look of the fancybox modal?
I want to achieve a modal that looks like the attached file, but i cant seem to find anywhere.
I've done the modal myself to be used with a custom login popup modal, but to make the whole template work correct i also need to make VM popups look correct.
Which files should i be editing.
What i've found so far is that most of it is build up with JS.
The question that arises is therefore, is there a place where i can "replace" that js?

Thanks
Wel
Best regards,
Wel

Ghost

  • Jr. Member
  • **
  • Posts: 422
Re: fancybox override
« Reply #1 on: October 30, 2017, 10:45:49 am »
To override Fancybox JS , copy files from components/com_virtuemart/assets/js/fancybox/ to templates/your_template/js/fancybox/.