# Custom CSS Settings

> Where to add custom CSS in MEC settings to restyle event pages and shortcodes, and how to find the right selectors with Inspect Element.

Source: https://webnus.net/dox/modern-events-calendar/custom-css-settings/
Last updated: 2026-11-18

On occasion, it may be necessary to incorporate custom CSS settings into individual event pages or shortcodes. There are several reasons for doing so. By entering the CSS code into the designated box, it will load in any location where the MEC scripts are loaded.

## Applying Custom CSS Settings {#Applying\_Custom\_CSS\_Settings}

This feature enables users to exercise greater control over the appearance of their event pages and shortcodes, thereby enhancing the overall user experience.

[Image: MEC Custom CSS settings with a custom styles field]

The styles box is a code editor with syntax highlighting and line numbers. If the editor is disabled on your site or its script is blocked, the box falls back to a plain text area and still works. This tab also has a **Search…** box at the top, like the other MEC settings tabs.

## Using Inspect Elements {#Using\_Inspect\_Elements}

For more information about CSS and inspecting elements, please see [how to use Inspect Element](https://webnus.net/dox/modern-events-calendar/inspect-element/).
