Lay Theme Forum

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

    Custom cursor on specific links

    General Discussion
    cursor hover custom link
    2
    2
    112
    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.
    • J
      jonacaspar last edited by jonacaspar

      Hey @arminunruh , hey @mariusjopen

      we are currently working on a Website for the Director Tom Otte www.tom-otte.com.
      We want to replace the cursor with an Image just on specific Links.
      To achieve this we added the following code in the Desktop CSS field:

      .thumb [data-id="82"] { cursor: url(wp-content/uploads/2019/08/popcorn.png), auto }

      The idea is to add for each project a CSS Line and address the data-id.

      Its working great, but we were wondering if there is a better/safer/faster way to do this. We had some glitch problems on several Computers in firefox and Safari. If you could let us know how to do it more accurate, would be great.

      Best
      Charlotte & Jona

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

        Dear @jonacaspar
        make sure that the URL is correct. Maybe even upload it on AmazonS3. But that might be an overkill :-)
        Make sure the cursor is not bigger than 32px (I think there is a limitation).

        You can give elements a specific class and apply the cursor always to that class.

        Best!

        Marius

        www.mariusjopen.world

        1 Reply Last reply Reply Quote 0
        • 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

        K
        S
        G

        Recent Topics

        • T

          scroll element transitions mobile

        • L

          HTML

        • M

          Burger menu in desktop and tablet view

        • M

          WPForms Lite not working with new theme update (5.5.5)

        laytheme.com