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. Text hover on text caption

Text hover on text caption

Scheduled Pinned Locked Moved General Discussion
6 Posts 4 Posters 219 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.
  • S Offline
    S Offline
    sofiapapa08
    wrote on last edited by
    #1

    Hi,

    I am trying to put a caption by hover under my carrousel.
    What is the best/simple way to do it, as it will be a different text on each project?

    I've just put the "info" texte under my carrousel as you can see where I want it to appear (https://sofiappfth.ch/?p=390)
    and a simple example using css (https://www.w3schools.com/css/tryit.asp?filename=trycss_tooltip)
    It be also great that when the hover-caption appears, "info" disappear.

    Thanks in advance,
    Sofia :-)

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

      Dear @sofiapapa08

      Sorry for the delay,
      " It be also great that when the hover-caption appears, "info" disappear. "

      Isnt 'info' the Hover Caption? Just trying to understand better :)

      Have a wonderful day

      Richard

      1 Reply Last reply
      0
      • S Offline
        S Offline
        sofiapapa08
        wrote on last edited by sofiapapa08
        #3

        Hi,

        No problem, thanks for the answer.

        Yes, this wasn't really clear… I think what I really want to do is this https://www.w3schools.com/css/tryit.asp?filename=trycss_tooltip

        I hope I am clearer,
        if not tell me :-)

        Thank you,
        Have a nice week,
        Sofia

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

          Dear Sofia @sofiapapa08

          If its going to be different text on each project then coding in for every image would take ages - Therefore using something built in is better - like captions.

          Then you only have to target the captions <div> and make it appear on hover but the data inside (text) will be called automatically for you.

          The principles of the example you provided: https://www.w3schools.com/css/tryit.asp?filename=trycss_tooltip

          Are the same that you would use to make the captions appear
          visibility:0 to visibility:1

          or

          opacity:0 to opacity:1

          or

          display:none to display:block

          Also for help:
          https://laytheme.com/documentation.html#custom-css-styling

          Best wishes :)
          Richard

          1 Reply Last reply
          0
          • V Offline
            V Offline
            veitsons
            wrote on last edited by
            #5

            How about a feature to have "text-on-text-hover-box/bubble" in the future? Would be very helpful for example detailed info or explanation of words!! Any chance to get this on your list @arminunruh ?

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

              Make caption follow mouse:
              http://laythemeforum.com:4567/topic/10519/make-image-caption-follow-mouse

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