Cool CSS Effects: Transform Your WordPress Site Using WPBakery

While making a website can be really easy and fast these days with an endless amount of themes to choose from and builders offering pre-made templates, sometimes you need the website to be more unique and stand out from the rest.

From subtle animations that breathe life into your buttons to smooth transitions that guide your visitors’ journey, these effects have the potential to elevate your site’s aesthetics and user experience. The good news? You don’t need to be a coding wizard to achieve these stunning results. With WPBakery Page Builder at your disposal, you can seamlessly integrate a plethora of CSS effects that will leave a lasting impression on anyone who interacts with your website.

Let me walk you through the process of adding CSS to your site while also showing you some beautiful effects that you can use yourself.

What is CSS?

CSS which is short for Cascading Style Sheets is what is used to style your layouts. So it’s the colors, font sizes, animations, all sorts of effects and other things that make websites look like they look.
As the purpose of this article is to add CSS effects to the site, let me quickly show you the structure of CSS code because that’s what we’re going to be adding.

CSS structure

We’re going to mostly be adjusting and changing the selectors and values if anything at all. But more about that later.

Built-in CSS Animations

Before diving into custom CSS and effects you can find on the internet, WPBakery comes equipped with built-in CSS animations that you can apply to multiple elements like button elements, Single Image, Text Block, Icons, and others.

Built-in animations

To add a CSS animation to an element:

  1. Open the edit window for the element;
  2. Scroll down to the CSS Animation section;
  3. Choose the effect;
  4. Click “Save changes”.

Where to find CSS effects?

As with everything these days, there are many ways to get your hands on some cool effects. The first is obviously Google.

Google Search

CodePen is another excellent option because it’s a community-driven resource where you can find code snippets shared by others and see how they will look.

CodePen

And last but not least everyone’s new personal assistant – ChatGPT. Which is an AI chatbot that will help you generate any effect you can think of as long as you ask the right questions.

ChatGPT

Apart from these, you can also find inspiration from Awwward, Dribbble, and Behance. All of these will give you an endless amount of inspiration, examples, and tutorials, and if used together will definitely help you make your website stand out.

How to add custom CSS in WBakery?

There are multiple ways you add custom code with WPBakery and every single one of them is quick and easy. You can add custom CSS to the whole site, to a page, to a specific element, and in one case – to a particular part of the text (I’ll walk you through this a little later).

So let me show you how to add CSS to any element. I’ll use a text block as an example.

  1. Add the element, Text Block in this case, to the page;
  2. Open the element edit window by clicking on the edit icon in the green controls that will appear when you hover over the element;
  3. Scroll to the bottom of the edit window and locate the Extra Class Name section;
  4. Add an extra call name to the element;
  5. Click Save Changes;
  6. Go to the Page Setting by clicking on the gear icon on the top right;
  7. Locate the Custom CSS section;
  8. Add your custom CSS code snippet;
  9. Add the extra class name you chose before as the selector;
  10. Click Save Changes and your effect will be applied.

As you can see, it’s basically just 2 big steps – give an extra class name to an element and then add your custom code with the extra class name you gave before.

Glow/Shadow Effect

The first effect we’re going to be looking at is simple yet effective – it’s the glow effect that can easily be made into a shadow.

Glow effect

To apply a glow effect to text, you just have to add a Text Block to a page, give it an extra class name, like “glow-effect” for example, and paste the following code snippet into the Page Settings:

.glow-text {
text-shadow: 0 0 10px rgba(255,255,255);
}

These are the values of this code snippet:

  • Horizontal offset: 0
  • Vertical offset: 4px
  • Blur radius: 6px
  • Shadow color: rgba(255,255,255)

You can adjust these values to make the effect fit your layout. For example, making this into a shadow, not a glow would require you only to change the color to black.

If you want to apply a glow or a shadow to a box rather than a text, add an extra class name to a bigger block of content, like a column or row. You can do that the same way you would to an element, just by opening the edit window for each of those.

This is the code snippet for a box shadow:

.box-with-shadow {
box-shadow: 0 0 10px rgba(0, 0, 0, 0);
}

Box shadow effect
Both of these effects can really elevate your design and highlight the most important things.

Effect on a specific word or phrase

Let’s say you don’t to add an effect to the whole text but you want to highlight a specific word or phrase within your text. That is easily done as well.

Glow effect for words

Start by adding a Text Block element and in the TinyMCE editor, choose the Text tab instead of the Visual tab.

Class name for text

Here instead of adding an extra class name to the whole element, you’ll have to add a class name to the specific words. If you already know how to do that, that’s great! But if you don’t you can ask ChatGPT to do that for you. This is the prompt I used to add the class name “traveling-glow” to the words “traveling is a way of living” in the first paragraph of the text.

ChatGPT promt

Now just replace the code original code with the one that ChatGPT generated, click Save changes and that’s the first and only step that’s a little different.

To add the effect, do the exact same as before. Add the code snippet to the Page Settings and change the selector to the class name that we gave before.

.traveling-glow {
text-shadow: 0 0 10px rgba(0, 0, 255, 0.7)}

Text highlight hover effect

Now that we’ve got the mechanics of adding CSS effects down, we can look at some more cool-looking effects. Like this hover effect that highlights your text in an interactive way.
This effect can be found on CodePen.

Here’s the code snippet for the effect:

