To apply a background color to the entire grid section in Webflow when you're using divs in each grid cell like a table, you need to target the grid container itself.
1. Select the Grid Container
- Click on the grid element (not the individual divs inside the grid).
- Make sure you're editing the parent div that uses display: grid.
2. Apply a Background Color
- In the Style panel, scroll to the Backgrounds section.
- Choose your desired color under the Background field.
- This covers the full area of the grid, including gaps between cells (unless padding/margin makes gaps transparent).
3. Check for Gaps or Padding
- If you see white space or the background does not fill as expected:
- Make sure the grid container has no padding (unless desired).
- Check that grid rows and columns stretch to fill the space (avoid fixed pixel heights if you're expecting it to scale).
- Ensure child divs have transparent backgrounds if you want them to let the grid background show through.
4. Optional: Extend Full Width or Height
- To extend the background across the full page width:
- Set the grid container’s Width: 100%.
- To extend height, set Height: 100vh or use spacing via Margins/Padding to visually contain the section.
Summary
To apply a background color to the entire grid table section, select the grid container, not individual cells, and set the background color in the Style panel. Ensure layout settings (like padding and gaps) don’t interfere with full visual coverage.