Mouse over icon on links
-
Hey chris!
You can use this CSS for example:
a{ cursor: crosshair; }You can put this css in "lay options" -> "custom html & css" -> "Custom CSS for Desktop Version"
Here is a list of standard cursors you can use:
https://developer.mozilla.org/en/docs/Web/CSS/cursor -
-
Now I have a further question.
I want to use a custom cursor with image for all links except for the main menu.
How can I do that?Thanks.
Hey!
You could use this extra css to have a normal cursor for the menu:
nav.primary a{ cursor: pointer; }Having a left/right cursor on the left screen or the right screen only on links:
Yes this is possible but only with custom javascript and custom css. This is a bit more complex to do.You would need to listen to the mousemove javascript event and calculate which side you are on. Then you would need to add a html class to a link and remove it based on mouseenter and mouseleave js event listeners. also you would need to write some css for these html classes, one class for having a left cursor, another for having a right cursor.
I hope you can understand that this is a lot of custom code and maybe you can figure it out by yourself or find a programmer who can help you.
For paid 1-on-1 Lay Theme Coaching, contact Audrey (audrey@cyberslayers.work) or me (info@laytheme.com).
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:
- 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