---
title: How to Add Custom CSS Classes
description: "This guide will help you add custom CSS classes to your slideshow. There is a \"CSS Classes\" feature in MetaSlider that allows you to add a custom class to your slideshow's main div. This is where the id *metaslider-id-* is…"
url: "https://www.metaslider.com/docs/how-to-add-custom-css-classes/"
updated: "2024-12-04"
category: "Slideshow: Themes"
---

# How to Add Custom CSS Classes

This guide will help you add custom CSS classes to your slideshow.

There is a "CSS Classes" feature in MetaSlider that allows you to add a custom class to your slideshow's main div. This is where the id *metaslider-id-<number>* is outputted, as in this screenshot:

![Adding a CSS class to a slideshow](https://www.metaslider.com/wp-content/uploads/2024/12/step1.png)

Edit your slideshow and go to Developer Options > CSS Classes. Type your custom class into this field. If you add more than one class, separate each one with an empty space.

![](https://www.metaslider.com/wp-content/uploads/2024/12/Screenshot-2024-12-04-at-8.58.01 a.m.png)

Save the slideshow changes and check your site's frontend. You will find that the new class is outputted in the code. Now [you can add custom CSS](https://www.metaslider.com/docs/custom-css/) using the custom class in your CSS selectors.

![](https://www.metaslider.com/wp-content/uploads/2024/12/Screenshot-2024-12-04-at-9.00.15 a.m.png)
