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?
-
ahh its working now!
i tried it before and it didnt work, now i tried it again and it work maigcThank you sir!
Before you post:
- When using a WordPress Cache plugin, disable it or clear your cache.
- Update Lay Theme and all Lay Theme Addons
- Disable all Plugins
- Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"
This often solves issues you might run into
When you post:
- Post a link to where the problem is
- Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
- If the problem is difficult to explain, post screenshots / link to a video to explain it