Enhance Your Live Streams with Custom CSS in OBS Studio

Table of Contents:

  1. Getting Started
  2. Writing Custom CSS
  3. Testing and Applying
  4. Tips for Working with Custom CSS in OBS Studio
  5. Using Custom CSS in Browser Source

Getting Started:

Before diving into Custom CSS, make sure you have the latest version of OBS Studio installed on your computer. Once you've launched OBS, follow these steps to access the Custom CSS feature:

  1. Open OBS Studio and go to the scene where you want to apply Custom CSS.
  2. Right-click on the source (such as an image or text) to which you want to apply custom styling.
  3. Select "Filters" from the context menu.
  4. In the Filters window, click the "+" button to add a new filter.
  5. Choose "Effect Filter" and select "Custom CSS."

Writing Custom CSS:

Now that you've added the Custom CSS filter, it's time to write your own CSS code. This code will define the appearance and behavior of the selected source. Here are some common use cases and examples:

      /* Resizing and Positioning */
      width: 50%;
      height: 50%;
      left: 25%;
      top: 25%;

      /* Color and Styling */
      color: #ff0000; /* Red text color */
      font-size: 24px;
      font-family: 'Arial', sans-serif;

      /* Transformations */
      transform: rotate(45deg);

      /* Opacity */
      opacity: 0.8; /* Ranges from 0 (transparent) to 1 (opaque) */

      /* Animations */
      @keyframes slide-in {
        from {
          transform: translateX(-100%);
        to {
          transform: translateX(0);
      animation: slide-in 1s ease-out;

Testing and Applying:

As you write your CSS code, you can test the changes in real-time by clicking the "Refresh" button in the Filters window. OBS Studio will apply the CSS code immediately, allowing you to fine-tune your customization until you achieve the desired look.

Remember, CSS is a powerful styling language, and you can experiment with various properties to achieve unique and eye-catching effects. Additionally, you can apply multiple Custom CSS filters to a single source, allowing for complex and layered customizations.

Tips for Working with Custom CSS in OBS Studio:

  1. Backup Your Scene: Before making extensive changes, duplicate your scene or save your current settings to avoid losing your work.
  2. Learn CSS Basics: Having a basic understanding of CSS will empower you to make more informed and effective customizations. Online resources like MDN Web Docs offer comprehensive CSS guides.
  3. Community Support: Join online communities, forums, or social media groups related to OBS Studio. Experienced users often share valuable tips and CSS snippets.
  4. Stay Updated: Keep an eye on OBS Studio updates, as new features and improvements may enhance the Custom CSS experience.

Using Custom CSS in Browser Source:

To use Custom CSS in Browser Source, follow these steps:

  1. Open OBS Studio and create a new scene or select an existing one.
  2. Add a new Browser Source by clicking the "+" icon under the Sources section.
  3. Enter the URL of the webpage you want to display.
  4. Check the "Local file" option if you're using a local HTML file.
  5. Click "OK" to add the Browser Source to your scene.
  6. Right-click on the Browser Source in the Sources list and select "Filters."
  7. Add a new filter and choose "Effect Filter" > "Custom CSS."
  8. Write your CSS code to customize the appearance of the webpage.
  9. Click "Close" to apply the CSS code and view the changes in your scene.

Note: Modifying the custom CSS in the browser source window overrides the default page style that is loaded in the browser source. You can style the elements inside the page directly from the custom CSS field.

Custom CSS in OBS Studio opens up a world of possibilities for streamers and content creators to express their unique style. By leveraging the power of CSS, you can transform your scenes and sources, creating a visually stunning and engaging streaming experience for your audience. Take the time to experiment, test, and refine your customizations, and watch as your creativity comes to life on the screen.

Last updated


Leave a Comment