Shedule for a Gym from the database

Hello I’m relatively new to Webflow.
I know how to code in JS and i have an idea how to solve my problem in Code but not in webflow.

I want to create a lesson-shedule page for a local gym that is sorted by weekday. And I got this to work how it should, but i can’t figure out how to place them properly so and to size it according to the length of the session. so when it’s a two hour session it should be twice as long :slight_smile:

Any ideas on that? Or maybe a tool/site with which i can achive this?

Thanks in advance :slight_smile:

Here is my site Read-Only: Webflow - Crossfit Holzhausen

Hi @Matthias_Skopek ,
You can create an option field in your CMS with all the relevant options for length (eg. 1, 2, 3), and use JavaScript to edit the grid child style for each element by the select field value.

I have a similar idea clonable here:

Thank you. That helped a lot.

1 Like