How to fix the width of a column
Hi,
I have a container with two columns. I want to set the width of one column to a fix value like 150px. How does that work? I tried custom CSS:
width:150px
But it seems not to work.
I have seen this thread, but the CSS does not work:
https://support.brizy.io/hc/en-us/community/posts/360068387412-Fixed-Column-Height-Column-Width
Any help appreciated,
Uli
-
Hi,
I'm sorry but as I said in the post you shared here, it isn't possible to set a fixed column height. The column height depends on the content you have added to the column and it can't be modified.
Let us know if we can help you with something else.Best regards,
Sandra0 -
Hi Sandra,
my question was not to fix the column hight, I know the height depends on the content. I want to fix the width. Does that make any difference?
Uli
0 -
Hi,
I'm sorry. You referred me to a post about the column height and stayed this that idea.
Regarding width - in Brizy builder, the column width is set in the percentage value. This is created for responsive reasons. You can try to replace Brizy value, with yours but for this, you have to add in your code also the "!important" (width: 150px !important;) but I can't ensure it will work fine and will not cause some visual inconvenience on the responsive. For this reason, we recommend using the % value instead of px value.Best regards,
Sandra0
Please sign in to leave a comment.
Comments
3 comments