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. Get a text popup when I mouse over an image ?

Get a text popup when I mouse over an image ?

Scheduled Pinned Locked Moved General Discussion
5 Posts 2 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.
  • H Offline
    H Offline
    Helena
    wrote on last edited by
    #1

    Hy again everybody !
    I'm sorry, maybe my question has already been posted here. But I didn't find exact same question.
    I want to do something on my website : Get a text popup when I mouse over an image ?

    I know, usually and all i find on this forum is this opposite of that. And I 'm trying to find the easely way to do it :

    • if there is this option in image over add on (but i didn't see it : yes an image can appears when you mouse a text, but how can I do if I want the opposite thing : text appears when I mouse an image ?
    • Can i use Pop MaKer on any other plugin for that ?
    • Or maybe there is another option like use a shortcode perhaps ?

    Thanks you for you future helpfull response and sorry for my english (a little bad).

    Ps : This theme is so cool by the way !! Thank you so much to create it !!

    1 Reply Last reply
    0
    • H Offline
      H Offline
      Helena
      wrote on last edited by
      #2

      I find something like this :

      http://laythemeforum.com:4567/topic/5091/pop-up-window/6?_=1605879675811

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

        Dear @Helena

        That should work :) you would create a text element in the Gridder and give it a Custom Class called popup, and the code has 'button

        jQuery(document).on("click", ".button", function(event) {
             jQuery('.popup').toggleClass('active');
        });
        

        This button would need to be replaced with the class name of what you would be clicking :)

        best
        Richard

        1 Reply Last reply
        0
        • H Offline
          H Offline
          Helena
          wrote on last edited by
          #4

          Ok Great thanks alot i'm to test it today. Right now actually !! But i need a little lesson to code first so I will tell you maybe tomorrow if it's work cause actually when I write something in CSS nothings happened....

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

            @Helena

            Good Luck! there is lots of content on the internet surrounding CSS :) so you wont be alone.

            Best
            Richard

            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