• Resolved Vladimir

    (@vladav)


    Hi, may I ask you, how can I style revoke icon styling, to be more specific, size of the icon?

Viewing 1 replies (of 1 total)
  • Plugin Support markomiljanovic

    (@markomiljanovic)

    Hi @vladav,

    Changing the icon size isn’t available from the plugin settings, but you can do it with some custom CSS.

    Since the revoke icon renders inside a Shadow DOM container, regular CSS won’t reach it, so you’ll need to target it with the ::part() selector, which is able to cross the shadow root boundary.

    You can add this to your site and adjust the values to whatever size you’d like:

    #wpconsent-container::part(wpconsent-settings-button) {
        width: 60px;
        height: 60px;
    }

    Let me know if you run into any issues.

    Thanks,

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.