• Resolved diploidaa

    (@diploidaa)


    There’s an ip block on the page- we have the free version of the plugin (very robust) and simply wish to update the hover color when user rest their cursor on any state. We tried the css below with no luck.

    .imapsMapPolygon-group:not[fill^='#e0e0e0']:hover
    {
    stroke-width:2px;
    stroke:#6699CC;
    }

    Any help and direction is greatly appreciated ??

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Contributor Carlos Moreira

    (@carlosmoreirapt)

    Hi @diploidaa

    You can use the ‘hover’ color picker to select the hover color for active regions.

    If you want to target all regions, active and inactive, the css code would be:

    .imapsMapPolygon-group:hover
    {
        stroke-width:2px;
        stroke:#6699cc;
        fill:#6699CC;
    }

    If you only want to target inactive regions:

    .imapsMapPolygon-group[fill='#e0e0e0']:hover
    {
        stroke-width:2px;
        stroke:#6699cc;
        fill:#6699CC;
    }

    Where #e0e0e0 is the inactive colour.

    Greetings, Carlos

Viewing 1 replies (of 1 total)
  • The topic ‘Hover Color On States’ is closed to new replies.