How to change a style without affecting other elements?
Changing a style in Webflow only to find that the same element across your entire site also changed is one of the most common frustrations for new users. The root cause is almost always class reuse — and the fix is straightforward once you understand how Webflow's styling system works.
Understanding how Webflow classes work
In Webflow, classes are global. When you assign a class like button-primary to an element, any style changes you make to that class apply to every element using it — on every page. This is by design and is what makes Webflow efficient for maintaining consistent designs.
If you want to change one element without affecting others, you have three main options:
Create a new class
The simplest approach: select the element, then type a new class name in the Style panel instead of reusing an existing one. This gives the element its own independent styles that won't cascade elsewhere.
For example, if you have a card class but need one card with a different background, create card-featured and style it separately.
Use a combo class
Combo classes let you extend an existing class with additional overrides for a specific instance. To create one:
- Select the element that already has a class assigned
- Click the plus icon next to the current class name in the Style panel
- Type a second class name (e.g.,
card+dark) - Style the differences — only elements with both classes will receive these overrides
Combo classes keep your base styles intact while allowing per-instance variations.
Use an HTML embed for inline styles
For truly one-off styling that shouldn't exist anywhere in your class system, drop in an HTML Embed element and write inline styles directly. This is rarely necessary but useful for edge cases like unique email-compatible layouts or third-party widget styling.
When to use each approach
- New class — the element needs fully different styling
- Combo class — the element shares most styles but differs in a few properties
- Inline style — a one-off exception that won't repeat
The key takeaway: in Webflow, classes are shared globally. If you don't want changes to propagate, don't reuse the class — create a new one or layer on a combo class.
Want to skip the build?
Browse 60+ premium templates and launch your site in days, not weeks.