Aegisify company logo

We're Here to Help

Resources & Help Center

Search our knowledge base, view documentation, or get support. Everything you need in one place.

How do I configure CSP style sources in Aegisify Shield?

Style sources (style-src) controls where CSS stylesheets may load from. In Aegisify Shield → Security Headers → CSP Builder → Style sources (Pro), you list the hosts your theme and plugins need.

How to fill it in

  • Enter one source per line, for example https://fonts.googleapis.com for Google Fonts stylesheets.
  • Your own site is always included.
  • Start in Report-Only mode.

Inline styles

Many WordPress themes and page builders add inline style attributes or <style> blocks. Allow inline styles adds 'unsafe-inline' for styles. It is off by default; enable it only if testing shows your theme or builder needs it. Shield warns you while it is on with an enforced directive.

Inline styles are lower risk than inline scripts, but they can still be abused to change how a page looks or to leak data in some cases.

Testing tips

  • Check the front end and any custom areas, such as checkout or a course page.
  • Look for missing styling (unstyled buttons or layouts) after enabling enforcement.
  • Use the CSP Reports table to find blocked stylesheet URLs.

Fonts are separate

Font files are controlled by Font sources. Google Fonts needs both fonts.googleapis.com (style) and fonts.gstatic.com (font).

Related: Allow inline CSS, CSP Builder mode.

2026-12-01T03:49:24+00:00January 13th, 2026||

Find this article interesting, please share.