{"id":36068,"date":"2023-08-04T14:59:30","date_gmt":"2023-08-04T11:59:30","guid":{"rendered":"https:\/\/elementor.com\/help\/?p=36068"},"modified":"2024-01-14T14:51:12","modified_gmt":"2024-01-14T12:51:12","slug":"css-classes-in-elementor","status":"publish","type":"post","link":"https:\/\/elementor.com\/help\/css-classes-in-elementor\/","title":{"rendered":"CSS classes in Elementor"},"content":{"rendered":"\n<p>Classes let you combine several different elements so that you can apply one style to them without having to code every element separately.&nbsp;<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">How to create a simple CSS class<\/h2>\n\n\n\n<p>Elementor greatly simplifies creating CSS classes.<\/p>\n\n\n\n<p><strong>To add elements to a class:<\/strong><\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Select an element<\/li>\n\n\n\n<li>In the panel, open the <strong>Advanced<\/strong> tab.<br><a href=\"\/wp-content\/uploads\/2023\/05\/For-CSS-classes-article-the-advanced-tab.jpg\"><img fetchpriority=\"high\" decoding=\"async\" width=\"680\" height=\"276\" class=\"wp-image-36070\" style=\"width: 680px;\" src=\"https:\/\/elementor.com\/help\/wp-content\/uploads\/2023\/05\/For-CSS-classes-article-the-advanced-tab.jpg\" alt=\"\" srcset=\"https:\/\/elementor.com\/help\/wp-content\/uploads\/2023\/05\/For-CSS-classes-article-the-advanced-tab.jpg 1324w, https:\/\/elementor.com\/help\/wp-content\/uploads\/2023\/05\/For-CSS-classes-article-the-advanced-tab-300x122.jpg 300w, https:\/\/elementor.com\/help\/wp-content\/uploads\/2023\/05\/For-CSS-classes-article-the-advanced-tab-1024x415.jpg 1024w, https:\/\/elementor.com\/help\/wp-content\/uploads\/2023\/05\/For-CSS-classes-article-the-advanced-tab-768x311.jpg 768w\" sizes=\"(max-width: 680px) 100vw, 680px\" \/><\/a><\/li>\n\n\n\n<li>In the CSS Classes field, enter a CSS class name.&nbsp;<\/li>\n<\/ol>\n\n\n\n<p><strong>Note<\/strong>: When creating a class, do NOT add a period before the class name.<\/p>\n\n\n\n<ol class=\"wp-block-list\" start=\"4\">\n<li>Repeat for every element you want to include in the class.<\/li>\n<\/ol>\n\n\n\n<p class=\"callout-blue\"><strong>Example<\/strong>: Alex wants to create a site where every week they can change the color of select text. When building the site, Alex labels all the text elements they want to change with the CSS Class &#8211; \u201c<em>change-color\u201d<\/em>.&nbsp; In Site Settings, Alex adds the CSS:<br><code>.change-color {<br>&nbsp; &nbsp; color: green;<br>}<\/code><\/p>\n\n\n\n<p>Now, every time Alex wants to change the color of these elements, they just have to replace <em>green <\/em>with their selected color.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Related articles<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/elementor.com\/help\/custom-css-in-elementor\/\">Custom CSS in Elementor<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/elementor.com\/help\/how-to-add-custom-css\/\">How to add Custom CSS<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/elementor.com\/help\/css-selectors-in-elementor\">CSS selectors in Elementor<\/a><\/li>\n\n\n\n<li>CSS classes in Elementor<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Classes let you combine several different elements so that you can apply one style to them without having to code every element separately.&nbsp; How to create a simple CSS class Elementor greatly simplifies creating CSS classes. To add elements to a class: Note: When creating a class, do NOT add a period before the class [&hellip;]<\/p>\n","protected":false},"author":6,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_elementor_kustomer_id":["65a3d8c1a5c5d8b4390dc804"],"footnotes":""},"categories":[1440],"tags":[1389,1388,1390,1398,1235],"class_list":["post-36068","post","type-post","status-publish","format-standard","hentry","category-advanced-functionality","tag-advanced","tag-agency","tag-expert","tag-legacy-essential","tag-pro"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>CSS classes in Elementor | Elementor<\/title>\n<meta name=\"description\" content=\"Learn everything about CSS classes in Elementor in this article from Elementor&#039;s Knowledge Base. Get Elementor tips &amp; more.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/elementor.com\/help\/css-classes-in-elementor\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"CSS classes in Elementor | Elementor\" \/>\n<meta property=\"og:description\" content=\"Learn everything about CSS classes in Elementor in this article from Elementor&#039;s Knowledge Base. Get Elementor tips &amp; more.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/elementor.com\/help\/css-classes-in-elementor\/\" \/>\n<meta property=\"og:site_name\" content=\"Help\" \/>\n<meta property=\"article:published_time\" content=\"2023-08-04T11:59:30+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-01-14T12:51:12+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/elementor.com\/help\/wp-content\/uploads\/2023\/05\/For-CSS-classes-article-the-advanced-tab.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1324\" \/>\n\t<meta property=\"og:image:height\" content=\"537\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Cliff Churgin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Cliff Churgin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/elementor.com\/help\/css-classes-in-elementor\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/elementor.com\/help\/css-classes-in-elementor\/\"},\"author\":{\"name\":\"Cliff Churgin\",\"@id\":\"https:\/\/elementor.com\/help\/#\/schema\/person\/c45726ca48a077e09198d78da3bc94d3\"},\"headline\":\"CSS classes in Elementor\",\"datePublished\":\"2023-08-04T11:59:30+00:00\",\"dateModified\":\"2024-01-14T12:51:12+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/elementor.com\/help\/css-classes-in-elementor\/\"},\"wordCount\":180,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/elementor.com\/help\/#organization\"},\"image\":{\"@id\":\"https:\/\/elementor.com\/help\/css-classes-in-elementor\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/elementor.com\/help\/wp-content\/uploads\/2023\/05\/For-CSS-classes-article-the-advanced-tab.jpg\",\"keywords\":[\"Advanced\",\"Agency\",\"Expert\",\"Legacy Essential\",\"Pro\"],\"articleSection\":[\"Advanced functionality\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/elementor.com\/help\/css-classes-in-elementor\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/elementor.com\/help\/css-classes-in-elementor\/\",\"url\":\"https:\/\/elementor.com\/help\/css-classes-in-elementor\/\",\"name\":\"CSS classes in Elementor | Elementor\",\"isPartOf\":{\"@id\":\"https:\/\/elementor.com\/help\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/elementor.com\/help\/css-classes-in-elementor\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/elementor.com\/help\/css-classes-in-elementor\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/elementor.com\/help\/wp-content\/uploads\/2023\/05\/For-CSS-classes-article-the-advanced-tab.jpg\",\"datePublished\":\"2023-08-04T11:59:30+00:00\",\"dateModified\":\"2024-01-14T12:51:12+00:00\",\"description\":\"Learn everything about CSS classes in Elementor in this article from Elementor's Knowledge Base. Get Elementor tips & more.\",\"breadcrumb\":{\"@id\":\"https:\/\/elementor.com\/help\/css-classes-in-elementor\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/elementor.com\/help\/css-classes-in-elementor\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/elementor.com\/help\/css-classes-in-elementor\/#primaryimage\",\"url\":\"https:\/\/elementor.com\/help\/wp-content\/uploads\/2023\/05\/For-CSS-classes-article-the-advanced-tab.jpg\",\"contentUrl\":\"https:\/\/elementor.com\/help\/wp-content\/uploads\/2023\/05\/For-CSS-classes-article-the-advanced-tab.jpg\",\"width\":1324,\"height\":537},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/elementor.com\/help\/css-classes-in-elementor\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Help Center\",\"item\":\"https:\/\/elementor.com\/help\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Elementor Editor\",\"item\":\"https:\/\/elementor.com\/help\/elementor-editor\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Widgets\",\"item\":\"https:\/\/elementor.com\/help\/elementor-editor\/widgets\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Advanced functionality\",\"item\":\"https:\/\/elementor.com\/help\/elementor-editor\/widgets\/advanced-functionality\/\"},{\"@type\":\"ListItem\",\"position\":5,\"name\":\"CSS classes in Elementor\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/elementor.com\/help\/#website\",\"url\":\"https:\/\/elementor.com\/help\/\",\"name\":\"Elementor\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/elementor.com\/help\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/elementor.com\/help\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/elementor.com\/help\/#organization\",\"name\":\"Elementor\",\"url\":\"https:\/\/elementor.com\/help\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/elementor.com\/help\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/06\/images.png\",\"contentUrl\":\"https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/06\/images.png\",\"width\":225,\"height\":225,\"caption\":\"Elementor\"},\"image\":{\"@id\":\"https:\/\/elementor.com\/help\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/elementor.com\/help\/#\/schema\/person\/c45726ca48a077e09198d78da3bc94d3\",\"name\":\"Cliff Churgin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/elementor.com\/help\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/2957ab51166ce1ab4527af621d95bed3b7002ffaed172a69d8d0fb052d28c700?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/2957ab51166ce1ab4527af621d95bed3b7002ffaed172a69d8d0fb052d28c700?s=96&d=mm&r=g\",\"caption\":\"Cliff Churgin\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"CSS classes in Elementor | Elementor","description":"Learn everything about CSS classes in Elementor in this article from Elementor's Knowledge Base. Get Elementor tips & more.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/elementor.com\/help\/css-classes-in-elementor\/","og_locale":"en_US","og_type":"article","og_title":"CSS classes in Elementor | Elementor","og_description":"Learn everything about CSS classes in Elementor in this article from Elementor's Knowledge Base. Get Elementor tips & more.","og_url":"https:\/\/elementor.com\/help\/css-classes-in-elementor\/","og_site_name":"Help","article_published_time":"2023-08-04T11:59:30+00:00","article_modified_time":"2024-01-14T12:51:12+00:00","og_image":[{"width":1324,"height":537,"url":"https:\/\/elementor.com\/help\/wp-content\/uploads\/2023\/05\/For-CSS-classes-article-the-advanced-tab.jpg","type":"image\/jpeg"}],"author":"Cliff Churgin","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Cliff Churgin","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/elementor.com\/help\/css-classes-in-elementor\/#article","isPartOf":{"@id":"https:\/\/elementor.com\/help\/css-classes-in-elementor\/"},"author":{"name":"Cliff Churgin","@id":"https:\/\/elementor.com\/help\/#\/schema\/person\/c45726ca48a077e09198d78da3bc94d3"},"headline":"CSS classes in Elementor","datePublished":"2023-08-04T11:59:30+00:00","dateModified":"2024-01-14T12:51:12+00:00","mainEntityOfPage":{"@id":"https:\/\/elementor.com\/help\/css-classes-in-elementor\/"},"wordCount":180,"commentCount":0,"publisher":{"@id":"https:\/\/elementor.com\/help\/#organization"},"image":{"@id":"https:\/\/elementor.com\/help\/css-classes-in-elementor\/#primaryimage"},"thumbnailUrl":"https:\/\/elementor.com\/help\/wp-content\/uploads\/2023\/05\/For-CSS-classes-article-the-advanced-tab.jpg","keywords":["Advanced","Agency","Expert","Legacy Essential","Pro"],"articleSection":["Advanced functionality"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/elementor.com\/help\/css-classes-in-elementor\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/elementor.com\/help\/css-classes-in-elementor\/","url":"https:\/\/elementor.com\/help\/css-classes-in-elementor\/","name":"CSS classes in Elementor | Elementor","isPartOf":{"@id":"https:\/\/elementor.com\/help\/#website"},"primaryImageOfPage":{"@id":"https:\/\/elementor.com\/help\/css-classes-in-elementor\/#primaryimage"},"image":{"@id":"https:\/\/elementor.com\/help\/css-classes-in-elementor\/#primaryimage"},"thumbnailUrl":"https:\/\/elementor.com\/help\/wp-content\/uploads\/2023\/05\/For-CSS-classes-article-the-advanced-tab.jpg","datePublished":"2023-08-04T11:59:30+00:00","dateModified":"2024-01-14T12:51:12+00:00","description":"Learn everything about CSS classes in Elementor in this article from Elementor's Knowledge Base. Get Elementor tips & more.","breadcrumb":{"@id":"https:\/\/elementor.com\/help\/css-classes-in-elementor\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/elementor.com\/help\/css-classes-in-elementor\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/elementor.com\/help\/css-classes-in-elementor\/#primaryimage","url":"https:\/\/elementor.com\/help\/wp-content\/uploads\/2023\/05\/For-CSS-classes-article-the-advanced-tab.jpg","contentUrl":"https:\/\/elementor.com\/help\/wp-content\/uploads\/2023\/05\/For-CSS-classes-article-the-advanced-tab.jpg","width":1324,"height":537},{"@type":"BreadcrumbList","@id":"https:\/\/elementor.com\/help\/css-classes-in-elementor\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Help Center","item":"https:\/\/elementor.com\/help\/"},{"@type":"ListItem","position":2,"name":"Elementor Editor","item":"https:\/\/elementor.com\/help\/elementor-editor\/"},{"@type":"ListItem","position":3,"name":"Widgets","item":"https:\/\/elementor.com\/help\/elementor-editor\/widgets\/"},{"@type":"ListItem","position":4,"name":"Advanced functionality","item":"https:\/\/elementor.com\/help\/elementor-editor\/widgets\/advanced-functionality\/"},{"@type":"ListItem","position":5,"name":"CSS classes in Elementor"}]},{"@type":"WebSite","@id":"https:\/\/elementor.com\/help\/#website","url":"https:\/\/elementor.com\/help\/","name":"Elementor","description":"","publisher":{"@id":"https:\/\/elementor.com\/help\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/elementor.com\/help\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/elementor.com\/help\/#organization","name":"Elementor","url":"https:\/\/elementor.com\/help\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/elementor.com\/help\/#\/schema\/logo\/image\/","url":"https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/06\/images.png","contentUrl":"https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/06\/images.png","width":225,"height":225,"caption":"Elementor"},"image":{"@id":"https:\/\/elementor.com\/help\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/elementor.com\/help\/#\/schema\/person\/c45726ca48a077e09198d78da3bc94d3","name":"Cliff Churgin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/elementor.com\/help\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/2957ab51166ce1ab4527af621d95bed3b7002ffaed172a69d8d0fb052d28c700?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/2957ab51166ce1ab4527af621d95bed3b7002ffaed172a69d8d0fb052d28c700?s=96&d=mm&r=g","caption":"Cliff Churgin"}}]}},"_links":{"self":[{"href":"https:\/\/elementor.com\/help\/wp-json\/wp\/v2\/posts\/36068","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/elementor.com\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/elementor.com\/help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/elementor.com\/help\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/elementor.com\/help\/wp-json\/wp\/v2\/comments?post=36068"}],"version-history":[{"count":4,"href":"https:\/\/elementor.com\/help\/wp-json\/wp\/v2\/posts\/36068\/revisions"}],"predecessor-version":[{"id":43121,"href":"https:\/\/elementor.com\/help\/wp-json\/wp\/v2\/posts\/36068\/revisions\/43121"}],"wp:attachment":[{"href":"https:\/\/elementor.com\/help\/wp-json\/wp\/v2\/media?parent=36068"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/elementor.com\/help\/wp-json\/wp\/v2\/categories?post=36068"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/elementor.com\/help\/wp-json\/wp\/v2\/tags?post=36068"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}