Lay Theme Forum

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

    footnote under images when hover

    General Discussion
    2
    4
    98
    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.
    • X
      Xamreglip last edited by

      Hi,
      I'm trying to find a code that enables showing the caption
      or description or alt text of each image underneath it when mouse hover. all over my website for each image that has some text info written.
      does anyone know a helpful code to this?

      Thanks a lot in advance!

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

        Dear @Xamreglip
        you need to code that yourself.

        What you are looking for is:

        1. Hide all captions with opacity 0
        2. A loop through all images
        3. Get the parent div box with (this)
        4. Find the box which is the caption and add a class visible which adds opacity 1 !important.

        Hope that got you on the right track :-)

        Best!

        Marius

        www.mariusjopen.world

        1 Reply Last reply Reply Quote 0
        • X
          Xamreglip last edited by

          Hi @mariusjopen thank you for helping me out there!
          I'm simply using the lightbox captions now

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

            Dear @Xamreglip
            did you try to follow my steps?

            Best!

            Marius

            www.mariusjopen.world

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Post a link to where the problem is
            I don't answer or check forum DMs, please just post on the forum.
            Forgot your key, lost your files, need a previous Lay Theme or Addon version? Go to www.laykeymanager.com

            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

            S
            R
            K

            Recent Topics

            • K

              Sticky Footer now has Background

            • S

              Changing space above/below gets delete

            • A

              Corruption of website

            • A

              installation/website bearbeiten

            laytheme.com