Adding Custom Styles to WordPress Widgets (2 Ways)
Posted: Sun Jan 26, 2025 3:47 am
By customizing your widgets, you can improve the look and feel of your website, maintain brand consistency, and draw attention to important information.
However, many WordPress users find designing widgets a challenge, especially if they are not familiar with CSS. But don't worry, we are here to help.
In this article, we'll show you two easy methods you can use to customize WordPress widgets without breaking your website. Whether you know a little CSS or prefer a no-code solution, we've got you covered.
Adding custom styles to WordPress widgets
We will show you 2 ways to add custom styles to WordPress widgets. You can use these links to switch to the method that works best for you:
Note: This article is for classic theme users. If you are using a block theme , list of cyprus cell phone number you will not see the Widgets or Theme Customizer pages in your admin area. You will need to use blocks and the sitewide editor to customize your theme.
For more information, check out our beginner's guide to WordPress website editing .
Method 1: Adding Custom Styles to WordPress Widgets Using the Block Editor (Basic)
WordPress widgets now use the block editor to add widgets and blocks to widget-ready areas and sidebars . This means you'll see some block styling options for some of the standard WordPress blocks.
For example, if you click on a standard WordPress block on the Design » Widgets page , you’ll see options to change the block’s colors and typography.
The default WordPress widget styling options
However, this option is not available for all blocks, especially if they are not the default WordPress blocks. One of the advantages of using the block editor for widgets is that you can easily add custom CSS classes to each block.
However, many WordPress users find designing widgets a challenge, especially if they are not familiar with CSS. But don't worry, we are here to help.
In this article, we'll show you two easy methods you can use to customize WordPress widgets without breaking your website. Whether you know a little CSS or prefer a no-code solution, we've got you covered.
Adding custom styles to WordPress widgets
We will show you 2 ways to add custom styles to WordPress widgets. You can use these links to switch to the method that works best for you:
Note: This article is for classic theme users. If you are using a block theme , list of cyprus cell phone number you will not see the Widgets or Theme Customizer pages in your admin area. You will need to use blocks and the sitewide editor to customize your theme.
For more information, check out our beginner's guide to WordPress website editing .
Method 1: Adding Custom Styles to WordPress Widgets Using the Block Editor (Basic)
WordPress widgets now use the block editor to add widgets and blocks to widget-ready areas and sidebars . This means you'll see some block styling options for some of the standard WordPress blocks.
For example, if you click on a standard WordPress block on the Design » Widgets page , you’ll see options to change the block’s colors and typography.
The default WordPress widget styling options
However, this option is not available for all blocks, especially if they are not the default WordPress blocks. One of the advantages of using the block editor for widgets is that you can easily add custom CSS classes to each block.