← Blog

Blog

OBS Browser Source Settings: Size, Transparency and Refresh

The OBS browser source settings that matter for overlays: width and height, the default transparent CSS, Shutdown source, Refresh on scene active and FPS.

Written by Nang Ang

7 min readobsbrowser-sourceoverlayschatalertsclips

The short answer

An OBS browser source is a web browser inside OBS that draws a page as a source. For a clean overlay, set the width and height yourself to match the design (a full-screen overlay on a 1920x1080 canvas is 1920 by 1080), leave Custom CSS at its default so the background stays transparent, and leave Shutdown source when not visible and Refresh browser source when scene becomes active off unless you have a reason to change them.

Treat the browser source like a fixed-size screen, not like a random web page. Most overlay problems come from one of those three settings.

The defaults, from the OBS Knowledge Base

These are the values OBS gives a new browser source, according to the OBS Knowledge Base. Knowing them tells you what to change and what to leave alone.

  • Width and Height: 800 by 600. Almost no overlay is this size, so set both.
  • FPS: 30. This is the rate the page is drawn at, set per source.
  • Custom CSS: body { background-color: rgba(0, 0, 0, 0); margin: 0px auto; overflow: hidden; }. It makes the background transparent, removes the body margin and hides scroll bars.
  • Shutdown source when not visible: Off.
  • Refresh browser source when scene becomes active: Off.
  • Local file: Off, so the source loads the URL you enter.

Set the size first

The Width and Height fields set the viewport the page renders in, so the page lays itself out for that size. Dragging a corner of the source in the preview only scales the picture; it does not change the viewport. That is why a dragged overlay can look blurry or still show a scroll bar.

Set the fields to the size the overlay was designed for, then move and scale it in the scene if you need to.

  • Full overlay: match your canvas size, for example 1920 by 1080.
  • Chat or alert box: use the fixed size the design asks for. For alerts, leave room for the longest username and message you expect. Streamable Alerts uses 640 × 360 (setup guide).
  • Clips player: keep a 16:9 frame unless the design says otherwise.

Keep the background transparent

The default Custom CSS is what makes most overlays sit cleanly on top of video. If you see a white or black box behind an overlay, check two things: whether the Custom CSS was edited or cleared, and whether the page itself sets a background color. Restoring the default CSS fixes the first. For the second, look in the overlay’s own settings or URL options for a background setting; only add your own CSS rule if you know the selector the page uses.

If you cannot tell which it is, test with one source, one URL and one scene. Add things back one at a time.

Choose refresh behavior on purpose

Both refresh-related checkboxes are off by default, and each has a cost when you turn it on.

Shutdown source when not visible unloads the page when the source is hidden or its scene is not active. For a static label that is fine. For chat, alerts or a clips player, the page starts from scratch when it comes back. Refresh browser source when scene becomes active reloads the page on every switch to that scene, which suits a simple page that should restart and does not suit one that keeps state.

When a source is stuck on an old version of a page, use the Refresh cache of current page button in its properties. It reloads the page and its content immediately.

  • Keep a test scene where you can reload overlays without touching the live scene.
  • Change one setting at a time, so you know which one fixed it.

Use it in Streamable's cloud OBS

In Streamable's cloud-hosted OBS you add an overlay the same way: a browser source with the overlay's URL, then the same width, height and CSS checks. The difference is that the browser source runs in the cloud OBS, so your overlays do not depend on your own computer staying on. That is useful for IRL streams, where the streamer is on a phone.

Chat works the same way. The free combined chat overlay for OBS shows Twitch, Kick and YouTube chat in one browser source.

If an overlay is blank rather than badly sized, work through the checks in the troubleshooting guide.

Streamable remote OBS interface for managing sources and scenes.

Are you an IRL streamer? Give Streamable a try!

Here's how Streamable helps you stay live:

  • Premium Cloud Streaming Servers
  • Stream Drop Protection with Clips Player
  • Multiple Ingests, Switch scenes without pausing stream
  • Collaborative Streaming / Share Ingests with Friend Requests
  • Remote OBS
  • DDoS protection
  • much, much more!

Related posts

Follow us on Social Media

Follow along for updates and tips:

Optional: Deep-Dive FAQ

Open only if you still need extra troubleshooting context.

What size should an OBS browser source be?

Match the overlay's design. A full-screen overlay on a 1920x1080 canvas should be 1920 wide and 1080 high. New browser sources start at 800x600, so change both fields.

Why does my OBS browser source show scroll bars?

The page is larger than the source's width and height, or the Custom CSS was changed. The default CSS hides overflow, so restore it and set the size to match the page.

Why does my OBS overlay have a white or black background?

Usually the Custom CSS was edited or cleared, or the page sets its own background. Restore the default CSS, which sets the background to transparent.

Should browser sources refresh when a scene becomes active?

Only if you want the overlay to restart on each scene switch. The option is off by default. Leave it off for chat, alerts and clips that need to keep their state.

What FPS should an OBS browser source use?

The OBS default is 30. It is set per source, separate from your stream's frame rate, so leave it unless an animated overlay looks choppy.