Lay Theme Forum

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

    Mouse over icon on links

    General Discussion
    2
    9
    1126
    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.
    • C
      colorvox last edited by

      Hi Armin,

      is it there an option to change/customize the mouse over icon on links?

      thanks.

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

        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

        1 Reply Last reply Reply Quote 0
        • C
          colorvox last edited by

          Thanks a lot Armin. But I want to use a image.
          A gif or png. Do you know how does that works?

          thanks.

          1 Reply Last reply Reply Quote 0
          • C
            colorvox last edited by

            I put this CCS inside

            .custom {
            cursor: url(UntitledImage.png), auto;
            }

            but it doesn´t works.

            1 Reply Last reply Reply Quote 0
            • C
              colorvox last edited by

              Finally. I got it.

              a {
              cursor: url(ImageLink.png), move;
              }

              png not bigger than 64px in width.

              1 Reply Last reply Reply Quote 0
              • C
                colorvox last edited by

                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.

                arminunruh 1 Reply Last reply Reply Quote 0
                • C
                  colorvox last edited by

                  Is it possible to let change the image for cursor on the right and on the left of the page?
                  If the cursor is more on the right area, I have a right direction arrow for example. Is the cursor more on the left area, I have a left direction arrow …

                  1 Reply Last reply Reply Quote 0
                  • arminunruh
                    arminunruh Global Moderator @colorvox last edited by arminunruh

                    @colorvox

                    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.

                    1 Reply Last reply Reply Quote 0
                    • C
                      colorvox last edited by

                      ok. thanks armin.
                      : )

                      1 Reply Last reply Reply Quote 0
                      • First post
                        Last post

                      I don't answer or check forum DMs, please just post on the forum.

                      Try this to fix issues 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

                      Recent Topics

                      • M

                        Tag filter / Maximum width

                      • open all links in a thumbnail grid in a new tab

                      • text underline

                      • centred Carousel fixed width and proportions

                      laytheme.com