Have you ever wondered how to create truly unique and professional WordPress websites? The answer lies in the ability to add custom CSS to your projects. In this comprehensive guide, I’ll show you three powerful ways to customize your WordPress designs, whether you’re a Gutenberg, Elementor Pro, or Elementor Free user.
Why add custom CSS in WordPress?
Before we dive into the techniques, it’s important to understand why custom CSS is so important for modern web projects:
- Complete control over the design: Go beyond themes and plugins
- Unique and professional websitesDistinguish yourself from the competition with custom designs
- Maximum flexibility: Adjust every visual detail of your website
- Improve performance: Add only the necessary CSS without cluttering the site
Method 1: Gutenberg with Super Powers – Basic Blocks


The first method I will present is without a doubt the most surprising and powerful method. We’re talking about the plugin Basic blockswhich turns the Gutenberg editor into a professional development tool.
How to install basic blocks
- Access the WordPress admin panel
- Go to Plugins > Add New
- Search for “basic blocks”
- Click “Install Now” then “Activate”
Amazing features of basic blocks
What makes Essential Blocks special is its highly advanced CSS editing interface:
- A visual editor similar to VSCode: Work with a familiar and professional interface
- IntelliSense for competent CSS: Intelligent autocomplete that speeds up your work
- Customize the container and internal elements: Complete control over the cover and all its contents inside
- Deep customizations: The most complete method among all those presented in this tutorial
How to use custom CSS in basic blocks
After installing the plugin, you will have access to a CSS editing box containing professional images. You can add custom styles to both the main container and each individual element within it, giving you a level of control unparalleled in Gutenberg.
Method 2: Elementor Pro – custom native CSS


If you are already investing in Element ProYou get access to a powerful feature: built-in custom CSS. This method allows you to add custom styles directly to your Elementor widgets and sections.
Step by Step: Custom CSS in Elementor Pro
- Select the item You want to customize it in Elementor
- In the side panel, go to the tab advanced
- Scroll until you find the section Custom CSS
- Add your custom CSS code
How to define customizable CSS classes
For more advanced customizations, you’ll need to specify the correct CSS classes:
- Right click on the item you want to customize
- He chooses “Inspect Item” or “to examine”
- like The development tools do the browsing It will open, displaying the element’s HTML and CSS
- Define the relevant CSS class
- Use this class in your Elementor Pro custom CSS field
A working example of custom CSS
selector {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
border-radius: 15px;
box-shadow: 0 10px 30px rgba(0,0,0,0.1);
transition: all 0.3s ease;
}
selector:hover {
transform: translateY(-5px);
box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}
Method 3: Elementor Free – Custom CSS at no additional cost


Here’s great news for anyone using the free version of Elementor: you can get the same power as Elementor Pro’s custom CSS without paying anything extra!
A custom CSS plugin for the element
Oh plugin Custom CSS for the element It adds custom CSS functionality to Elementor Free, replicating the premium feature for free.
How to install and use
- access Plugins > Add New No word
- Search for “custom CSS for Elementor”
- Install and activate the plugin
- Edit any page with Elementor Free
- You will see the new Custom CSS option in the Advanced tab
Custom CSS features for Elementor
- Completely free: There are no additional costs
- Interface similar to Elementor Pro: Easy transition if you decide to upgrade
- Same customization method: Use as DevTools to define CSS classes
- Compatible with all widgets: Works on any Elementor element
Compare the three methods
Basic blocks (Gutenberg)
Best for:Deeper and more complex customizations
Advantages: Advanced visual editor, IntelliSense, full control
Ideal for: Developers and designers using Gutenberg
Element Pro
Best for: Elementor power users
Advantages: Native integration, clean interface, official support
Ideal for: Who is already investing in Elementor Pro
Custom CSS for Elementor (Free)
Best for: Elementor for beginners and free users
Advantages: Free, easy to use and no basic restrictions
Ideal for: Who wants premium features without paying
Tips for using custom CSS safely
- Always make a backup: Before adding custom CSS, create a backup of your website
- Testing in a development environment: Try it first on a local or staging copy
- Use category-specific prefixes: Avoid conflicts with other styles
- Document your customizations: Write what each CSS code does
- Validate your CSS: Use tools like W3C CSS Validator
Basic tools for working with CSS
Development tools are in Navegador
Developer tools are essential for working with custom CSS:
- Chrome development tools: Press F12 or Ctrl+Shift+I (Windows/Linux) or Cmd+Option+I (Mac)
- Firefox Developer Tools: Same shortcuts as Chrome
- Edge development tools: Integrated into Microsoft Edge browser
Development tools resources
- Scan items in real time
- Live CSS editing
- View the box model
- Performance analysis
- Debugging the code
Practical use cases
1. Custom buttons with hover effects
Create unique buttons with smooth animations, improving user experience and increasing conversion rates.
2. Cards with shades and gradations
Design modern cards with stylish shades and colorful gradients, making your content more visually appealing.
3. Entry animation
Add subtle animations when items appear on screen, creating a more dynamic and professional experience.
4. Custom printing
Completely customize your website’s typography, including spacing, sizes, and special text effects.
5. Advanced responsive layouts
Create layouts that perfectly adapt to any device using custom media queries.
Common mistakes when adding custom CSS
1. Insufficient privacy
problem: Your CSS is not working because other styles are more specific.
solution: Use more specific delimiters or add !important moderately.
2. Incorrect syntax
problem: Syntactic errors that break all CSS.
solution: Validate your code and use editors with syntax highlighting.
3. Conflicts with themes and plugins
problem: Your styles conflict with existing CSS.
solution: Use unique categories and custom prefixes.
4. Affected performance
problem: Overly or poorly optimized CSS affects performance.
solution:Minimize the code and use only what is necessary.
Learning resources
To deepen your knowledge of CSS and WordPress, I recommend the following:
- MDN Web Docs: Complete documentation on CSS
- CSS tricks: Lessons and practical advice
- WordPress manuscript: The official WordPress guide
- Suprema channel on YouTube: Portuguese lessons about WordPress and web development
conclusion
Adding custom CSS in WordPress doesn’t have to be complicated. Using the three methods presented in this tutorial, you have options for any situation:
- Use s Basic blocks If you’re working with Gutenberg and want maximum power
- I listen Custom CSS for Elementor Pro If you are already a premium user
- stabilizing Custom CSS for the element If you are using the free version and want pro features
The key is to start with simple customizations and evolve as you gain confidence. Always remember to test in a safe environment and make regular backups.
Watch the full tutorial
Want to see all these methods in action? Watch the full video on the Suprema channel, where I demonstrate each technique step by step:
In the video you will see practical examples, live demonstrations and additional tips that do not fit into this article!
About the author
Daniel Carvalho He is a content creator for the Suprema channel, focusing on WordPress, UX design, and web development. With years of experience in digital projects, he shares practical knowledge to help designers and developers create better websites.
Did you like this tutorial? Share with other WordPress developers and subscribe to the Suprema channel for more content like this!
Do you have questions or suggestions? Leave a comment below and I’ll respond personally!
