Changing colour of Hotspot from default colour (green) to a different colour | Experience Community
Skip to main content
Solved

Changing colour of Hotspot from default colour (green) to a different colour

  • Apr 23, 2021 1:40 PM UTC
  • 2 replies
  • 123 views

Forum|alt.badge.img+1

Hi all!
Is there a way of changing hotspot(on/off) click colour from default green to another colour(red)?

Best answer by faris

Hey Simin ,
I was able to customize my hotspot (on/off) color with the following CSS code:
path[fill="#00fe00"][fill-opacity="0.3"] {
  fill: #dc2525;
}
Just replace "#dc2525" with your desired color in Hexadecimal format

View original

2 replies

faris
QPN Level 2 ●●
Forum|alt.badge.img+3
  • QPN Level 2 ●●
  • Answer
  • Apr 27, 2021 5:28 PM UTC

Hey Simin ,
I was able to customize my hotspot (on/off) color with the following CSS code:
path[fill="#00fe00"][fill-opacity="0.3"] {
  fill: #dc2525;
}
Just replace "#dc2525" with your desired color in Hexadecimal format


Forum|alt.badge.img+1
  • Author
  • Apr 28, 2021 12:22 PM UTC

Thanks so much!!