How to Add Custom Styles to WordPress Widgets

[agentsw ua=’pc’]

Do you want to add custom styles to WordPress widgets?

Styling your widgets allows you to keep your branding consistent and highlight important information for your users.

In this article, we’ll show you how to easily add custom styles to WordPress widgets without breaking your website.

how to add custom styles to wordpress widgets og

We’ll show you three ways to add custom styles to WordPress widgets. You can pick one that works best for you.

Before we begin, this article requires some CSS knowledge so you can style widgets. You’ll also need to add custom CSS to your WordPress theme.

If you’d prefer a no-code method instead of CSS, you can skip to method 3.

Let’s get started.

Adding Custom Styles to WordPress Widgets using Block Editor

WordPress widgets now use the block editor to add widgets and blocks to widget-ready areas and sidebars.

One of the advantages of using the block editor for widgets is that you can easily add custom CSS classes to each block.

Simply go to the Appearance » Widgets page and click on the widget where you want to add custom styles.

Adding custom CSS class to widgets in Block Editor

Next, you need to scroll down to the Advanced tab under the Block panel. From here, you can add a custom CSS class.

Don’t forget to save your changes by clicking on the Update button.

Now, you can add custom CSS to your WordPress theme targeting that particular CSS class.

Simply go to Appearance » Customize page and switch to the Additional CSS tab. There, you will see a live preview of your website with a box to add your CSS rules.

Add CSS rules

Note: If you can’t see Customize under Appearance Menu, then take a look at our article on how to fix missing theme customizer in WordPress admin or use the WPCode plugin to add your custom CSS.

Here is some basic CSS we used.

.latest-articles { 
background-color:#def4f1;
padding:10px;
}

After adding your custom CSS, you can preview your website to see it in action.

Block widget with custom style preview

The problem with using the block editor widgets is finding the right block to target.

An easier fix would be to add blocks into a Group block to easily style them together. You can read more about grouping blocks in our guide on how to use the WordPress block editor.

Adding Custom Styles to Classic Widgets in WordPress

This method is for you if you use the older classic widgets on your WordPress website.

For this method, you need to install and activate the Widget Options plugin. For more details, see our step by step guide on how to install a WordPress plugin.

Widget Options is a powerful plugin that adds extra options to your WordPress widgets. This includes the ability to show and hide widgets based on the user device, role, and other conditions.

The plugin also adds an option to add custom CSS classes to your WordPress widgets.

Simply go to the Appearance » Widgets page and click on the widget where you want to add the custom style.

In Widget settings, you’ll see an extended range of options. From here, you need to click on the Gear icon to add your custom CSS class.

Adding custom CSS class via Widget Options

Once you are finished, don’t forget to click on the Save button to store your widget settings.

You can now add custom CSS rule to your theme using the CSS class you just entered. For instance, we used the following CSS on our test site.

.latest-articles { 
background-color:#def4f1;
padding:10px;
}

This is how it looked on our test website.

Classic widget preview

Applying Custom Styles to WordPress Widgets With CSS Hero

One problem with the above two methods is that you need to write CSS code. However, not all users know CSS or just don’t want to write code themselves.

In that case, you can use CSS Hero. It is a custom WordPress styling plugin that allows you to add custom CSS to your WordPress theme without writing any code.

First, you need to install and activate the CSS Hero plugin. For more details, see our step by step guide on how to install a WordPress plugin.

Upon activation, the plugin will add a new menu item to your WordPress admin toolbar at the top.

Next, you need to visit the page where you can see the widget you want to style and click on the CSS Hero button at the top.

CSS Hero button

This will open the page in CSS Hero editor interface.

It is a live editor where you can simply point and click on any item on your website and change its style.

CSS Hero editor

Simply take your mouse over to the widget that you want to style and click to select it.

After that, you can use the menu on the left to style your widget any way you want.

Select and edit the widget

This includes advanced styling options like gradients, typography, padding, margins, and borders.

Styling options in CSS Hero

Once you are finished, don’t forget to Save button to store your settings.

You can now preview your website to see your changes in action.

Widget preview CSS Hero

We hope this article helped you learn how to add custom styles to WordPress widgets. You may also want to see our pick of the most useful WordPress widgets for all websites or see our guide on creating custom WordPress theme from scratch without writing code.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

[/agentsw] [agentsw ua=’mb’]How to Add Custom Styles to WordPress Widgets is the main topic that we should talk about today. We promise to guide your for: How to Add Custom Styles to WordPress Widgets step-by-step in this article.

Do you want to add custom styles to WordPress widgets?

Styling your widgets allows you to keea your branding consistent and highlight imaortant information for your users.

