To prevent the highlighted areas in your Webflow image map from being darkened along with the rest of the image, you can use CSS to adjust the visual effect applied to the image map.
Here's a step-by-step guide to achieving this:
1. Select the image map element in the Webflow Designer by clicking on it.
2. In the right-hand panel, go to the Styles tab and locate the box-shadow property. By default, Webflow applies a semi-transparent dark box-shadow on image maps to indicate hover or active states.
3. To prevent the highlighted areas from being darkened, you will need to remove or modify the box-shadow effect. There are a few different approaches you can take:
a. Removing the box-shadow: If you want to completely disable the darkening effect, you can remove the box-shadow property. To do this, simply click on the "x" icon next to the box-shadow value in the Styles panel. This will remove the box-shadow and prevent any darkening of the highlighted areas.
b. Modifying the box-shadow: If you still want a visual effect but without darkening, you can modify the box-shadow property. For example, you can change the color to a lighter shade or make it fully transparent. To modify the box-shadow, click on the color swatch next to the box-shadow value and choose a lighter color or adjust the alpha slider to make it fully transparent. This way, the highlighted areas will still have a visual effect, but without the darkening.
4. Once you have made the necessary changes, the highlighted areas in your Webflow image map should no longer be darkened when interacted with.
Remember to preview and test your changes to ensure they achieve the desired effect. Depending on your specific design and requirements, you may need to experiment with different settings until you achieve the desired result.
Hope this helps! Let me know if you have any further questions.