Lay Theme Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Search

    Add Custom HTML, CSS and JS

    General Discussion
    2
    5
    48
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • W
      weodeo last edited by weodeo

      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?

      felix_rabe 1 Reply Last reply Reply Quote 0
      • felix_rabe
        felix_rabe @weodeo last edited by felix_rabe

        @weodeo you might take a closer look at the javascript and change some stuff there. See here:

        https://laytheme.com/documentation/custom-javascript.html

        W 1 Reply Last reply Reply Quote 0
        • W
          weodeo @felix_rabe last edited by

          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?

          felix_rabe 1 Reply Last reply Reply Quote 0
          • felix_rabe
            felix_rabe @weodeo last edited by felix_rabe

            @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.

            W 1 Reply Last reply Reply Quote 2
            • W
              weodeo @felix_rabe last edited by weodeo

              ahh its working now!
              i tried it before and it didnt work, now i tried it again and it work maigc

              Thank you sir!

              1 Reply Last reply Reply Quote 1
              • First post
                Last post
              Post a link to where the problem is
              I don't answer or check forum DMs, please just post on the forum.
              Forgot your key, lost your files, need a previous Lay Theme or Addon version? Go to www.laykeymanager.com

              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

              Thanks!

              Online Users

              Recent Topics

              • H

                sumbmenu on mobile device

              • Q

                backdrop blur on ios

              • While editing the carousel, the images are not displayed correctly

              • Sticky Footer now has Background

              laytheme.com