News:

Looking for documentation? Take a look on our wiki

Main Menu

fancybox override

Started by welrachid, October 29, 2017, 11:54:46 AM

Previous topic - Next topic

welrachid

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

To override Fancybox JS , copy files from components/com_virtuemart/assets/js/fancybox/ to templates/your_template/js/fancybox/.