text that flows from one column to the next
-
Hello,
i work a lot with indesign and unfortunately i am not very familiar with text design options in laytheme. I need a way to split text into two columns. I would like the text to flow from one column to the next, depending on the browser dimension. Is there anyone who can help me with this?
Greetings, (another) Armin
-
https://developer.mozilla.org/en-US/docs/Web/CSS/columns
https://developer.mozilla.org/en-US/docs/Web/CSS/column-gapIn the gridder, right click on the element and choose "set html class and id". For "html class" enter:
mycolumns
Enter the custom css in "lay options" -> "custom css & html".
.mycolumns{ columns: 2; column-gap: 20px; } -
https://developer.mozilla.org/en-US/docs/Web/CSS/columns
https://developer.mozilla.org/en-US/docs/Web/CSS/column-gapIn the gridder, right click on the element and choose "set html class and id". For "html class" enter:
mycolumns
Enter the custom css in "lay options" -> "custom css & html".
.mycolumns{ columns: 2; column-gap: 20px; }@arminunruh Thank you so much! This was really easy.
-
https://developer.mozilla.org/en-US/docs/Web/CSS/columns
https://developer.mozilla.org/en-US/docs/Web/CSS/column-gapIn the gridder, right click on the element and choose "set html class and id". For "html class" enter:
mycolumns
Enter the custom css in "lay options" -> "custom css & html".
.mycolumns{ columns: 2; column-gap: 20px; }Hey Armin, sorry – one more question about this. I worked with this code and everything seemed fine with Firefox.
With Safari, the columns break if you open and close several 'collapsed' rows that include the two-column script.
Please see for yourself: https://arminlorenz.net/home/home-copy/
Is there any way to fix this?
Thank you!
Armin -
try this:
.mycolumns>div{ columns: 2; column-gap: 20px; }instead of the previous css!
-
try this:
.mycolumns>div{ columns: 2; column-gap: 20px; }instead of the previous css!
@arminunruh Thank you! Much better now.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login