Hi couch folks,
i am currently struggling with finding a solution to a little challenge:
I have posts that are created using couch with a cloneable template / masterpage, that are listed on the front page. Now, the way the html page was originally created using bootstrap, the <div> containing the posts can only contain 4 posts in a row, or it will break or not be responsive any more.. the next 4 posts need to be put in a new <div> with a certain bootstrap class assigned to it (the class is always the same for the div though).
My question is, is it possible to automatically create a new div, once the number of 4 posts has been reached, so the layout doesn't break, no matter how many posts are created in the cms?
Thanks for any helpful advice!
Greetings
Sundance
i am currently struggling with finding a solution to a little challenge:
I have posts that are created using couch with a cloneable template / masterpage, that are listed on the front page. Now, the way the html page was originally created using bootstrap, the <div> containing the posts can only contain 4 posts in a row, or it will break or not be responsive any more.. the next 4 posts need to be put in a new <div> with a certain bootstrap class assigned to it (the class is always the same for the div though).
My question is, is it possible to automatically create a new div, once the number of 4 posts has been reached, so the layout doesn't break, no matter how many posts are created in the cms?
Thanks for any helpful advice!
Greetings
Sundance