a {
color: #000;
position: relative;
text-decoration: none;
}

a::before {
background: hsl(45 100% 70%);
content: "";
inset: 0;
position: absolute;
transform: scaleX(0);
transform-origin: right;
transition: transform 0.5s ease-in-out;
z-index: -1;
}

a:hover::before {
transform: scaleX(1);
transform-origin: left;
}
Hover text effect

To apply it to text in WPBakery, you guessed it, follow the same steps:

  1. Add a Text Block element;
  2. Give the element an extra class name;
  3. Copy the code snippet from CodePen and paste it into the Page Settings;
  4. Replace all selectors with the chosen extra class name.
Hover text effect

And once you click “Save changes”, the effect will be added.

Image hover zoom effect

Another interactive hover effect is this zoom effect that can be applied to any image.

Image zoom effect

This is the code snippet you need to apply this effect:

.img-hover-zoom {
height: 300px; /* [1.1] Set it as per your need */
overflow: hidden; /* [1.2] Hide the overflowing of child elements */
}

.img-hover-zoom img {
transition: transform .5s ease;
}

.img-hover-zoom:hover img {
transform: scale(1.5);
}

Remember: If you add the same extra class name to multiple elements, columns, or rows, the effect will be added to all of them.

All other steps are the same: extra class name to the Single Image element, copy-paste the code snippet in the Page Settings and you’re done.

Start styling!

Adding some extra styling to your site can be an easy process if you know where to look for some code snippets and have the right tools to add them to the site. As we saw from the examples, the WPBakery page builder allows you to add CSS code snippets to elements on the page and you can see them come to life without leaving the page.

Start experimenting and watch how your WordPress website comes alive with interactive, eye-catching elements that truly capture attention.

WPBakery 7.0: Redefining User Experience with a Major Branding Update

After an incredible 12-year run, WPBakery is shaking things up and giving our builder and brand a fresh new look.

We’ve been working our tails off over the past year to make your experience with WPBakery even better, easier, and faster.

The first step in that process was introducing multiple license plans for the first time in WPBakery history, so now you can get more licenses for less money which is perfect for agencies. And, of course, all licenses are issued under the lifetime plans.

And that’s not all, we’re giving WPBakery a facelift. It’s more modern, developer-friendly, and all-around better to work with. We want to take your website-building game to the next level and make sure you have a blast while doing it.

Join the party with over 5 million websites already using WPBakery page builder. Get ready for a fresh look, killer features, and a smooth and user-friendly interface that you won’t be able to resist.

Blank Page Wizard

While the theme you use is an essential part of the whole website design, sometimes you need a fully custom layout for a landing page. To ensure the opportunity for you to do so, we’ve introduced the option to start with a clean slate and choose a completely blank page to work with. With no default theme header, footer, or sidebar, just WPBakery and your imagination.

WPBakery Page Builder 7.0 Blank Page Wizard

You’ll see the Blank Page Wizard any time you create a new page with WPBakery. There you’ll just have to choose either “Blank Page” for a completely empty canvas or “Theme Layout” for a page with your theme styling.

WPBakery page builder is a marketing specialist’s dream for creating impactful landing pages. WPBakery simplifies the process of designing engaging and high-converting pages with the number of elements and features that it has. Unlock the power of WPBakery for your marketing campaigns with version 7.0.

Custom JavaScript

Even though WPBakery page builder is a no-code solution we don’t ever want to limit anyone to add extra functionality with custom code and we want to make that easy to do.

So far it was possible to add custom CSS to the whole site or to an individual page, but now with this update, you can also take advantage of your JavaScript skills.

WPBakery Page Builder 7.0 Custom JavaScript in Page Settings

To add custom JavaScript to the whole site:

  • Go to your WordPress admin panel
  • Hover over WPBakery on the left side menu
  • Click on “Custom JS”
  • Add your custom code

To add custom JavaScript to a specific page:

  • Open any page with WPBakery or create a new page
  • Click on the Page Settings at the top right (gear icon)
  • And scroll down to the custom JavaScript fields

With this update, you can effortlessly add your own custom JavaScript to expand your website’s capabilities and deliver personalized projects for your clients.

UI Improvements

Along with the new features, we also freshened up the editor with new colors, icons, and an updated logo.

Our logo has been a baker’s hat for all WPBakers, but now we’ve added a little cursor to it so no one would confuse us with an actual bakery. The new logo represents our commitment to improving the editor and introducing new functionality. By the way, there is a real bakery with the same name.

WPBakery Page Builder Old Logo Versus New Logo

When you open the editor of WPBakery 7.0, you’ll be met with rich colors and updated icons – you won’t be surprised by a completely new look that you won’t recognize, it’s the same editor just a little brighter.

The new icons are also optimized for better UX and they’re more responsive so they’re more accessible for every device.

WPBakery Page Builder Old Versus New User Interface

It’s about time we made some changes around here so this is a new look for the new era of WPBakery.

What’s next?

Version 7.0 is the turning point for WPBakery development so let this fresh look be a promise from us that we’re always working towards making WPBakery the best builder for your needs and we definitely won’t stop here.

While this update was amazing, this is only phase 1 in our efforts to deliver more tools for your website-building needs, so make sure to stay tuned! You can subscribe to our newsletter to be the first to know about any new releases, discounts, and everything else WPBakery related.