How do I make duplicated div blocks in Webflow independent of each other when changes in one block affect the others? Additionally, how can I remove extra side space on my Webflow site?

TL;DR
  • Assign a new class or unlink symbols to make duplicated divs independent and prevent shared styling.  
  • Fix side spacing by checking for overflowing elements, adjusting large margins/paddings, and setting overflow: hidden on the Body or main wrapper.

When duplicated div blocks in Webflow reflect changes across all copies, it's because they share common classes or symbols. Here's how to make them independent and address side spacing issues.

1. Make Duplicated Div Blocks Independent

  • When you duplicate a div block, it retains the same class and styling. Changing one affects all with that class.
  • To make them independent:
  • Select the duplicated div.
  • In the Selector field, click the class name, then choose Duplicate Class or Create New Class.
  • This creates a new class (e.g., div-block-2) so styles won't be shared.
  • If a Symbol is used:
  • Right-click the symbol and select Unlink Instance to edit it independently.

2. Remove Extra Side Space (Horizontal Scroll)

Extra side space usually comes from elements exceeding the viewport width. To fix this:

  • Check for overflowing elements:
  • Select the Body and all sections.
  • Look for any elements with width set to 100vw, fixed px margins, or large images that overflow.
  • Use overflow settings:
  • Set overflow: hidden on the Body or a top-level wrapper div to contain oversized elements.
  • To do this: Select Body → Style Panel → Overflow: Hidden.
  • Inspect for unwanted margins or padding on the left/right side:
  • Check your containers or sections for unexpected padding-right or margin-left.
  • Avoid using fixed or absolute elements that exceed 100% width unless intentionally placed.

Summary

To make duplicated divs independent, assign each one a new class or unlink symbols. For side space issues, check for overflowing elements or large paddings/margins, and apply overflow: hidden to the Body or main wrapper if needed.

Rate this answer

Other Webflow Questions