Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Search
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

Lay Theme Forum

  1. Home
  2. General Discussion
  3. Carousel addon - mouse cursor custom

Carousel addon - mouse cursor custom

Scheduled Pinned Locked Moved General Discussion
2 Posts 2 Posters 134 Views 2 Watching
  • 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.
  • clara_andreaC Offline
    clara_andreaC Offline
    clara_andrea
    wrote on last edited by
    #1

    Hello!

    I'd like to apply a mix-blend-mode: difference effect to the custom DOM cursor on my carousel, so that it visually inverts against the images underneath — similar to how my navigation menu already behaves when it overlaps images.

    I've applied mix-blend-mode: difference to my nav elements and it works perfectly. But I can't seem to target the carousel cursor element in CSS, as it doesn't appear to have a stable/accessible class.

    Is there a recommended way to achieve this effect on the carousel DOM cursor?

    Here is a link to my website for reference: https://www.clara-andrea.com/tipik/

    Thank you!

    1 Reply Last reply
    0
    • arminunruhA Online
      arminunruhA Online
      arminunruh
      Global Moderator
      wrote on last edited by
      #2

      hey!

      #lay-dom-cursor{
      mix-blend-mode: difference;
      }

      however, this doesnt do that only for carousels but for all DOM cursors.
      also, you'd need to use white cursor images for it to work.

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      We also code custom websites or bespoke Lay features. Drop me a line at info@laytheme.com or check out my work at arminunruh.com.

      Want to support my work? paypal.me/arminunruh

      Before you post:
      1. When using a WordPress Cache plugin, disable it or clear your cache.
      2. Update Lay Theme and all Lay Theme Addons
      3. Disable all Plugins
      4. 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:
      1. Post a link to where the problem is
      2. Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
      3. If the problem is difficult to explain, post screenshots / link to a video to explain it
      Online Users
      arminunruhA
      arminunruh
      Forgot your key, lost your files, need a previous Lay Theme or Addon version? Go to www.laykeymanager.com
      laytheme.com
      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Recent
      • Tags
      • Popular
      • Users
      • Search