RW8 Privacy Notice custom CSS


(Gary White) #1

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


(Jeroen Roos) #2

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.


(Gary White) #3

Awesome - thanks Jeroen. I appreciate your help.
Gary


(Dan) #4

Good catch, we’ll switch that!


(system) #5

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