Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • Vince Chittenden
    Participant

    Hi,

    I have my UFW button initially hidden and it should only become visible when the page is scrolled 2000 px. But when the page first loads, the button is visible briefly before hiding itself. This is distracting to the user.

    Is there any way of fixing this behaviour?

    example page: https://www.questel.co.uk/col-dallos/

    Thanks,
    Vince

    Hi Vince,

    Can you please try the CSS below and see if it helps?

    #ufw_1 {
      animation: ufw_hide 0s 1s forwards;
      visibility: hidden;
    }
    
    @keyframes ufw_hide {
      to   { visibility: visible; }
    }

    Thanks,
    Aakash

    Vince Chittenden
    Participant

    That works. Thank you

    Vince

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.

Subscribe to our Newsletter

Get updates on the WordPress plugins, tips and tricks to enhance your WordPress experience. No spam. View newsletter

By using this website, you agree to our Terms