How To Apply "Custom Code" Before On One Page Only - Question | JoomShaper
🎃 Halloween Sale is Live! Get 35% OFF on all plans. Sale ends soon! Get Offer

How To Apply "Custom Code" Before On One Page Only

AC

AJ Cunningham

Template 5 months ago

Hi Support

The Helix3 framework allows for the mass change of before </body> in the Custom Code of the template, however this applies the code to all pages on the site, which is not desired.

How can I apply custom code to one specific page before </body> end tag?

Thanks in advance

0
5 Answers
Rashida Rahman
Rashida Rahman
Accepted Answer
Support Agent 5 months ago #192013

Hi there!

Thanks for reaching out.

You can try to duplicate your template style and then add your desired code in the before space, then select the menu item in the assignment tab. Sample screenshots for your convenience:

https://share.cleanshot.com/D29Qrmpl

https://share.cleanshot.com/g2fNVrgD

Hope this will serve your purpose!

Best Regards,

0
AC
AJ Cunningham
Accepted Answer
5 months ago #192015

Hi Rashida

That's a good idea thanks, however it does seem to be quite an overhead just for one page. Will this impact the performance of the site?

Is there no module or workaround?

0
Rashida Rahman
Rashida Rahman
Accepted Answer
Support Agent 5 months ago #192168

You're always welcome:)

Which types of code are you placing there? However, in my opinion, the shared idea is the best one.

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 5 months ago #192169

It depends what "Custom Code" it will be.

If Custom CSS - there are other methods.

0
Rashida Rahman
Rashida Rahman
Accepted Answer
Support Agent 5 months ago #193670

Thanks for accepting the answer:)

Have a nice day!

0