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

    Hi kriesi theme,

    I have a question about the image hotspots.
    Because I’m trying to change the CSS of specific hotspots. So actually every hotspot has to have a unique classname.
    But I think that’s not the case now.

    Is there a way to at a class name to each hotspot?
    Or can you tell me if it’s possible to change specific hotspots (so, not all hotspots at the same time)?

    Thanks in advance.
    Greets Mark

    #439829

    Hi Mark_goessens!

    You can target each one like so.

    .av-hotspot-container-inner-wrap > .av-image-hotspot:nth-child(2) .av-image-hotspot_inner {
      background: red !important;
    }
    .av-hotspot-container-inner-wrap > .av-image-hotspot:nth-child(3) .av-image-hotspot_inner {
      background: blue !important;
    }
    etc etc
    

    Best regards,
    Elliott

    #440234

    Hello Elliott,

    Thanks a lot for your quick response.
    Your solution works like a charms.

    Thanks again.

    Best regards,
    Mark

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Add unique class to all image hotspots’ is closed to new replies.