• Resolved Jaiji

    (@jaiji)


    Hi, I’m having trouble overriding the cookie banner CSS. I want to remove all borders from the buttons, but there is some CSS (inline) which I’m unable to override in my child theme CSS:

    #seopress-user-consent-close { border: 2px solid #d1d5db !important; background: #000000; color: #ffffff; }

    It seems to have picked up the background and color I chose in the SEOPress analytics settings, but I can’t change or remove the border, even if I use !important, no border properties have any effect.

    This site is still local so I can’t share a link at this point, and I have the same issue on another site too (still in development and not yet public). The issue should be replicable though.



Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Benjamin Denis

    (@rainbowgeek)

    Hi,

    try to write your CSS like this to fix this:

    body #seopress-user-consent-close { your properties here;}

    Thread Starter Jaiji

    (@jaiji)

    Thank you, all good.

Viewing 2 replies - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.