Hello everyone. I have a paragraph inside a div which size varies with the screen size. I want this paragraph to split into two or more columns when the div width goes beyond a certain size.
I could make this with columns, but I want the browser to decide how many words should be inside a column, depending on the situation.
The column widget of Webflow will not allow text to pass from a columns to another. You can try to make it work but it’s more for layout than text.
There’s a column CSS property but I guess it’s not in webflow by default because it still is badly supported by some browsers. However, when it doesn’t work, it degrades nicely by just displaying a box of text, without columns.
You can add the CSS to the head of your site in the settings.
Thanks a lot! This way the words can go from a column to another. But what I want in the first place is a variable number of columns. Is it possible to fix this as well?
This is my Photoshop mockup:
The webflow widget will do exactly that minus the columns for the text.
And unfortunately we can’t change the classes in between devices (yet). So if you use my method for the columns, the columns appear for all viewports. You need more code to make them responsive.
As long as I understand, the webflow widget doesn’t allow to have columns one under the other in desktop mode, but just in tablet and mobile. So in desktop mode it just squeezes my two columns.
I’m trying with custom code.
In the w3schools editor I managed to have more or less what I want, adding “column-width”.
Now I’m trying to add it to my paragraph class called “slide paragraph”, but it doesn’t work.
I’m a total noob, so maybe its just something easy to fix.