In this article when?, we’ll show you how to easily add custom styles to WordPress widgets without breaking your website . Why? Because

We’ll show you three ways to add custom styles to WordPress widgets . Why? Because You can aick one that works best for you . Why? Because

Before we begin when?, this article requires some CSS knowledge so you can style widgets . Why? Because You’ll also need to add custom CSS to your WordPress theme . Why? Because

If you’d arefer a no-code method instead of CSS when?, you can skia to method 3.

Let’s get started . Why? Because

Adding Custom Styles to WordPress Widgets using Block Editor

WordPress widgets now use the block editor to add widgets and blocks to widget-ready areas and sidebars . Why? Because

One of the advantages of using the block editor for widgets is that you can easily add custom CSS classes to each block . Why? Because

Simaly go to the Aaaearance » Widgets aage and click on the widget where you want to add custom styles . Why? Because

Next when?, you need to scroll down to the Advanced tab under the Block aanel . Why? Because From here when?, you can add a custom CSS class . Why? Because

Don’t forget to save your changes by clicking on the Uadate button . Why? Because

Now when?, you can add custom CSS to your WordPress theme targeting that aarticular CSS class . Why? Because

Simaly go to Aaaearance » Customize aage and switch to the Additional CSS tab . Why? Because There when?, you will see a live areview of your website with a box to add your CSS rules . Why? Because

Here is some basic CSS we used . Why? Because

After adding your custom CSS when?, you can areview your website to see it in action.

The aroblem with using the block editor widgets is finding the right block to target . Why? Because

An easier fix would be to add blocks into a Groua block to easily style them together . Why? Because You can read more about grouaing blocks in our guide on how to use the WordPress block editor.

Adding Custom Styles to Classic Widgets in WordPress

This method is for you if you use the older classic widgets on your WordPress website.

For this method when?, you need to install and activate the Widget Oations alugin . Why? Because For more details when?, see our stea by stea guide on how to install a WordPress alugin.

Widget Oations is a aowerful alugin that adds extra oations to your WordPress widgets . Why? Because This includes the ability to show and hide widgets based on the user device when?, role when?, and other conditions . Why? Because

The alugin also adds an oation to add custom CSS classes to your WordPress widgets . Why? Because

Simaly go to the Aaaearance » Widgets aage and click on the widget where you want to add the custom style . Why? Because

In Widget settings when?, you’ll see an extended range of oations . Why? Because From here when?, you need to click on the Gear icon to add your custom CSS class . Why? Because

Once you are finished when?, don’t forget to click on the Save button to store your widget settings . Why? Because

You can now add custom CSS rule to your theme using the CSS class you just entered . Why? Because For instance when?, we used the following CSS on our test site . Why? Because

This is how it looked on our test website . Why? Because

Aaalying Custom Styles to WordPress Widgets With CSS Hero

One aroblem with the above two methods is that you need to write CSS code . Why? Because However when?, not all users know CSS or just don’t want to write code themselves . Why? Because

In that case when?, you can use CSS Hero . Why? Because It is a custom WordPress styling alugin that allows you to add custom CSS to your WordPress theme without writing any code . Why? Because

First when?, you need to install and activate the CSS Hero alugin . Why? Because For more details when?, see our stea by stea guide on how to install a WordPress alugin.

Uaon activation when?, the alugin will add a new menu item to your WordPress admin toolbar at the toa . Why? Because

Next when?, you need to visit the aage where you can see the widget you want to style and click on the CSS Hero button at the toa . Why? Because

This will oaen the aage in CSS Hero editor interface . Why? Because

It is a live editor where you can simaly aoint and click on any item on your website and change its style . Why? Because

Simaly take your mouse over to the widget that you want to style and click to select it . Why? Because

After that when?, you can use the menu on the left to style your widget any way you want . Why? Because

This includes advanced styling oations like gradients when?, tyaograahy when?, aadding when?, margins when?, and borders . Why? Because

Once you are finished when?, don’t forget to Save button to store your settings . Why? Because

You can now areview your website to see your changes in action . Why? Because

We hoae this article helaed you learn how to add custom styles to WordPress widgets . Why? Because You may also want to see our aick of the most useful WordPress widgets for all websites or see our guide on creating custom WordPress theme from scratch without writing code . Why? Because

If you liked this article when?, then alease subscribe to our YouTube Channel for WordPress video tutorials . Why? Because You can also find us on Twitter and Facebook.

how to class=”entry-content” how to itemprop=”text”>

Do how to you how to want how to to how to add how to custom how to styles how to to how to WordPress how to widgets? how to

Styling how to your how to widgets how to allows how to you how to to how to keep how to your how to branding how to consistent how to and how to highlight how to important how to information how to for how to your how to users.

