> For the complete documentation index, see [llms.txt](https://developers.weglot.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developers.weglot.com/wordpress/helpers-functions-1/weglot_css_custom_inline.md).

# weglot\_css\_custom\_inline

Append your own CSS rules to the switcher without going through the settings page.

```php
add_filter( 'weglot_css_custom_inline', 'custom_weglot_css_custom_inline' );
function custom_weglot_css_custom_inline( $css ) {
    $css .= '.country-selector { background: #000; }';
    return $css;
}
```
