# RW8 Privacy Notice custom CSS

**URL:** <https://forums.realmacsoftware.com/t/rw8-privacy-notice-custom-css/21537>\
**Category:** RapidWeaver Classic\
**Created:** [August 16, 2018, 12:53pm UTC](https://forums.realmacsoftware.com/t/rw8-privacy-notice-custom-css/21537 "2018-08-16T12:53:45Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![GaryW17](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/garyw17/32/16342_2.png) [@GaryW17](https://forums.realmacsoftware.com/u/GaryW17)\
**Post date:** [August 16, 2018, 12:53pm UTC](https://forums.realmacsoftware.com/t/rw8-privacy-notice-custom-css/21537/1 "2018-08-16T12:53:45Z")

</div>

I’ve been playing with some of the nice new features of RW8 - and was trying to customize the look of the new Privacy Notice. If I apply custom CSS to a particular page it works fine: the changes are implemented on the look of the Privacy Notice on that page, but if I move the same edits to the CSS section of the global code on my project then it doesn’t work: no changes are implemented on the look of the Privacy Notice on any page.

Is there a way to apply these CSS changes globally instead of copying the code to every page on the project?

Thanks,  
Gary

---

<div class="post-metadata">

**Author:** ![el\_mourabbi](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/el_mourabbi/32/582_2.png) [@el\_mourabbi](https://forums.realmacsoftware.com/u/el_mourabbi)\
**Post date:** [August 17, 2018, 9:53am UTC](https://forums.realmacsoftware.com/t/rw8-privacy-notice-custom-css/21537/2 "2018-08-17T09:53:32Z")

</div>

It appears that the global CSS is inserted _before_ the privacy notice CSS and thus overruled. I can think of two workarounds for now:

add `!important` to every declaration:  
`#rapidweaver_privacy_message {`  
`background-color: #FF2600 !important;`  
`}`

or add `body` before every selector:  
`body #rapidweaver_privacy_message {`  
`background-color: #FF2600;`  
`}`

@dan: you may want to change the order of this CSS in a future update.

---

<div class="post-metadata">

**Author:** ![GaryW17](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/garyw17/32/16342_2.png) [@GaryW17](https://forums.realmacsoftware.com/u/GaryW17)\
**Post date:** [August 17, 2018, 10:02am UTC](https://forums.realmacsoftware.com/t/rw8-privacy-notice-custom-css/21537/3 "2018-08-17T10:02:26Z")

</div>

> [@el\_mourabbi](#):
>
> It appears that the global CSS is inserted _before_ the privacy notice CSS and thus overruled.

Awesome - thanks Jeroen. I appreciate your help.  
Gary

---

<div class="post-metadata">

**Author:** ![dan](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/dan/32/28516_2.png) [@dan](https://forums.realmacsoftware.com/u/dan)\
**Post date:** [August 17, 2018, 10:28am UTC](https://forums.realmacsoftware.com/t/rw8-privacy-notice-custom-css/21537/4 "2018-08-17T10:28:41Z")

</div>

> [@el\_mourabbi](#):
>
> @dan: you may want to change the order of this CSS in a future update.

Good catch, we’ll switch that!

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/system/32/25301_2.png) [@system](https://forums.realmacsoftware.com/u/system)\
**Post date:** [September 16, 2018, 8:30pm UTC](https://forums.realmacsoftware.com/t/rw8-privacy-notice-custom-css/21537/5 "2018-09-16T20:30:49Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