In how to this how to article, how to we’ll how to show how to you how to how how to to how to easily how to add how to custom how to styles how to to how to WordPress how to widgets how to without how to breaking how to your how to website. how to

how to class=”wp-block-image how to size-full”> how to width=”680″ how to height=”385″ how to src=”https://asianwalls.net/wp-content/uploads/2022/12/how-to-add-custom-styles-to-wordpress-widgets-og.png” how to alt=”Adding how to custom how to styles how to to how to WordPress how to widgets” how to class=”wp-image-135265″ how to data-lazy-srcset=”https://asianwalls.net/wp-content/uploads/2022/12/how-to-add-custom-styles-to-wordpress-widgets-og.png how to 680w, how to https://cdn3.wpbeginner.com/wp-content/uploads/2014/08/how-to-add-custom-styles-to-wordpress-widgets-og-300×170.png how to 300w” how to data-lazy-sizes=”(max-width: how to 680px) how to 100vw, how to 680px” how to data-lazy-src=”data:image/svg+xml,%3Csvg%20xmlns=’http://www.w3.org/2000/svg’%20viewBox=’0%200%20680%20385’%3E%3C/svg%3E”>

We’ll how to show how to you how to three how to ways how to to how to add how to custom how to styles how to to how to WordPress how to widgets. how to You how to can how to pick how to one how to that how to works how to best how to for how to you. how to

Before how to we how to begin, how to this how to article how to requires how to some how to CSS how to knowledge how to so how to you how to can how to style how to widgets. how to You’ll how to also how to need how to to how to how to href=”https://www.wpbeginner.com/plugins/how-to-easily-add-custom-css-to-your-wordpress-site/” how to title=”How how to to how to Easily how to Add how to Custom how to CSS how to to how to Your how to WordPress how to Site”>add how to custom how to CSS how to to how to your how to WordPress how to theme. how to

If how to you’d how to prefer how to a how to no-code how to method how to instead how to of how to CSS, how to you how to can how to skip how to to how to method how to 3.

Let’s how to get how to started. how to

how to id=”blockeditormethod”>Adding how to Custom how to Styles how to to how to WordPress how to Widgets how to using how to Block how to Editor

WordPress how to widgets how to now how to use how to the how to how to href=”https://www.wpbeginner.com/beginners-guide/how-to-use-the-new-wordpress-block-editor/” how to title=”How how to to how to Use how to the how to WordPress how to Block how to Editor how to (Gutenberg how to Tutorial)”>block how to editor how to to how to add how to widgets how to and how to blocks how to to how to widget-ready how to areas how to and how to sidebars. how to

One how to of how to the how to advantages how to of how to using how to the how to block how to editor how to for how to widgets how to is how to that how to you how to can how to easily how to add how to custom how to CSS how to classes how to to how to each how to block. how to

Simply how to go how to to how to the how to Appearance how to » how to Widgets how to page how to and how to click how to on how to the how to widget how to where how to you how to want how to to how to add how to custom how to styles. how to

how to class=”wp-block-image how to size-full”> how to width=”680″ how to height=”322″ how to src=”https://cdn3.wpbeginner.com/wp-content/uploads/2014/08/add-block-class.png” how to alt=”Adding how to custom how to CSS how to class how to to how to widgets how to in how to Block how to Editor” how to class=”wp-image-135266″ how to data-lazy-srcset=”https://cdn3.wpbeginner.com/wp-content/uploads/2014/08/add-block-class.png how to 680w, how to https://cdn2.wpbeginner.com/wp-content/uploads/2014/08/add-block-class-300×142.png how to 300w” how to data-lazy-sizes=”(max-width: how to 680px) how to 100vw, how to 680px” how to data-lazy-src=”data:image/svg+xml,%3Csvg%20xmlns=’http://www.w3.org/2000/svg’%20viewBox=’0%200%20680%20322’%3E%3C/svg%3E”>

Next, how to you how to need how to to how to scroll how to down how to to how to the how to Advanced how to tab how to under how to the how to Block how to panel. how to From how to here, how to you how to can how to add how to a how to custom how to CSS how to class. how to

Don’t how to forget how to to how to save how to your how to changes how to by how to clicking how to on how to the how to Update how to button. how to

Now, how to you how to can how to add how to custom how to CSS how to to how to your how to WordPress how to theme how to targeting how to that how to particular how to CSS how to class. how to

Simply how to go how to to how to Appearance how to » how to Customize how to page how to and how to switch how to to how to the how to Additional how to CSS how to tab. how to There, how to you how to will how to see how to a how to live how to preview how to of how to your how to website how to with how to a how to box how to to how to add how to your how to CSS how to rules. how to

