Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Search
Skins
  • Light
  • Brite
  • 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 994 Views 1 Watching
  • 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
    S
    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
      RichardR
      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
        S
        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
          RichardR
          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
            V
            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
              arminunruhA
              arminunruh
              Global Moderator
              wrote on last edited by
              #6

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

              1 Reply Last reply
              0

              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

              With your input, this post could be even better 💗

              Register Login
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              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