Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #39275
    BugMeNot
    Participant

    I would like to add an icon before the notice text, however, there is no hook in the DOM tree that I could use. Is there any chance, you can add a span with id “cn-notice-icon” just before the “cn-notice-text” element? Simply put it within the “cookie-notice-container”, on same level as “cn-notice-text”. It does not need any styling, just a unique id.

    My suggestion:

    <div class="cookie-notice-container">
      <span id="cn-notice-icon"></span> <-- Add this please!
      <span id="cn-notice-text"></span>
      <span id="cn-notice-buttons"></span>
    </div>

    This way I can use custom CSS to style the icon without forking your plugin.

    For users, who do not want any icon, the cookie notice does not change visually.

    #40101
    BugMeNot
    Participant

    Hey, anyone doin’ support here!?

    #40270
    BugMeNot
    Participant

    HELLOOO? Anyone? Is this a no-support support forum? *sigh*

    Above CSS hook would be greatly appreciated for improved customizability of the cookie notice.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.