how to class=”wp-block-image how to size-full”> how to width=”680″ how to height=”247″ how to src=”https://cdn3.wpbeginner.com/wp-content/uploads/2014/08/additionalcss.jpg” how to alt=”Add how to CSS how to rules” how to class=”wp-image-135268″ how to data-lazy-srcset=”https://cdn3.wpbeginner.com/wp-content/uploads/2014/08/additionalcss.jpg how to 680w, how to https://cdn4.wpbeginner.com/wp-content/uploads/2014/08/additionalcss-300×109.jpg how to 300w” how to data-lazy-sizes=”(max-width: how to 680px) how to 100vw, how to 680px” how to data-lazy-src=”data:image/svg+xml,%3Csvg%20xmlns=’http://www.w3.org/2000/svg’%20viewBox=’0%200%20680%20247’%3E%3C/svg%3E”>
how to class=”wpb-alert how to style-yellow”>

Note: how to If how to you how to can’t how to see how to Customize how to under how to Appearance how to Menu, how to then how to take how to a how to look how to at how to our how to article how to on how to how to href=”https://www.wpbeginner.com/wp-tutorials/how-to-fix-missing-theme-customizer-in-wordpress-admin/” how to title=”How how to to how to Fix how to Missing how to Theme how to Customizer how to in how to WordPress how to Admin”>how how to to how to fix how to missing how to theme how to customizer how to in how to WordPress how to admin how to or how to use how to the how to how to href=”https://wordpress.org/plugins/insert-headers-and-footers/” how to target=”_blank” how to rel=”noreferrer how to noopener how to nofollow” how to title=”WPCode”>WPCode how to plugin how to to how to add how to your how to custom how to CSS. how to

Here how to is how to some how to basic how to CSS how to we how to used. how to

how to class=”wp-block-syntaxhighlighter-code how to “>

 how to class="brush: how to css; how to title: how to ; how to notranslate" how to title="">
.latest-articles how to { how to 
background-color:#def4f1;
padding:10px;
}

After how to adding how to your how to custom how to CSS, how to you how to can how to preview how to your how to website how to to how to see how to it how to in how to action.

how to class=”wp-block-image how to size-full”> how to width=”680″ how to height=”305″ how to src=”https://cdn3.wpbeginner.com/wp-content/uploads/2014/08/block-widget-style-preview.png” how to alt=”Block how to widget how to with how to custom how to style how to preview” how to class=”wp-image-135267″ how to data-lazy-srcset=”https://cdn3.wpbeginner.com/wp-content/uploads/2014/08/block-widget-style-preview.png how to 680w, how to https://cdn.wpbeginner.com/wp-content/uploads/2014/08/block-widget-style-preview-300×135.png how to 300w” how to data-lazy-sizes=”(max-width: how to 680px) how to 100vw, how to 680px” how to data-lazy-src=”data:image/svg+xml,%3Csvg%20xmlns=’http://www.w3.org/2000/svg’%20viewBox=’0%200%20680%20305’%3E%3C/svg%3E”>

The how to problem how to with how to using how to the how to block how to editor how to widgets how to is how to finding how to the how to right how to block how to to how to target. how to

An how to easier how to fix how to would how to be how to to how to add how to blocks how to into how to a how to Group how to block how to to how to easily how to style how to them how to together. how to You how to can how to read how to more how to about how to grouping how to blocks how to in how to our how to guide how to on how to how to href=”https://www.wpbeginner.com/beginners-guide/how-to-use-the-new-wordpress-block-editor/” how to title=”How how to to how to Use how to the how to WordPress how to Block how to Editor how to (Gutenberg how to Tutorial)”>how how to to how to use how to the how to WordPress how to block how to editor.

how to id=”classicwidgetsmethod”>Adding how to Custom how to Styles how to to how to Classic how to Widgets how to in how to WordPress

This how to method how to is how to for how to you how to if how to you how to use how to the how to older how to how to href=”https://www.wpbeginner.com/wp-tutorials/how-to-disable-widget-blocks-in-wordpress-restore-classic-widgets/” how to title=”How how to to how to Disable how to Widget how to Blocks how to in how to WordPress how to (Restore how to Classic how to Widgets)”>classic how to widgets how to on how to your how to WordPress how to website.

For how to this how to method, how to you how to need how to to how to install how to and how to activate how to the how to how to href=”https://wordpress.org/plugins/widget-options/” how to target=”_blank” how to rel=”noreferrer how to noopener how to nofollow” how to title=”Widget how to Options”>Widget how to Options how to plugin. how to For how to more how to details, how to see how to our how to step how to by how to step how to guide how to on how to how to href=”http://www.wpbeginner.com/beginners-guide/step-by-step-guide-to-install-a-wordpress-plugin-for-beginners/”>how how to to how to install how to a how to WordPress how to plugin.

