• Resolved B. Anders

    (@basic777)


    Hi,

    great plugin !
    … but i have a situation: the item that is cloned/stiky-ed has a transparent background, so when the original is at top position, clone stays in place and original is visible scrolling under it until it disappears. It’s just not looking clean so if you have some idea how to fix it, i’d appreciate it a lot.
    Ideas (might be dumb) – at the moment it reaches top, the original should change transparency to 0 so it disappears; – jumping to another position; – changing Z-index… do’no 🙂

    Thank you for the great work,
    B.

    https://wordpress.org/plugins/sticky-menu-or-anything-on-scroll/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter B. Anders

    (@basic777)

    PS: tweakapix.com

    The problem resides in the fact that it takes some time for the original logo to go from visible to hidden. Normally, it should change in just a few milliseconds, but in this case it seems to take about half a second. I’m not sure why.

    (You can see this by using your web inspector and you add visibility:hidden to .scrollogo — it will take a while before it disappears.)

    I think it may have to do something with the grid system and that the logo depends on other blocks (or other blocks depend on the logo).

    Indeed, it would make a difference if (instead of changing the visibility) it would use opacity. I’ll check if this will have some major advantages, and if it does, I can incorporate it in a next version.

    Until then, are you able to change the plugin code yourself or would you like me to give you a custom version? Though keep in mind it will be overwritten if/when a new version will be released.

    Thread Starter B. Anders

    (@basic777)

    i can change the code if you point me in the right direction 😀

    thanx for the great suport,
    B.

    Go to http://pastebin.com/raw.php?i=2X36d2gW, copy all that code, and paste it into the file plugins/sticky-menu-or-anything/assets/js/jq-sticky-anything.min.js.

    Save the file, reload the site and let me know if that helps.

    Thread Starter B. Anders

    (@basic777)

    LOL close to perfection. If you watch like a hawk you can see a micro – sneeze. Thank you !

    I think that micro-sneeze is (somewhat) unavoidable, I’ve seen that on a lot of pages with the plugin. It means you scroll too fast! 😉

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Transparent Background’ is closed to new replies.