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. Addons
  3. Imagehover Addon without link?

Imagehover Addon without link?

Scheduled Pinned Locked Moved Addons
4 Posts 2 Posters 110 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.
  • P Offline
    P Offline
    patricia
    wrote on last edited by
    #1

    Hi there,

    I have a question somehow related to the Imagehover Addon, which I really love!

    I want to use the same functionality on a background image, so that another image follows the x/y mouse movements (centered horizontal & vertical image position) like the Imagehover Addon does.

    It works exactly like I imagine it if I just link the row background, but unfortunately I just don’t need the link.

    I wonder if there’s an easy way to use the addon but somehow "deactivate" the link?

    (I googled and tried a few examples for custom mouse cursors, but I don’t want to replace the cursor and I don’t even need fancy things like delayed movements or anything.)

    Many thanks in advance!

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

      Dear @patricia

      A common way to disable links is pointer-events: none; But i hope that this wont affect the cursor functionality on top.

      https://www.w3schools.com/cssref/css3_pr_pointer-events.asp

      If you link to the page & row where you wish to de-activate the link i could make sure 🌝


      Best wishes
      Richard
      1 Reply Last reply
      0
      • P Offline
        P Offline
        patricia
        wrote on last edited by patricia
        #3

        Thanks for your reply!

        I tried to adress it with .row-bg-link or .background-image like this:

        .slug-loremipsum .row-bg-link {
        pointer-events: none;
        }

        It works, it's not clickable anymore but then the hover image isn’t visible anymore either.

        I’ll send you the link to the specific page via Chat, hope that’s ok.
        Thanks again, Richard!

        1 Reply Last reply
        0
        • RichardR Offline
          RichardR Offline
          Richard
          Global Moderator
          wrote on last edited by
          #4

          Dear @patricia , have replied via 'Chats' ✨

          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
          M
          MWPA
          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