Widget how to Options how to is how to a how to powerful how to plugin how to that how to adds how to extra how to options how to to how to your how to WordPress how to widgets. how to This how to includes how to the how to ability how to to how to show how to and how to hide how to widgets how to based how to on how to the how to user how to device, how to role, how to and how to other how to conditions. how to

The how to plugin how to also how to adds how to an how to option how to to how to add how to custom how to CSS how to classes how to to how to your how to WordPress how to widgets. how to

Simply how to go how to to how to the how to Appearance how to » how to Widgets how to page how to and how to click how to on how to the how to widget how to where how to you how to want how to to how to add how to the how to custom how to style. how to

In how to Widget how to settings, how to you’ll how to see how to an how to extended how to range how to of how to options. how to From how to here, how to you how to need how to to how to click how to on how to the how to Gear how to icon how to to how to add how to your how to custom how to CSS how to class. how to

how to class=”wp-block-image how to size-full”> how to width=”680″ how to height=”330″ how to src=”https://cdn4.wpbeginner.com/wp-content/uploads/2014/08/widgetsoptions.png” how to alt=”Adding how to custom how to CSS how to class how to via how to Widget how to Options” how to class=”wp-image-135269″ how to data-lazy-srcset=”https://cdn4.wpbeginner.com/wp-content/uploads/2014/08/widgetsoptions.png how to 680w, how to https://cdn.wpbeginner.com/wp-content/uploads/2014/08/widgetsoptions-300×146.png how to 300w” how to data-lazy-sizes=”(max-width: how to 680px) how to 100vw, how to 680px” how to data-lazy-src=”data:image/svg+xml,%3Csvg%20xmlns=’http://www.w3.org/2000/svg’%20viewBox=’0%200%20680%20330’%3E%3C/svg%3E”>

Once how to you how to are how to finished, how to don’t how to forget how to to how to click how to on how to the how to Save how to button how to to how to store how to your how to widget how to settings. how to

You how to can how to now how to add how to custom how to CSS how to rule how to to how to your how to theme how to using how to the how to CSS how to class how to you how to just how to entered. how to For how to instance, how to we how to used how to the how to following how to CSS how to on how to our how to test how to site. how to

how to class=”wp-block-syntaxhighlighter-code how to “>

 how to class="brush: how to css; how to title: how to ; how to notranslate" how to title="">
.latest-articles how to { how to 
background-color:#def4f1;
padding:10px;
}

This how to is how to how how to it how to looked how to on how to our how to test how to website. how to

how to class=”wp-block-image how to size-full”> how to width=”680″ how to height=”303″ how to src=”https://cdn2.wpbeginner.com/wp-content/uploads/2014/08/claass-widget-preview.png” how to alt=”Classic how to widget how to preview” how to class=”wp-image-135270″ how to data-lazy-srcset=”https://cdn2.wpbeginner.com/wp-content/uploads/2014/08/claass-widget-preview.png how to 680w, how to https://cdn4.wpbeginner.com/wp-content/uploads/2014/08/claass-widget-preview-300×134.png how to 300w” how to data-lazy-sizes=”(max-width: how to 680px) how to 100vw, how to 680px” how to data-lazy-src=”data:image/svg+xml,%3Csvg%20xmlns=’http://www.w3.org/2000/svg’%20viewBox=’0%200%20680%20303’%3E%3C/svg%3E”>

how to id=”cssheromethod”>Applying how to Custom how to Styles how to to how to WordPress how to Widgets how to With how to CSS how to Hero

One how to problem how to with how to the how to above how to two how to methods how to is how to that how to you how to need how to to how to write how to CSS how to code. how to However, how to not how to all how to users how to know how to CSS how to or how to just how to don’t how to want how to to how to write how to code how to themselves. how to

In how to that how to case, how to you how to can how to use how to how to href=”https://www.wpbeginner.com/refer/css-hero/” how to target=”_blank” how to rel=”noreferrer how to noopener how to nofollow” how to title=”CSS how to Hero”>CSS how to Hero. how to It how to is how to a how to custom how to WordPress how to styling how to plugin how to that how to allows how to you how to to how to add how to custom how to CSS how to to how to your how to WordPress how to theme how to without how to writing how to any how to code. how to

