Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Search
Skins
  • Light
  • 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. Mouse over icon on links

Mouse over icon on links

Scheduled Pinned Locked Moved General Discussion
9 Posts 2 Posters 1.3k Views
  • 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 Offline
    C Offline
    colorvox
    wrote on last edited by
    #1

    Hi Armin,

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

    thanks.

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

      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
      0
      • C Offline
        C Offline
        colorvox
        wrote on last edited by
        #3

        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
        0
        • C Offline
          C Offline
          colorvox
          wrote on last edited by
          #4

          I put this CCS inside

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

          but it doesn´t works.

          1 Reply Last reply
          0
          • C Offline
            C Offline
            colorvox
            wrote on last edited by
            #5

            Finally. I got it.

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

            png not bigger than 64px in width.

            1 Reply Last reply
            0
            • C Offline
              C Offline
              colorvox
              wrote on last edited by
              #6

              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.

              arminunruhA 1 Reply Last reply
              0
              • C Offline
                C Offline
                colorvox
                wrote on last edited by
                #7

                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
                0
                • C colorvox

                  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.

                  arminunruhA Offline
                  arminunruhA Offline
                  arminunruh
                  Global Moderator
                  wrote on last edited by arminunruh
                  #8

                  @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
                  0
                  • C Offline
                    C Offline
                    colorvox
                    wrote on last edited by
                    #9

                    ok. thanks armin.
                    : )

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


                    I also code custom websites or custom Lay features.
                    💿 Email me here: 💿
                    info@laytheme.com

                    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
                    J
                    JulianeEirich
                    dafvD
                    dafv
                    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