tech-mtaani tech-mtaani
  • Home
  • How-To Guides
  • Business Software
    • Social Media Tools
    • Landing Pages
    • Website Builders
    • Email Marketing
    • CRM SOFTWARE
    • Web Hosting
  • Reviews
  • General News
  • WHAT-IS
Reading: How to Customize the Background Color of WordPress Block Editor with Elementor
Share
Subscribe Now
Tech-MtaaniTech-Mtaani
Aa
Search
  • Home
  • How-To Guides
  • Business Software
    • Social Media Tools
    • Landing Pages
    • Website Builders
    • Email Marketing
    • CRM SOFTWARE
    • Web Hosting
  • Reviews
  • General News
  • WHAT-IS
Follow US
Copyright © 2014-2023 Ruby Theme Ltd. All Rights Reserved.
Tech-Mtaani > Blog > HOW-TO GUIDES > How to Customize the Background Color of WordPress Block Editor with Elementor
HOW-TO GUIDES

How to Customize the Background Color of WordPress Block Editor with Elementor

admin By admin July 7, 2023 2 Min Read
SHARE

here are the steps on how to customize the background color of the WordPress block editor with Elementor:

  1. Go to the page or post where you want to change the background color of the block editor.
  2. Click on the “Edit with Elementor” button.
  3. In the Elementor editor, click on the “Settings” tab.
  4. In the “Advanced” section, click on the “Background” tab.
  5. In the “Background Color” field, enter the hex code of the color you want to use.
  6. Click on the “Save” button.

The background color of the block editor will now be changed to the color you specified.

Here are some additional tips:

  • You can also use the Elementor color picker to select a color for the background.
  • If you want to change the background color of all blocks in your website, you can add the following code to your theme’s functions.php file:

Code snippet

add_action('elementor/editor/after_enqueue_scripts', function() {
  $elementor_editor = Elementor\Plugin::instance();
  $elementor_editor->get_controls_manager()->add_control('background_color', array(
    'label' => 'Background Color',
    'type' => 'color',
    'default' => '#ffffff',
  ));
});

Use code with caution. 

  • You can also use the Block Editor Colors plugin to customize the background color of the block editor. This plugin allows you to add custom colors to the block editor color palette, as well as change the default colors.

I hope this helps! Let me know if you have any other questions.

Do you want a professional website for your business? Talk to Nairobi Digital Hub Team

Sign Up For Daily Newsletter

Be keep up! Get the latest breaking news delivered straight to your inbox.
By signing up, you agree to our Terms of Use and acknowledge the data practices in our Privacy Policy. You may unsubscribe at any time.
Share This Article
Facebook Twitter Copy Link Print
Previous Article gravatar-settings How to Change the Gravatar Image Size in WordPress
Next Article How to Fade Images on Mouseover in WordPress (Simple & Easy)
Leave a comment

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Facebook Like
Twitter Follow

Subscribe Now

Subscribe to our newsletter to get our newest articles instantly!

Most Popular
The use of blockchain technology for data security and privacy
October 12, 2023
The use of blockchain technology for non-fungible tokens (NFTs)
October 12, 2023
The use of blockchain technology for decentralized finance (DeFi)
October 12, 2023
The use of blockchain technology for digital identity and credentials
October 12, 2023
The ethical implications of blockchain technology
October 12, 2023

You Might Also Like

How to delete all WooCommerce products at once using SQL code

1 Min Read

How to Remove the Sidebar in WordPress (6 Easy Methods)

5 Min Read
404-page-error
HOW-TO GUIDES

How to Improve Your 404 Page Template in WordPress (2 Ways)

2 Min Read

How to Create a Custom HomePage in WordPress

3 Min Read

Always Stay Up to Date

Subscribe to our newsletter to get our newest articles instantly!

tech-mtaani tech-mtaani

We provide tips, tricks, and advice for improving websites and doing better search.

Latest News

  • Home
  • How-To Guides
  • Business Software
    • Social Media Tools
    • Landing Pages
    • Website Builders
    • Email Marketing
    • CRM SOFTWARE
    • Web Hosting
  • Reviews
  • General News
  • WHAT-IS

Resouce

  • About Us
  • Contact Us
  • Privacy Policy

Get the Top 10 in Search!

Looking for a trustworthy service to optimize the company website?
Request a Quote
Newsletter Signup

Subscribe to our weekly newsletter below and never miss the latest news or an exclusive offer.

Enter your email address

Thanks, I’m not interested

Welcome Back!

Sign in to your account

Lost your password?