Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1239492

    Hello,

    I would like to add unique numbers and letters to 3 diffirent image hotspots on the same page. I managed to change the numbers via a CSS code I found in several topics but it changes the content in all 3 images. It’s because the div class in these hotspot image element has the same name I think. Should I create a unique class name inside the element for each image? Can someone help me with this? I would like to use these images for a floorplan of a business building with 3 floors. But all hotspots in 3 images needs a unique number or letter.

    What I need is this:

    Hotspot Image 1
    – 21A, 21B, C, 0, 1

    Hotspot Image 2
    – D, E, F, G, H, I, J, 2, 3

    Hotspot Image 3
    – K, L, M, N, O, P, Q, R, 4, 5

    ——————————
    This is what I tried but it changes in all 3 images.

    .avia-builder-el-21 .av-hotspot-container-inner-wrap > .av-image-hotspot:nth-child(1) .av-image-hotspot_inner::after {
    content: “1”;
    }

    #1239498

    Update: You can close this topic. I solved it by creating a unique class per image and added to css code like so:

    .av-image-hotspot_inner::after {
    content: ”;
    color: white;
    left: -3px;
    position: relative;
    }

    div .plattegrond1 .av-image-hotspot:nth-child(1) .av-image-hotspot_inner::after {
    content: ’21A’;
    }

    div .plattegrond1 .av-image-hotspot:nth-child(2) .av-image-hotspot_inner::after {
    content: ’21B’;
    }

    .av-image-hotspot_inner {
    color: transparent !important;
    }

    #1239660

    Hi,

    I’m glad you were able to find a solution. If you need additional help, please let us know here in the forums.

    Best regards,
    Jordan Shannon

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Add unique numbers and letters to 3 diffirent image hotspots on the same page’ is closed to new replies.