Make the colors and fonts you saved show on your WordPress website
The color and font fields in TermsFeed AutoTerms style the Cookie Notice, Update Notices, Links to Legal Pages, and Endorsements kits. An empty field leaves your theme style in place.
Right-click the bar, the footer legal links, or the disclaimer and select Inspect. The Styles panel of the Elements tab shows the rule that sets each color and font. Look up the selectors of each compliance kit except Cookie Consent in TermsFeed AutoTerms CSS Classes and Containers.
Cause 1: The color is not a hex code
The plugin saves a color only as a hex code, #rgb or #rrggbb, and saves any other value as an empty field with no message. A color name such as red, an rgb() value, or a hex code with transparency such as #ff000080 ends up empty, and the kit shows your theme color.
- Pick the color with the color picker of the field, which writes a hex code, or type a hex code such as
#1a54a9. - Click the "Save Changes" button, reload the screen to confirm that the field still holds the value, and clear the page cache.
Cause 2: A theme CSS rule takes precedence over the kit style
A rule in the theme stylesheet that targets the same element with an equal or more specific selector, or with !important, takes precedence over the kit style. On the Endorsements box, only a more specific theme rule, or one with !important, takes precedence. Themes often style every link in the footer, which overrides the "Links color" field in the Links to Legal Pages kit.
The Styles panel shows the kit declaration struck through, under the theme rule. Override the theme rule from the kit itself, with the class the kit prints and !important. This rule overrides the theme color of the footer legal links.
.wpautoterms-footer a {
color: #1a54a9 !important;
}
- Paste the rule into the "Additional CSS" field of the kit and click the "Save Changes" button.
- Clear the page cache.
- Reload the page and confirm in the Styles panel that your rule sets the color.
Cause 3: The field styles a different kit or element
Each compliance kit has its own color and font fields, so a value set on one kit leaves the others unchanged. The footer legal links come from Links to Legal Pages, the bars from Cookie Notice or Update Notices, and the disclaimer box from Endorsements. On the Links to Legal Pages screen, "Text color" sets the separator between the links, and "Links color" sets the links.
- Open the settings screen for the kit that prints the element.
- Set the field that styles that part, such as "Links color" for the footer legal links.
- Click the "Save Changes" button and clear the page cache.
The Cookie Consent kit has no field for a custom color: its consent banner follows "Color palette" and the Additional CSS on its Customization tab. Choose the palette and the consent banner CSS with Customize the WordPress Cookie Banner.
Cause 4: The Additional CSS was not saved for lack of unfiltered_html
The plugin keeps the stored Additional CSS for an account without the WordPress unfiltered_html capability, so your new CSS never reaches the page. The field holds the old CSS after a reload, and the screen shows this message after the save.
"Your account is not allowed to add JavaScript or CSS code (the "unfiltered_html" capability is required), so the previous code was kept."
Ask a user with unfiltered_html to save the CSS. Find the steps for each kind of account in Code or HTML Not Saving in WordPress.
Cause 5: A cache serves the old style
A page cache, or a page speed plugin that moves inline CSS into a file, keeps serving the style from before your change.
Close every private window, open a new one, and load the page with ?nocache=1 added to the address, then the plain address. The new style on the first address and the old style on the plain address point to a cache. A cache or content delivery network (CDN) that ignores query strings shows the old style on both addresses.
- Purge the page cache of the caching plugin, the host, and the CDN.
- Clear the CSS cache of the page speed plugin where it combines inline styles.
- Close every private window, open a new one, and load the plain address.
How to verify that the colors and fonts apply
For Endorsements, test on a single blog post. For Update Notices, test after a recent legal page edit.
- Reload the kit screen and confirm that each color field holds a hex code.
- Clear the page cache, close every private window, open a new one, and load a page of your WordPress website that shows the element.
- Right-click the element, select Inspect, and confirm in the Styles panel that the kit rule matches the saved value and has no line through it.
- Confirm that the color and the font on screen match the saved values.