Override JS File - Question | JoomShaper
Black Friday sale is live with flat 50% OFF. Sale ends soon! Grab your deal now!

Override JS File

Laurent

Laurent

Helix Framework 4 days ago

Hi,

How can I override /templates/shaper_helixultimate/js/main.js file? Or some parts only?

thanks L.

0
7 Answers
Ziaul Kabir
Ziaul Kabir
Accepted Answer
Support Agent 4 days ago #211622

Hello Laurent,

Thanks for reaching out to us.

There is no option for overrride this file.

Thanks

0
Ziaul Kabir
Ziaul Kabir
Accepted Answer
Support Agent 4 days ago #211640

Yes, Please, follow this documentation, you can create custom.js like custom.css: https://www.joomshaper.com/documentation/helix-framework/custom-code-css-js-meta#custom-javascript

Thanks!

0
Laurent
Laurent
Accepted Answer
4 days ago #211623

there is no option to load another file separately or load a specific section of the file?

0
Laurent
Laurent
Accepted Answer
4 days ago #211649

ok thanks

0
Laurent
Laurent
Accepted Answer
3 days ago #211757

on this file /templates/shaper_helixultimate/js/main.js I want to override this https://prnt.sc/1PHyB_DZ1s2W by this https://prnt.sc/9VzHrTPeDht_

how can I do that?

0
Ziaul Kabir
Ziaul Kabir
Accepted Answer
Support Agent 3 days ago #211762

There is no option to override this file. You can make changes, but the code will be replaced when you install the next Helix update.

Thanks.

0
Laurent
Laurent
Accepted Answer
3 days ago #211765

wrong. it is possible with custom.js file called before body tag, I did it and works fine. thank you

0