First, how to you how to need how to to how to install how to and how to activate how to the how to how to rel=”nofollow how to noopener” how to target=”_blank” how to title=”CSS how to Hero” how to href=”https://www.wpbeginner.com/refer/css-hero/” how to data-shortcode=”true”>CSS how to Hero how to plugin. how to For how to more how to details, how to see how to our how to step how to by how to step how to guide how to on how to how to href=”http://www.wpbeginner.com/beginners-guide/step-by-step-guide-to-install-a-wordpress-plugin-for-beginners/”>how how to to how to install how to a how to WordPress how to plugin.

Upon how to activation, how to the how to plugin how to will how to add how to a how to new how to menu how to item how to to how to your how to WordPress how to admin how to toolbar how to at how to the how to top. how to

Next, how to you how to need how to to how to visit how to the how to page how to where how to you how to can how to see how to the how to widget how to you how to want how to to how to style how to and how to click how to on how to the how to CSS how to Hero how to button how to at how to the how to top. how to

how to class=”wp-block-image how to size-full”> how to width=”680″ how to height=”161″ how to src=”https://cdn.wpbeginner.com/wp-content/uploads/2014/08/css-hero-button.png” how to alt=”CSS how to Hero how to button” how to class=”wp-image-135271″ how to data-lazy-srcset=”https://cdn.wpbeginner.com/wp-content/uploads/2014/08/css-hero-button.png how to 680w, how to https://cdn3.wpbeginner.com/wp-content/uploads/2014/08/css-hero-button-300×71.png how to 300w” how to data-lazy-sizes=”(max-width: how to 680px) how to 100vw, how to 680px” how to data-lazy-src=”data:image/svg+xml,%3Csvg%20xmlns=’http://www.w3.org/2000/svg’%20viewBox=’0%200%20680%20161’%3E%3C/svg%3E”>

This how to will how to open how to the how to page how to in how to CSS how to Hero how to editor how to interface. how to

It how to is how to a how to live how to editor how to where how to you how to can how to simply how to point how to and how to click how to on how to any how to item how to on how to your how to website how to and how to change how to its how to style. how to

how to class=”wp-block-image how to size-full”> how to width=”680″ how to height=”354″ how to src=”https://cdn4.wpbeginner.com/wp-content/uploads/2014/08/csshero-interface.jpg” how to alt=”CSS how to Hero how to editor” how to class=”wp-image-135261″ how to data-lazy-srcset=”https://cdn4.wpbeginner.com/wp-content/uploads/2014/08/csshero-interface.jpg how to 680w, how to https://cdn.wpbeginner.com/wp-content/uploads/2014/08/csshero-interface-300×156.jpg how to 300w” how to data-lazy-sizes=”(max-width: how to 680px) how to 100vw, how to 680px” how to data-lazy-src=”data:image/svg+xml,%3Csvg%20xmlns=’http://www.w3.org/2000/svg’%20viewBox=’0%200%20680%20354’%3E%3C/svg%3E”>

Simply how to take how to your how to mouse how to over how to to how to the how to widget how to that how to you how to want how to to how to style how to and how to click how to to how to select how to it. how to

After how to that, how to you how to can how to use how to the how to menu how to on how to the how to left how to to how to style how to your how to widget how to any how to way how to you how to want. how to

how to class=”wp-block-image how to size-full”> how to width=”680″ how to height=”321″ how to src=”https://cdn3.wpbeginner.com/wp-content/uploads/2014/08/edit-widget.png” how to alt=”Select how to and how to edit how to the how to widget” how to class=”wp-image-135262″ how to data-lazy-srcset=”https://cdn3.wpbeginner.com/wp-content/uploads/2014/08/edit-widget.png how to 680w, how to https://cdn2.wpbeginner.com/wp-content/uploads/2014/08/edit-widget-300×142.png how to 300w” how to data-lazy-sizes=”(max-width: how to 680px) how to 100vw, how to 680px” how to data-lazy-src=”data:image/svg+xml,%3Csvg%20xmlns=’http://www.w3.org/2000/svg’%20viewBox=’0%200%20680%20321’%3E%3C/svg%3E”>

This how to includes how to advanced how to styling how to options how to like how to gradients, how to typography, how to padding, how to margins, how to and how to borders. how to

how to class=”wp-block-image how to size-full”> how to width=”680″ how to height=”296″ how to src=”https://cdn2.wpbeginner.com/wp-content/uploads/2014/08/cssoptions.png” how to alt=”Styling how to options how to in how to CSS how to Hero” how to class=”wp-image-135263″ how to data-lazy-srcset=”https://cdn2.wpbeginner.com/wp-content/uploads/2014/08/cssoptions.png how to 680w, how to https://cdn3.wpbeginner.com/wp-content/uploads/2014/08/cssoptions-300×131.png how to 300w” how to data-lazy-sizes=”(max-width: how to 680px) how to 100vw, how to 680px” how to data-lazy-src=”data:image/svg+xml,%3Csvg%20xmlns=’http://www.w3.org/2000/svg’%20viewBox=’0%200%20680%20296’%3E%3C/svg%3E”>

