Lay Theme Forum

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

    Change Intro image fade-out length

    Feedback
    2
    3
    678
    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.
    • alexbruno
      alexbruno last edited by

      It'd be nice if we could change the amount of time it takes to fade out the intro image.

      Seems like this is only editable via javascript? I tried changing a few things in Custom CSS but to no avail.

      Thanks thanks!

      1 Reply Last reply Reply Quote 0
      • arminunruh
        arminunruh Global Moderator last edited by

        Hm, try this:

        .intro-image{
            -webkit-transition: -webkit-transform 450ms ease, opacity 400ms ease;
            -moz-transition: -moz-transform 450ms ease, opacity 400ms ease;
            transition: transform 450ms ease, opacity 400ms ease;
        }
        

        Just change the numbers. The "transform" 450ms that's the speed of the animation that scales the intro image. Opacity "400ms" is how long it takes to fade out.

        You know what, I think if you want to decrease the animation speed that will work. But if you want to make the animation slower that will probably not work because in the theme I hide the intro using js after 400ms.
        So I think I will make an option for that for a future release.

        1 Reply Last reply Reply Quote 0
        • alexbruno
          alexbruno last edited by

          I did try editing those CSS values, and it does make a difference in the transition; however something in the JS runs and the intro image disappears before the transition can finish.

          But yes thanks for taking a look, this would be a great feature!

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Post a link to where the problem is if possible, please <3
          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. When using a WordPress Cache plugin, disable it or clear your cache. Now see if your problem solved itself.
          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

          E

          Recent Topics

          • A

            website error

          • Website gone all blank after update 6.3.1

          • S

            can't update project category content

          • C

            lightbox: how to go back to project instead of home with back button

          laytheme.com