Custom cursor on specific links
-
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 -
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
Before you post:
- When using a WordPress Cache plugin, disable it or clear your cache.
- Update Lay Theme and all Lay Theme Addons
- Disable all Plugins
- 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:
- Post a link to where the problem is
- Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
- If the problem is difficult to explain, post screenshots / link to a video to explain it