Title: CSS
Last modified: November 20, 2023

---

# CSS

 *  Resolved [maraltto](https://wordpress.org/support/users/maraltto/)
 * (@maraltto)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/css-240/)
 * Hi,
 * please let me know how to add custom css in order to remove or style some of 
   the elements – I know there is the custom css section in the customizer under
   the Cookie Banner section, but since you are removing all class names for adblockers
   I don’t understand how to address a specific selector.

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

 *  Plugin Contributor [Matthias Günter](https://wordpress.org/support/users/mguenter/)
 * (@mguenter)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/css-240/#post-17215842)
 * Hey [@maraltto](https://wordpress.org/support/users/maraltto/)!
 * Please inspect the DOM while you are in the customizer and there you will find
   the CSS classes which are exposed to the DOM elements of the cookie banner. You
   can use those class names starting with `rcb-`. 🙂
 *  Thread Starter [maraltto](https://wordpress.org/support/users/maraltto/)
 * (@maraltto)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/css-240/#post-17217231)
 * [@mguenter](https://wordpress.org/support/users/mguenter/) thanks, but they don’t
   have any classes – they are all removed due to the adblocker technique you are
   using! They only have classes like a7bce-ext-0-219 which change every time you
   load the page…
 *  Plugin Contributor [Matthias Günter](https://wordpress.org/support/users/mguenter/)
 * (@mguenter)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/css-240/#post-17217395)
 * Hi again!
 * Please see this screenshot: [https://i.imgur.com/qUt6o40.png](https://i.imgur.com/qUt6o40.png)
 *  Thread Starter [maraltto](https://wordpress.org/support/users/maraltto/)
 * (@maraltto)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/css-240/#post-17217687)
 * Sorry but I don’t understand…
 *  Thread Starter [maraltto](https://wordpress.org/support/users/maraltto/)
 * (@maraltto)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/css-240/#post-17218299)
 * I am not taling abot a button, but also paragraphs for exampe, and these don’t
   have additional rcb-classes. And the a7bce-ext-0-219 would be a different class
   next time when viewing the page due to your adblocker technique.
 *  Plugin Contributor [Matthias Günter](https://wordpress.org/support/users/mguenter/)
 * (@mguenter)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/css-240/#post-17218588)
 * Can you please show in a screenshot which paragraph you mean exactly? Please 
   keep in mind that you need to inspect the DOM elements in the WordPress customizer
   to get the classnames.
 *  Thread Starter [maraltto](https://wordpress.org/support/users/maraltto/)
 * (@maraltto)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/css-240/#post-17219051)
 * For example [this](https://i.postimg.cc/ZKNdL5ZQ/Screenshot-245.png). By the 
   way, when you are in the customizer and access the cookie banner section, only
   on some pages the banner is displayed. For example, I set up a completely new
   site with standard 2024 theme and when I go to the customizer and to cookie banner
   section, the banner is not visible – but on the live page it is.
 *  Plugin Contributor [Matthias Günter](https://wordpress.org/support/users/mguenter/)
 * (@mguenter)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/css-240/#post-17220549)
 * Ok, I see you want to style the `p` but it does not have a class currently. For
   this case you need to use the `[first-of-type](https://developer.mozilla.org/en-US/docs/Web/CSS/:first-of-type?retiredLocale=de)`
   CSS selector: [https://i.imgur.com/SxHFL9B.png](https://i.imgur.com/SxHFL9B.png)

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

The topic ‘CSS’ is closed to new replies.

 * ![](https://ps.w.org/real-cookie-banner/assets/icon-256x256.png?rev=2419813)
 * [Real Cookie Banner: GDPR & ePrivacy Cookie Consent](https://wordpress.org/plugins/real-cookie-banner/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/real-cookie-banner/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/real-cookie-banner/)
 * [Active Topics](https://wordpress.org/support/plugin/real-cookie-banner/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/real-cookie-banner/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/real-cookie-banner/reviews/)

 * 8 replies
 * 2 participants
 * Last reply from: [Matthias Günter](https://wordpress.org/support/users/mguenter/)
 * Last activity: [2 years, 6 months ago](https://wordpress.org/support/topic/css-240/#post-17220549)
 * Status: resolved