How to Style an Individual Instance of a Global Widget in Elementor

ElementorCSSGlobal Widgets

When saving Elementor widgets as global widgets, there are often times in a design where I want to use a global widget in a specific part of the design, but there is part of the global widget I would like to change. For example, it could be a form where the fields are all the same, but in one section the form field backgrounds need to be one colour, and in another section the form field backgrounds need to be another colour. Unfortunately, there is no way to change individual styles on an instance of a global widget, but it can be done with some code.

In this tutorial, I demonstrate how to style an individual instance of a global widget without affecting all other instances of the global widget. This can be done by applying a CSS class to the parent container of a global widget and then selecting the global widget via the class and changing specific styles on it with CSS. If you would like the code used in this video, click the link below to my blog post about this topic, where you can copy and paste it to your website.

Watch The Tutorial

Code Snippet

				
					.blue-button .elementor-button {
    background-color:#00d2fe!important;
}
.blue-button .elementor-button:hover {
    color:#fff!important;
    background-color:#0086B2!important;
}
				
			

Share

How to Create an Advent Calendar with JetEngine, JetPopup & Elementor

How to Create an Advent Calendar with JetEngine, JetPopup & Elementor

Build a festive Advent Calendar with JetEngine & JetPopup by Crocoblock, plus Elementor! Follow this step-by-step tutorial to add holiday magic to your site.
How to Create Scrolling Logos with JetEngine & Elementor

How to Create Scrolling Logos with JetEngine & Elementor

Learn how to create scrolling partner logos in WordPress using JetEngine & Elementor. Step-by-step tutorial for backend management with Listing Grid.
Thumbnail

How to Create Testimonials with JetEngine & Elementor

Learn how to create and display testimonials in WordPress using JetEngine & Elementor. Step-by-step tutorial for easy client management.
How to Create FAQs with JetEngine & Elementor

How to Create FAQs with JetEngine & Elementor

Learn how to create and display FAQs in WordPress with JetEngine & Elementor. Step-by-step tutorial for backend management and easy client updates.
Maintenance page - disable header & footer Thumbnail

How to Hide the Header & Footer in Elementor Maintenance Mode

Discover how to hide Elementor website header and footer during maintenance mode. Keep your maintenance page focused and distraction-free!
How to Set Up a Maintenance Mode Page in Elementor Thumbnail

How to Set Up a Maintenance Mode Page in Elementor

Discover how to set up a maintenance mode page in Elementor to inform visitors and ensure they can't access the website until maintenance is complete.
How to Install Adobe fonts on Elementor Thumbnail

How to Install Adobe Fonts in Elementor

Learn to install Adobe fonts to Elementor websites with ease. Follow steps to integrate and enhance typography seamlessly on your website.
Hide Background Images on Mobile Devices Thumbnail

How to Hide Background Images on Mobile Devices in Elementor

Learn how to hide Elementor background images on mobile devices using custom CSS while keeping them visible on others. Perfect for responsive design!
How to install a custom font in Elementor Thumbnail

How to Install Custom Fonts in Elementor

Learn to install custom fonts in Elementor, covering font types, weights, and frontend integration for enhanced website design.
How to Change the Font Weight on a Specific Piece of Text in Elementor Thumbnail

How to Change the Font Weight on a Specific Piece of Text in Elementor

Learn how to emphasize specific text in Elementor paragraphs or headings by adjusting font weight with CSS classes. Enhance readability with this tutorial!
How to change the favicon in Elementor Thumbnail

How to Add a Favicon to Your Elementor Website

Learn how to add a favicon to your Elementor website for improved branding and user recognition in browsers and search engines.
How to download files Thumbnail

How to Create a File Download Button in Elementor

Learn to create a file download button in Elementor with dynamic URLs and custom download attributes for seamless user experience.
How to Change the Font Colour on a Specific Piece of Text in Elementor Thumbnail

How to Change the Font Colour on a Specific Piece of Text in Elementor

Learn to highlight specific text in Elementor paragraphs or headings with custom colours using CSS classes. Enhance readability with this tutorial!