Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Fatema-Tuz-Zohra Nabila

    (@nabila98)

    Hello Lionel,

    Thank you for reaching out. It sounds like you’re looking to customize the hotspot icons in your virtual gallery using custom CSS. Let me guide you through the process to achieve this:

    1. Choose an icon of your choice on your website.
    2. Use the icon URL to prepare the following code snippet:

    .custom-icon {
    height: 26px;
    width: 26px;
    background:
    url(“your image URL”) no-repeat center center / auto;
    border-radius: 12px;
    }

    Here, replace "your image URL" with the URL of the icon you’ve chosen. Adjust the height, width, and border-radius values according to your preferences.

    1. Go to your WordPress Dashboard > Appearance > Customize.
    2. In the Additional CSS section, paste the code snippet you prepared in the previous step.
    3. Save or Publish the changes.
    4. Next, go to the Tour you created and navigate to the hotspot settings of the hotspot for which you want to use this custom icon.
    5. In the Hotspot Custom Icon Class field, input the name of the class you used in the CSS snippet. For example, in this case, it would be custom-icon.
    6. Save or Publish the tour.
    7. Finally, embed the tour on a page to see that the hotspot icon has been replaced with your custom icon.

    These customizations are specific to each hotspot, so you’ll need to repeat the process for any additional hotspots you want to customize.

    I hope this helps! Let me know if you have any further questions or need additional assistance.

    Best Regards,

    Thread Starter lionelst

    (@lionelst)

    Hello,

    Thank you very much for your feedback.

    It worked well when I’ve published it and saw directly on the live website.
    In the preview it was not visible so I thought it was not working.

    For what I want to do it’s still a little complex to do it that way : I wanted to attach as icon a picture of a painting which will fit in a empty frame of picture of a museum. And here if I start to zoom in or out the size of the “icon” is not adapting so then the painting looks going out of the frame or too small for the frame.

    I understand the best use of the pluggin is then I should place the paintings in a room and take a picture of the room and then I can move around with the pluggin.

    Thank you very much for your support.

    Best regards

    Lionel

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Display Hotspot has picture’ is closed to new replies.