{"id":57380,"date":"2025-05-19T15:53:36","date_gmt":"2025-05-19T12:53:36","guid":{"rendered":"https:\/\/elementor.com\/help\/?p=57380"},"modified":"2025-05-19T15:53:36","modified_gmt":"2025-05-19T12:53:36","slug":"classes-in-elementor","status":"publish","type":"post","link":"https:\/\/elementor.com\/help\/classes-in-elementor\/","title":{"rendered":"Classes in Elementor"},"content":{"rendered":"\n<p>The Elementor Editor is designed to help web creators work quickly and efficiently. As part of that mission, the Editor adopts the principles of Atomic Design. This system is based on the idea of creating small, reusable elements. In Elementor, these elements are called classes. This is in line with the vocabulary used by CSS.<\/p>\n\n\n\n<p>As an extra benefit, proper use of classes can also improve your website\u2019s performance.&nbsp;<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Creating a class<\/h2>\n\n\n\n<p>Creating classes done automatically. You do it every time you add an <a href=\"https:\/\/elementor.com\/help\/add-elements-to-a-page\/\">element to the canvas<\/a>. When you add an element to the canvas, the element options appear in the left panel. At the top of the <strong>Style<\/strong> tab, you\u2019ll see the <strong>Class<\/strong> field with the class <strong>local<\/strong> already filled in. You can now add new classes to the element by following this process:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Enter a class name in the text box.<br>A dropdown menu appears.<br><img fetchpriority=\"high\" decoding=\"async\" width=\"580\" height=\"296\" class=\"wp-image-57382\" style=\"width: 580px;\" src=\"https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/05\/1-create-a-new-class-1.png\" alt=\"\" srcset=\"https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/05\/1-create-a-new-class-1.png 1468w, https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/05\/1-create-a-new-class-1-300x153.png 300w, https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/05\/1-create-a-new-class-1-1024x522.png 1024w, https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/05\/1-create-a-new-class-1-768x391.png 768w\" sizes=\"(max-width: 580px) 100vw, 580px\" \/><\/li>\n\n\n\n<li>Select&nbsp; the class name under <strong>Add New Global Class<\/strong>.&nbsp;<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\">Editing a class<\/h2>\n\n\n\n<p>After you create a class, you need to edit it to establish its properties.<\/p>\n\n\n\n<p><strong>To edit a class<\/strong>:&nbsp;<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Create the class.<br><img decoding=\"async\" width=\"680\" height=\"350\" class=\"wp-image-57383\" style=\"width: 680px;\" src=\"https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/05\/image.png\" alt=\"\" srcset=\"https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/05\/image.png 1600w, https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/05\/image-300x155.png 300w, https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/05\/image-1024x527.png 1024w, https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/05\/image-768x396.png 768w, https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/05\/image-1536x791.png 1536w\" sizes=\"(max-width: 680px) 100vw, 680px\" \/><\/li>\n\n\n\n<li>Check the CSS classes field. The class you\u2019re editing will be pink if it\u2019s a local class. Otherwise it will be green. When the class is pink or green, you\u2019re editing that class.<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\">What is a class?<\/h2>\n\n\n\n<p>A class is basically a collection of shared style characteristics. For instance, if you\u2019re building a website and you want the standard text across the site to use Arial 12 point font, you can create a class called <strong>Main text<\/strong> with these characteristics. That way, every element that had the class <strong>Main text<\/strong>, would use Arial 12 point as their font.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">The local class<\/h3>\n\n\n\n<p>In Elementor, every element has at least one class &#8211; the <strong>local<\/strong> class. This class defines the particular element that you\u2019re working with. It\u2019s important to note that even though all elements have a local class, the <strong>local<\/strong> class can be different for each element. For instance, you can have one Text widget that uses Arial font in its <strong>local<\/strong> class and another Text widget that uses Calibri in its <strong>local<\/strong> class.&nbsp;<br><img decoding=\"async\" width=\"280\" height=\"188\" class=\"wp-image-57385\" style=\"width: 280px;\" src=\"https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/05\/1-the-local-class.png\" alt=\"\"><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Class hierarchy<\/h3>\n\n\n\n<p>The other important thing to note about classes, is that they work by hierarchies. f classes contradict one another, the Editor knows what characteristics have priority. For instance, if an element contains two classes, one that sets the font to Arial and another that sets the class to Calibri, the editor needs to determine which gets priority. This priority is set in the class manager. However the local class always has top priority. So, in the above case, if the <strong>local<\/strong> class set the font to New Time Roman, the element would use New Times Roman font.<\/p>\n\n\n\n<p>[callout type=&#8221;tip&#8221;]It\u2019s best to build your classes so there are as few of these conflicts as possible. These conflicts can not only waste your time, they can also slow down your site.&nbsp;[\/callout]<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Example of building classes<\/h2>\n\n\n\n<p>In this example, we\u2019ll look at building a website that will include several buttons. In order to save time and boost performance, we\u2019ll create two classes &#8211; one to define important buttons and another to define secondary buttons.&nbsp;<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Create a page in the Elementor Editor.<\/li>\n\n\n\n<li>Drag a <strong>Button widget<\/strong> to the canvas.<br><img loading=\"lazy\" decoding=\"async\" width=\"680\" height=\"166\" class=\"wp-image-57386\" style=\"width: 680px;\" src=\"https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/05\/3-The-options-appear-in-the-panel.png\" alt=\"\" srcset=\"https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/05\/3-The-options-appear-in-the-panel.png 1342w, https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/05\/3-The-options-appear-in-the-panel-300x73.png 300w, https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/05\/3-The-options-appear-in-the-panel-1024x250.png 1024w, https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/05\/3-The-options-appear-in-the-panel-768x188.png 768w\" sizes=\"(max-width: 680px) 100vw, 680px\" \/><br>The options appear in the panel.<br><img loading=\"lazy\" decoding=\"async\" width=\"680\" height=\"166\" class=\"wp-image-57387\" style=\"width: 680px;\" src=\"https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/05\/Click-the-Style-tab-2.png\" alt=\"\" srcset=\"https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/05\/Click-the-Style-tab-2.png 1342w, https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/05\/Click-the-Style-tab-2-300x73.png 300w, https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/05\/Click-the-Style-tab-2-1024x250.png 1024w, https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/05\/Click-the-Style-tab-2-768x188.png 768w\" sizes=\"(max-width: 680px) 100vw, 680px\" \/><\/li>\n\n\n\n<li>In the panel, click the <strong>Style<\/strong> tab.<br><img loading=\"lazy\" decoding=\"async\" width=\"150\" height=\"175\" class=\"wp-image-57389\" style=\"width: 150px;\" src=\"https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/05\/5-creatht-emain-button-class.png\" alt=\"\" srcset=\"https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/05\/5-creatht-emain-button-class.png 270w, https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/05\/5-creatht-emain-button-class-257x300.png 257w\" sizes=\"(max-width: 150px) 100vw, 150px\" \/><\/li>\n\n\n\n<li>In the<strong> Classes<\/strong> text box, next to <strong>local<\/strong>, enter <strong>Main_button<\/strong>.<\/li>\n\n\n\n<li>In the dropdown menu, select <strong>Create new \u201cMain_button\u201d<\/strong>.<br><strong>Main button<\/strong> appears in the<strong> Classes<\/strong> text box.&nbsp;<br><img loading=\"lazy\" decoding=\"async\" width=\"280\" height=\"239\" class=\"wp-image-57390\" style=\"width: 280px;\" src=\"https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/05\/6-Main-button-is-in-green.png\" alt=\"\"><br>Note that the text <strong>Main_button<\/strong> is in green. That means you\u2019re editing that class.<br><img loading=\"lazy\" decoding=\"async\" width=\"280\" height=\"383\" class=\"wp-image-57391\" style=\"width: 280px;\" src=\"https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/05\/7-open-the-size-field.png\" alt=\"\" srcset=\"https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/05\/7-open-the-size-field.png 268w, https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/05\/7-open-the-size-field-219x300.png 219w\" sizes=\"(max-width: 280px) 100vw, 280px\" \/><\/li>\n\n\n\n<li>Open the <strong>Size<\/strong> field.<br><img loading=\"lazy\" decoding=\"async\" width=\"680\" height=\"289\" class=\"wp-image-57393\" style=\"width: 680px;\" src=\"https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/05\/8-Set-the-size.png\" alt=\"\" srcset=\"https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/05\/8-Set-the-size.png 1342w, https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/05\/8-Set-the-size-300x127.png 300w, https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/05\/8-Set-the-size-1024x435.png 1024w, https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/05\/8-Set-the-size-768x326.png 768w\" sizes=\"(max-width: 680px) 100vw, 680px\" \/><\/li>\n\n\n\n<li>Give the button a width of 200 PX and a Height of 50 PX.&nbsp;<br><img loading=\"lazy\" decoding=\"async\" width=\"280\" height=\"523\" class=\"wp-image-57394\" style=\"width: 280px;\" src=\"https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/05\/9-open-background.png\" alt=\"\" srcset=\"https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/05\/9-open-background.png 268w, https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/05\/9-open-background-160x300.png 160w\" sizes=\"(max-width: 280px) 100vw, 280px\" \/><\/li>\n\n\n\n<li>Open the <strong>Background<\/strong> field.<br><img loading=\"lazy\" decoding=\"async\" width=\"380\" height=\"468\" class=\"wp-image-57395\" style=\"width: 380px;\" src=\"https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/05\/10-Choose-a-background-color.png\" alt=\"\" srcset=\"https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/05\/10-Choose-a-background-color.png 693w, https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/05\/10-Choose-a-background-color-244x300.png 244w\" sizes=\"(max-width: 380px) 100vw, 380px\" \/><\/li>\n\n\n\n<li>Select a color for the button. For details, see <a href=\"https:\/\/elementor.com\/help\/style-tab-background\">Style tab &#8211; Background<\/a>.\u00a0<br>Now let\u2019s create a class for secondary buttons.<br><img loading=\"lazy\" decoding=\"async\" width=\"680\" height=\"142\" class=\"wp-image-57396\" style=\"width: 680px;\" src=\"https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/05\/11-delete-main-button-class.png\" alt=\"\" srcset=\"https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/05\/11-delete-main-button-class.png 1344w, https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/05\/11-delete-main-button-class-300x63.png 300w, https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/05\/11-delete-main-button-class-1024x213.png 1024w, https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/05\/11-delete-main-button-class-768x160.png 768w\" sizes=\"(max-width: 680px) 100vw, 680px\" \/><\/li>\n\n\n\n<li>In the<strong> Classes<\/strong> text box, delete <strong>Main_button<\/strong>.<br>Note that the button returns to its default settings.<br><img loading=\"lazy\" decoding=\"async\" width=\"280\" height=\"314\" class=\"wp-image-57397\" style=\"width: 280px;\" src=\"https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/05\/12-create-secondary-button.png\" alt=\"\"><\/li>\n\n\n\n<li>In the<strong> Classes<\/strong> text box, enter <strong>Secondary_button<\/strong>.<\/li>\n\n\n\n<li>In the dropdown menu, select <strong>Create new \u201cSecondary_button\u201d<\/strong>.<br>Note the text is in green meaning you\u2019re editing the class.<br><img loading=\"lazy\" decoding=\"async\" width=\"280\" height=\"385\" class=\"wp-image-57398\" style=\"width: 280px;\" src=\"https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/05\/13-Open-the-size-field-for-secondary.png\" alt=\"\" srcset=\"https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/05\/13-Open-the-size-field-for-secondary.png 266w, https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/05\/13-Open-the-size-field-for-secondary-218x300.png 218w\" sizes=\"(max-width: 280px) 100vw, 280px\" \/><\/li>\n\n\n\n<li>Open the <strong>Size<\/strong> field.<br><img loading=\"lazy\" decoding=\"async\" width=\"580\" height=\"409\" class=\"wp-image-57402\" style=\"width: 580px;\" src=\"https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/05\/14-Set-the-secondary-size-1.png\" alt=\"\" srcset=\"https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/05\/14-Set-the-secondary-size-1.png 869w, https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/05\/14-Set-the-secondary-size-1-300x212.png 300w, https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/05\/14-Set-the-secondary-size-1-768x542.png 768w\" sizes=\"(max-width: 580px) 100vw, 580px\" \/><\/li>\n\n\n\n<li>Give the button a width of 100 PX and a Height of 50 PX.&nbsp;<br><img loading=\"lazy\" decoding=\"async\" width=\"280\" height=\"618\" class=\"wp-image-57400\" style=\"width: 280px;\" src=\"https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/05\/15-open-typography.png\" alt=\"\" srcset=\"https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/05\/15-open-typography.png 266w, https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/05\/15-open-typography-136x300.png 136w\" sizes=\"(max-width: 280px) 100vw, 280px\" \/><\/li>\n\n\n\n<li>&nbsp;Open the <strong>Typography<\/strong> field.<br><img loading=\"lazy\" decoding=\"async\" width=\"580\" height=\"483\" class=\"wp-image-57403\" style=\"width: 580px;\" src=\"https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/05\/16-change-the-typography.png\" alt=\"\" srcset=\"https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/05\/16-change-the-typography.png 942w, https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/05\/16-change-the-typography-300x250.png 300w, https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/05\/16-change-the-typography-768x639.png 768w\" sizes=\"(max-width: 580px) 100vw, 580px\" \/><\/li>\n\n\n\n<li>Set the <strong>Font Size<\/strong> to 12.&nbsp;<\/li>\n\n\n\n<li>Open the <strong>Background<\/strong> field.<br><img loading=\"lazy\" decoding=\"async\" width=\"380\" height=\"385\" class=\"wp-image-57404\" style=\"width: 380px;\" src=\"https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/05\/18-change-background-secondary.png\" alt=\"\" srcset=\"https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/05\/18-change-background-secondary.png 844w, https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/05\/18-change-background-secondary-296x300.png 296w, https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/05\/18-change-background-secondary-768x777.png 768w\" sizes=\"(max-width: 380px) 100vw, 380px\" \/><\/li>\n\n\n\n<li>Select a color for the background. Make sure it\u2019s different than the <strong>Main_button<\/strong> background.<br>Now test the results.<\/li>\n\n\n\n<li>Add a new Button element to the canvas.<\/li>\n\n\n\n<li>Open the <strong>Style<\/strong> tab.<br><img decoding=\"async\" class=\"wp-image-57409\" style=\"width: 680px;\" src=\"https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/05\/22-select-Main-button-2-scaled.png\" alt=\"\"><\/li>\n\n\n\n<li>Click the <strong>Classes<\/strong> text box and select <strong>Main_button <\/strong>from the dropdown menu.<br><img decoding=\"async\" class=\"wp-image-57413\" style=\"width: 680px;\" src=\"https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/05\/23-Main-button-entered-2-scaled.png\" alt=\"\"><br>The button should take on the characteristics of the Main_button class.<br><img decoding=\"async\" class=\"wp-image-57416\" style=\"width: 680px;\" src=\"https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/05\/24-Main-and-secondary-1-scaled.png\" alt=\"\"><\/li>\n\n\n\n<li>Click the <strong>Classes<\/strong> box and select <strong>Secondary button <\/strong>from the dropdown menu.<br>The button will have most of the characteristics of the <strong>Main button<\/strong> class. That is because the Main button class is higher on the class hierarchy. However, the font on the button takes on the style of the Secondary button class. That is because we never defined the typography of the <strong>Main button<\/strong>, so the <strong>Secondary button<\/strong> class determines the font style.&nbsp;<br><img loading=\"lazy\" decoding=\"async\" width=\"280\" height=\"505\" class=\"wp-image-57417\" style=\"width: 280px;\" src=\"https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/05\/25-select-remove-1.png\" alt=\"\" srcset=\"https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/05\/25-select-remove-1.png 608w, https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/05\/25-select-remove-1-166x300.png 166w, https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/05\/25-select-remove-1-568x1024.png 568w\" sizes=\"(max-width: 280px) 100vw, 280px\" \/><\/li>\n\n\n\n<li>In the <strong>Classes<\/strong> box, click on the three dots next <strong>Secondary_button<\/strong>.&nbsp;<\/li>\n\n\n\n<li>Select <strong>Remove<\/strong> from the dropdown menu.<br>The CSS Classes box should now contain just the <strong>local<\/strong> and <strong>Main_button<\/strong> classes.&nbsp;Notice that the font size returns to the default size because the Secondary_button class is no longer there.<br>Now let\u2019s say that we want to customize this one button so that it looks like a main button but has one additional feature &#8211; it changes color when visitors hover over it.&nbsp;<br><img loading=\"lazy\" decoding=\"async\" width=\"280\" height=\"583\" class=\"wp-image-57423\" style=\"width: 280px;\" src=\"https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/05\/26-Select-hover-1.png\" alt=\"\" srcset=\"https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/05\/26-Select-hover-1.png 295w, https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/05\/26-Select-hover-1-144x300.png 144w\" sizes=\"(max-width: 280px) 100vw, 280px\" \/><\/li>\n\n\n\n<li>Click the three dots next to the <strong>local<\/strong> class and select Hover from the dropdown menu.<br>By editing the <strong>local<\/strong> class, we can change the style of this button without changing other buttons with the <strong>Main button<\/strong> class.<br><img loading=\"lazy\" decoding=\"async\" width=\"280\" height=\"246\" class=\"wp-image-57424\" style=\"width: 280px;\" src=\"https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/05\/27-The-hover-state.png\" alt=\"\"><br>Hover is what is called a state.&nbsp; When you select it, you determine how the button will look when visitors mouse over it.&nbsp;For details, see <a href=\"https:\/\/elementor.com\/help\/element-states\">Element States<\/a>.<br><img loading=\"lazy\" decoding=\"async\" width=\"280\" height=\"591\" class=\"wp-image-57426\" style=\"width: 280px;\" src=\"https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/05\/28-Open-Background.png\" alt=\"\" srcset=\"https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/05\/28-Open-Background.png 299w, https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/05\/28-Open-Background-142x300.png 142w\" sizes=\"(max-width: 280px) 100vw, 280px\" \/><\/li>\n\n\n\n<li>Open the <strong>Background<\/strong> field.<br><img loading=\"lazy\" decoding=\"async\" width=\"280\" height=\"671\" class=\"wp-image-57427\" style=\"width: 280px;\" src=\"https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/05\/29-change-tge-background.png\" alt=\"\" srcset=\"https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/05\/29-change-tge-background.png 305w, https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/05\/29-change-tge-background-125x300.png 125w\" sizes=\"(max-width: 280px) 100vw, 280px\" \/><\/li>\n\n\n\n<li>Select a different background color.<br><img loading=\"lazy\" decoding=\"async\" width=\"680\" height=\"274\" class=\"wp-image-57428\" style=\"width: 680px;\" src=\"https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/05\/30-see-the-hover-effect.gif\" alt=\"\"><br>Notice that when you move the cursor over the button, it changes colors.&nbsp;<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>The Elementor Editor is designed to help web creators work quickly and efficiently. As part of that mission, the Editor adopts the principles of Atomic Design. This system is based on the idea of creating small, reusable elements. In Elementor, these elements are called classes. This is in line with the vocabulary used by CSS. [&hellip;]<\/p>\n","protected":false},"author":6,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_elementor_kustomer_id":[],"footnotes":""},"categories":[1509],"tags":[1513],"class_list":["post-57380","post","type-post","status-publish","format-standard","hentry","category-features","tag-v4"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Classes in Elementor | Elementor<\/title>\n<meta name=\"description\" content=\"Learn everything about 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\/classes-in-elementor\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Classes in Elementor | Elementor\" \/>\n<meta property=\"og:description\" content=\"Learn everything about 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\/classes-in-elementor\/\" \/>\n<meta property=\"og:site_name\" content=\"Help\" \/>\n<meta property=\"article:published_time\" content=\"2025-05-19T12:53:36+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/05\/1-create-a-new-class-1.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1468\" \/>\n\t<meta property=\"og:image:height\" content=\"748\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\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=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/elementor.com\/help\/classes-in-elementor\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/elementor.com\/help\/classes-in-elementor\/\"},\"author\":{\"name\":\"Cliff Churgin\",\"@id\":\"https:\/\/elementor.com\/help\/#\/schema\/person\/c45726ca48a077e09198d78da3bc94d3\"},\"headline\":\"Classes in Elementor\",\"datePublished\":\"2025-05-19T12:53:36+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/elementor.com\/help\/classes-in-elementor\/\"},\"wordCount\":1058,\"publisher\":{\"@id\":\"https:\/\/elementor.com\/help\/#organization\"},\"image\":{\"@id\":\"https:\/\/elementor.com\/help\/classes-in-elementor\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/05\/1-create-a-new-class-1.png\",\"keywords\":[\"V4\"],\"articleSection\":[\"Features\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/elementor.com\/help\/classes-in-elementor\/\",\"url\":\"https:\/\/elementor.com\/help\/classes-in-elementor\/\",\"name\":\"Classes in Elementor | Elementor\",\"isPartOf\":{\"@id\":\"https:\/\/elementor.com\/help\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/elementor.com\/help\/classes-in-elementor\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/elementor.com\/help\/classes-in-elementor\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/05\/1-create-a-new-class-1.png\",\"datePublished\":\"2025-05-19T12:53:36+00:00\",\"description\":\"Learn everything about Classes in Elementor in this article from Elementor's Knowledge Base. Get Elementor tips & more.\",\"breadcrumb\":{\"@id\":\"https:\/\/elementor.com\/help\/classes-in-elementor\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/elementor.com\/help\/classes-in-elementor\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/elementor.com\/help\/classes-in-elementor\/#primaryimage\",\"url\":\"https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/05\/1-create-a-new-class-1.png\",\"contentUrl\":\"https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/05\/1-create-a-new-class-1.png\",\"width\":1468,\"height\":748},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/elementor.com\/help\/classes-in-elementor\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Help Center\",\"item\":\"https:\/\/elementor.com\/help\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Editor V4\",\"item\":\"https:\/\/elementor.com\/help\/v4-editor\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Features\",\"item\":\"https:\/\/elementor.com\/help\/v4-editor\/features\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"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":"Classes in Elementor | Elementor","description":"Learn everything about 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\/classes-in-elementor\/","og_locale":"en_US","og_type":"article","og_title":"Classes in Elementor | Elementor","og_description":"Learn everything about Classes in Elementor in this article from Elementor's Knowledge Base. Get Elementor tips & more.","og_url":"https:\/\/elementor.com\/help\/classes-in-elementor\/","og_site_name":"Help","article_published_time":"2025-05-19T12:53:36+00:00","og_image":[{"width":1468,"height":748,"url":"https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/05\/1-create-a-new-class-1.png","type":"image\/png"}],"author":"Cliff Churgin","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Cliff Churgin","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/elementor.com\/help\/classes-in-elementor\/#article","isPartOf":{"@id":"https:\/\/elementor.com\/help\/classes-in-elementor\/"},"author":{"name":"Cliff Churgin","@id":"https:\/\/elementor.com\/help\/#\/schema\/person\/c45726ca48a077e09198d78da3bc94d3"},"headline":"Classes in Elementor","datePublished":"2025-05-19T12:53:36+00:00","mainEntityOfPage":{"@id":"https:\/\/elementor.com\/help\/classes-in-elementor\/"},"wordCount":1058,"publisher":{"@id":"https:\/\/elementor.com\/help\/#organization"},"image":{"@id":"https:\/\/elementor.com\/help\/classes-in-elementor\/#primaryimage"},"thumbnailUrl":"https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/05\/1-create-a-new-class-1.png","keywords":["V4"],"articleSection":["Features"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/elementor.com\/help\/classes-in-elementor\/","url":"https:\/\/elementor.com\/help\/classes-in-elementor\/","name":"Classes in Elementor | Elementor","isPartOf":{"@id":"https:\/\/elementor.com\/help\/#website"},"primaryImageOfPage":{"@id":"https:\/\/elementor.com\/help\/classes-in-elementor\/#primaryimage"},"image":{"@id":"https:\/\/elementor.com\/help\/classes-in-elementor\/#primaryimage"},"thumbnailUrl":"https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/05\/1-create-a-new-class-1.png","datePublished":"2025-05-19T12:53:36+00:00","description":"Learn everything about Classes in Elementor in this article from Elementor's Knowledge Base. Get Elementor tips & more.","breadcrumb":{"@id":"https:\/\/elementor.com\/help\/classes-in-elementor\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/elementor.com\/help\/classes-in-elementor\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/elementor.com\/help\/classes-in-elementor\/#primaryimage","url":"https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/05\/1-create-a-new-class-1.png","contentUrl":"https:\/\/elementor.com\/help\/wp-content\/uploads\/2025\/05\/1-create-a-new-class-1.png","width":1468,"height":748},{"@type":"BreadcrumbList","@id":"https:\/\/elementor.com\/help\/classes-in-elementor\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Help Center","item":"https:\/\/elementor.com\/help\/"},{"@type":"ListItem","position":2,"name":"Editor V4","item":"https:\/\/elementor.com\/help\/v4-editor\/"},{"@type":"ListItem","position":3,"name":"Features","item":"https:\/\/elementor.com\/help\/v4-editor\/features\/"},{"@type":"ListItem","position":4,"name":"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\/57380","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=57380"}],"version-history":[{"count":2,"href":"https:\/\/elementor.com\/help\/wp-json\/wp\/v2\/posts\/57380\/revisions"}],"predecessor-version":[{"id":58695,"href":"https:\/\/elementor.com\/help\/wp-json\/wp\/v2\/posts\/57380\/revisions\/58695"}],"wp:attachment":[{"href":"https:\/\/elementor.com\/help\/wp-json\/wp\/v2\/media?parent=57380"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/elementor.com\/help\/wp-json\/wp\/v2\/categories?post=57380"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/elementor.com\/help\/wp-json\/wp\/v2\/tags?post=57380"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}