Hello everyone, this is my first post here in the Corvid Forum. I'm trying to learn a little bit more about coding to enhance a web page that I'm building.
I'm building a website for a Tour Agency. In their old site, they made a different page for each one of the tours they offer (they offer around 40 different types of tours). I decided to use a dynamic page instead and create a collection to avoid having too many pages and improve the loading time. Since you cannot add formats in a collection, I added several placeholder text boxes in order to add all paragraphs and list items, like this:
Each placeholder text box is connected to an entry in my collection:
In this example, the Paragraph 4 entry is empty because I want space between the first entries and the ones that come later.
I am having a problem, though. Not all tours have long itineraries and all the empty placeholder text boxes are just covering space, creating a white gap between the text and the footer:
What would you recommend? Is there some type of code that makes the text boxes disappear when their value is empty? Is there a better way to display text? The reason why I do not put all the text in just one entry es because I want to display it this way but without the white gap:
Thank you very much for your help!