top of page

How to Add a Blur Effect to Your Wix Studio Header Using CSS

  • Writer: CD Studio .
    CD Studio .
  • Mar 5, 2024
  • 2 min read

Updated: Sep 14, 2024

Are you looking to enhance the visual appeal of your Wix website? Adding a blur effect to your header can add a touch of elegance and sophistication. With Wix Studio, you can easily achieve this using CSS. In this guide, I'll walk you through the step-by-step process to accomplish this.



Step 1: Make the header transparent from the inspector

ree

Before applying the blur effect, it's essential to make sure your header is transparent. Here's how to do it:

  1. Select the header

  2. Open Inspector, Under Design, Set the Background colour opacity to 0%.

Step 2: Turn on Developer Mode

ree


To access and edit the CSS of your Wix website, you need to enable Developer Mode. You can find the Developer mode tab on the left side of the Wix Studio Editor

Step 3: Open the Global.css File

ree

Developer Mode enables you to access and modify the CSS of your Wix website. Here's how to open the Global.css file:

  1. Open Developer Mode Tab from the left side icon

  2. Click on Page Code, Under CSS, You can find 'global.css'

Step 4: Paste the CSS Code

ree


.headerBlur{
    background-color: rgba(255, 255, 255, 0.3); /* Change the color and opacity as needed */
    backdrop-filter: blur(10px); /* Adjust the blur effect */
    -webkit-backdrop-filter: blur(10px); /* For Safari */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Optional:  shadow  */

}

Step 5: Apply the CSS Class to Your Header

ree

To apply the blur effect to your header, you need to add the CSS class you've defined to the header element:

  1. Select header

  2. Under code panel, on the right side of the screen, open CSS Classes

  3. In Custom classes input field, type headerBlur followed by a comma(,)

  4. Now you can see your header blurred

Step 6: Preview and Publish

Once you've added the CSS class to your header, preview your website to see the blur effect in action. If everything looks good, don't forget to publish your changes to make them live on your website.

Congratulations! You've successfully added a blur effect to your Wix Studio header using CSS. This simple yet effective technique can elevate the visual appeal of your website and make it stand out from the crowd. Experiment with different blur intensities and other CSS properties to customize the effect to your liking. Happy designing!



Comments


bottom of page