• Resolved ivylee

    (@ivylee)


    I would like to use the image hotspot block. Is there a way to show the pins only when the mouse hovers over the image? In general how can I customize the behavior of a block?
    I am comfortable with js/css but I am new to wordpress, any pointers would be highly appreciated!

Viewing 1 replies (of 1 total)
  • Plugin Support dimned

    (@dimned)

    Hi @ivyle,
    Thank you for your question. There is an option to display tooltips on hover https://prntscr.com/s10cch
    If you mean to show the hotspots on the image hover so there is no such parameter so far. But you may easily get this with custom CSS styles like

    .wp-block-getwid-image-hotspot:hover  .wp-block-getwid-image-hotspot__dot{
    	display:block;
    }
    
     .wp-block-getwid-image-hotspot .wp-block-getwid-image-hotspot__dot {
        display: none;
    }

    You may add a custom class to the Imahehotspot block to adjust the style to certain blocks only and not globally.
    Let me know if you have any further questions.

Viewing 1 replies (of 1 total)
  • The topic ‘Image hotspot – show pins on hover’ is closed to new replies.