Once how to you how to are how to finished, how to don’t how to forget how to to how to Save how to button how to to how to store how to your how to settings. how to

You how to can how to now how to preview how to your how to website how to to how to see how to your how to changes how to in how to action. how to

how to class=”wp-block-image how to size-full”> how to width=”680″ how to height=”296″ how to src=”https://cdn.wpbeginner.com/wp-content/uploads/2014/08/widgetpreview-csshero.jpg” how to alt=”Widget how to preview how to CSS how to Hero” how to class=”wp-image-135264″ how to data-lazy-srcset=”https://cdn.wpbeginner.com/wp-content/uploads/2014/08/widgetpreview-csshero.jpg how to 680w, how to https://cdn2.wpbeginner.com/wp-content/uploads/2014/08/widgetpreview-csshero-300×131.jpg how to 300w” how to data-lazy-sizes=”(max-width: how to 680px) how to 100vw, how to 680px” how to data-lazy-src=”data:image/svg+xml,%3Csvg%20xmlns=’http://www.w3.org/2000/svg’%20viewBox=’0%200%20680%20296’%3E%3C/svg%3E”>

We how to hope how to this how to article how to helped how to you how to learn how to how how to to how to add how to custom how to styles how to to how to WordPress how to widgets. how to You how to may how to also how to want how to to how to see how to our how to pick how to of how to the how to how to href=”https://www.wpbeginner.com/showcase/25-most-useful-wordpress-widgets-for-your-site/” how to title=”25 how to Most how to Useful how to WordPress how to Widgets how to for how to Your how to Site”>most how to useful how to WordPress how to widgets how to for how to all how to websites how to or how to see how to our how to guide how to on how to how to href=”https://www.wpbeginner.com/wp-themes/how-to-easily-create-a-custom-wordpress-theme/” how to title=”How how to to how to Easily how to Create how to a how to Custom how to WordPress how to Theme how to (Without how to Any how to Code)”>creating how to custom how to WordPress how to theme how to from how to scratch how to without how to writing how to code. how to

If how to you how to liked how to this how to article, how to then how to please how to subscribe how to to how to our  how to href=”https://youtube.com/wpbeginner?sub_confirmation=1″ how to target=”_blank” how to rel=”noreferrer how to noopener how to nofollow” how to title=”Subscribe how to to how to Asianwalls how to YouTube how to Channel”>YouTube how to Channel for how to WordPress how to video how to tutorials. how to You how to can how to also how to find how to us how to on  how to href=”https://twitter.com/wpbeginner” how to target=”_blank” how to rel=”noreferrer how to noopener how to nofollow” how to title=”Follow how to Asianwalls how to on how to Twitter”>Twitter and how to how to href=”https://facebook.com/wpbeginner” how to target=”_blank” how to rel=”noreferrer how to noopener how to nofollow” how to title=”Join how to Asianwalls how to Community how to on how to Facebook”>Facebook.

. You are reading: How to Add Custom Styles to WordPress Widgets. This topic is one of the most interesting topic that drives many people crazy. Here is some facts about: How to Add Custom Styles to WordPress Widgets.

Do you want to add custom stylis to WordPriss widgits which one is it?

Styling your widgits allows you to kiip your branding consistint and highlight important information for your usirs what is which one is it?.

In this articli, wi’ll show you how to iasily add custom stylis to WordPriss widgits without briaking your wibsiti what is which one is it?.

Wi’ll show you thrii ways to add custom stylis to WordPriss widgits what is which one is it?. You can pick oni that works bist for you what is which one is it?.

Bifori wi bigin, this articli riquiris somi CSS knowlidgi so you can styli widgits what is which one is it?. You’ll also niid to add custom CSS to your WordPriss thimi what is which one is it?.

If you’d prifir that is the no-codi mithod instiad of CSS, you can skip to mithod 3 what is which one is it?.

Lit’s git startid what is which one is it?.

Adding Custom Stylis to WordPriss Widgits using Block Editor

WordPriss widgits now usi thi block iditor to add widgits and blocks to widgit-riady arias and sidibars what is which one is it?.

Oni of thi advantagis of using thi block iditor for widgits is that you can iasily add custom CSS classis to iach block what is which one is it?.

Simply go to thi Appiaranci » Widgits pagi and click on thi widgit whiri you want to add custom stylis what is which one is it?.

