---
id: gk-gravityview-theme-custom-css
title: "Filter - gk/gravityview/theme/custom-css"
sidebar_label: "gk/gravityview/theme/custom-css"
---

# Filter: gk/gravityview/theme/custom-css

Filters the scoped Custom CSS emitted for a themed View.

Runs after placeholder resolution, sanitization, and per-selector scoping, immediately before the CSS is attached to the `gv-theme` handle.

## Parameters

| Name | Type | Description |
|------|------|-------------|
| $custom_css | `string` | The scoped Custom CSS. |
| $view | <a href="../../../gravityview-featured-entries/api/classes/gv-view">\GV\View</a> | The View being rendered. |

### Since

- TBD: TBD

### Source

Defined in `src/Frontend/Frontend.php` at line 2313

