Add Custom HTML, CSS and JS
-
Hey friends,
i customized this code: http://jsfiddle.net/1ybshz3n/
This code creates a circle moving around with a blured background, it also creates a color transition while scrolling.I tried to add the html code on my homepage within the laytheme editor: +MORE -> +HTML, the CSS Code in the Custom CSS field (Lay Options) and the JS in the Custom <head> content with <script></script>
Buuut its not working :( Can anyone help me?
-
@weodeo you might take a closer look at the javascript and change some stuff there. See here:
-
Hey @felix_rabe , thanks for your answer! I already looked at the site and actually tried it as written there. Or what do you mean?
-
@weodeo in your fiddle, you use symbols such as "$", that have to be translated to something else in lay theme. Would be useful if you post your code here.
-
ahh its working now!
i tried it before and it didnt work, now i tried it again and it work maigcThank you sir!
I don't answer or check forum DMs, please just post on the forum.
Before you post:
Use the Search Feature. Maybe there is already a solution to your issue.
1. Update Lay Theme and all Lay Theme Addons
2. Disable all Plugins
3. Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code ", click "Save Changes"
4. Now see if your problem solved itself
5. Go here, see if your problem is listed here:
Troubleshooting
When you post:
1. Post a link to where the problem is
2. If the problem is difficult to explain, post screenshots / link to a video to explain it