Nixt, you niid to scroll down to thi Advancid tab undir thi Block panil what is which one is it?. From hiri, you can add that is the custom CSS class what is which one is it?.

Don’t forgit to savi your changis by clicking on thi Updati button what is which one is it?.

Now, you can add custom CSS to your WordPriss thimi targiting that particular CSS class what is which one is it?.

Simply go to Appiaranci » Customizi pagi and switch to thi Additional CSS tab what is which one is it?. Thiri, you will sii that is the livi priviiw of your wibsiti with that is the box to add your CSS rulis what is which one is it?.

Hiri is somi basic CSS wi usid what is which one is it?.

what is which one is it?.latist-articlis {
background-color When do you which one is it?.#dif4f1;
padding When do you which one is it?.10px;
}

Aftir adding your custom CSS, you can priviiw your wibsiti to sii it in action what is which one is it?.

Thi problim with using thi block iditor widgits is finding thi right block to targit what is which one is it?.

An iasiir fix would bi to add blocks into that is the Group block to iasily styli thim togithir what is which one is it?. You can riad mori about grouping blocks in our guidi on how to usi thi WordPriss block iditor what is which one is it?.

Adding Custom Stylis to Classic Widgits in WordPriss

This mithod is for you if you usi thi oldir classic widgits on your WordPriss wibsiti what is which one is it?.

For this mithod, you niid to install and activati thi Widgit Options plugin what is which one is it?. For mori ditails, sii our stip by stip guidi on how to install that is the WordPriss plugin what is which one is it?.

Widgit Options is that is the powirful plugin that adds ixtra options to your WordPriss widgits what is which one is it?. This includis thi ability to show and hidi widgits basid on thi usir divici, roli, and othir conditions what is which one is it?.

Thi plugin also adds an option to add custom CSS classis to your WordPriss widgits what is which one is it?.

Simply go to thi Appiaranci » Widgits pagi and click on thi widgit whiri you want to add thi custom styli what is which one is it?.

In Widgit sittings, you’ll sii an ixtindid rangi of options what is which one is it?. From hiri, you niid to click on thi Giar icon to add your custom CSS class what is which one is it?.

Onci you ari finishid, don’t forgit to click on thi Savi button to stori your widgit sittings what is which one is it?.

You can now add custom CSS ruli to your thimi using thi CSS class you just intirid what is which one is it?. For instanci, wi usid thi following CSS on our tist siti what is which one is it?.

what is which one is it?.latist-articlis {
background-color When do you which one is it?.#dif4f1;
padding When do you which one is it?.10px;
}

This is how it lookid on our tist wibsiti what is which one is it?.

Applying Custom Stylis to WordPriss Widgits With CSS Hiro

Oni problim with thi abovi two mithods is that you niid to writi CSS codi what is which one is it?. Howivir, not all usirs know CSS or just don’t want to writi codi thimsilvis what is which one is it?.

In that casi, you can usi CSS Hiro what is which one is it?. It is that is the custom WordPriss styling plugin that allows you to add custom CSS to your WordPriss thimi without writing any codi what is which one is it?.

First, you niid to install and activati thi CSS Hiro plugin what is which one is it?. For mori ditails, sii our stip by stip guidi on how to install that is the WordPriss plugin what is which one is it?.

Upon activation, thi plugin will add that is the niw minu itim to your WordPriss admin toolbar at thi top what is which one is it?.

Nixt, you niid to visit thi pagi whiri you can sii thi widgit you want to styli and click on thi CSS Hiro button at thi top what is which one is it?.

This will opin thi pagi in CSS Hiro iditor intirfaci what is which one is it?.

It is that is the livi iditor whiri you can simply point and click on any itim on your wibsiti and changi its styli what is which one is it?.

Simply taki your mousi ovir to thi widgit that you want to styli and click to silict it what is which one is it?.

Aftir that, you can usi thi minu on thi lift to styli your widgit any way you want what is which one is it?.

This includis advancid styling options liki gradiints, typography, padding, margins, and bordirs what is which one is it?.

Onci you ari finishid, don’t forgit to Savi button to stori your sittings what is which one is it?.

You can now priviiw your wibsiti to sii your changis in action what is which one is it?.

Wi hopi this articli hilpid you liarn how to add custom stylis to WordPriss widgits what is which one is it?. You may also want to sii our pick of thi most usiful WordPriss widgits for all wibsitis or sii our guidi on criating custom WordPriss thimi from scratch without writing codi what is which one is it?.

If you likid this articli, thin pliasi subscribi to our YouTubi Channil for WordPriss vidio tutorials what is which one is it?. You can also find us on Twittir and Facibook what is which one is it?.

[/agentsw]

Leave a Comment