Hi, I am trying to create a dynamic list of links to go in the footer on my website but i have been unable to find a good solution.
I am currently using a standard unordered list with a repeating region which is then split into columns using the column-count attribute. This however distributes the links evenly between the columns.
What I am aiming for is a list that only creates a new column when the previous column reaches a specific amount e.g 6 links per column max. I'm not sure the column-count route would work how i want and i was thinking javascript or PHP might be more appropriate but i'm not sure how i could accomplish it.
Anyone got any ideas of how i could implement this?