---
title: "Comment by federico gomar on \"Column Filter Table with htmx, Alpine-js, and Django\" | Hashnode"
description: "Hi, Thanks for source. I have a problem with css in my project. When i change the .table-container td:nth-child(x), table width body change but not header and f"
url: "https://hashnode.com/posts/column-filter-table-with-htmx-alpine-js-and-django/62fda95d0cfd6de8c7d79920/comment/638d844264b7288d8d8e67ea"
---

[Discussion](https://hashnode.com/posts/column-filter-table-with-htmx-alpine-js-and-django/62fda95d0cfd6de8c7d79920)

Comment [Column Filter Table with htmx, Alpine-js, and Django](https://hashnode.com/posts/column-filter-table-with-htmx-alpine-js-and-django/62fda95d0cfd6de8c7d79920)

[federico gomar](https://hashnode.com/@fed988)

[Dec 5, 2022](https://hashnode.com/posts/column-filter-table-with-htmx-alpine-js-and-django/62fda95d0cfd6de8c7d79920/comment/638d844264b7288d8d8e67ea)

Hi,

Thanks for source. I have a problem with css in my project. When i change the .table-container td:nth-child(x), table width body change but not header and filter in the template "\_table\_col\_filter.html" .

thanks

[Sam Hausmann](https://hashnode.com/@sam146)

[Mar 11, 2023](https://hashnode.com/posts/column-filter-table-with-htmx-alpine-js-and-django/62fda95d0cfd6de8c7d79920/comment/638d844264b7288d8d8e67ea#reply-640cf5004fa31046e9fa3975)

Hello, same issue here. The rows with data in them aren't aligning with the headers. Any suggestions?

[federico gomar](https://hashnode.com/@fed988)

[Mar 12, 2023](https://hashnode.com/posts/column-filter-table-with-htmx-alpine-js-and-django/62fda95d0cfd6de8c7d79920/comment/638d844264b7288d8d8e67ea#reply-640e4850541e68535cd97f6e)

[Sam Hausmann](https://hashnode.com/@sam146) hi, for me,the problem came from the version of boostrap that I had used. boostrap 5 instead of 4
