How to expand a card in classic theme over the full page width?

I just started out with Anvil and created a new project based on the classic theme, which uses cards to display content. I am developing mainly for normal web browsers (i.e. no mobile). If the browser tab is not too wide, then these theme cards look fine:

However, when I broaden the browser tab, then these cards expand to some kind of “maximum width”, with empty space to left and right of the card:

How can I set these cards so that they expand to the full page width?

Look for a “full width row” checkbox in the Parameters section on the right. You might have to expand the bottom subsection to see it.

Look for a “full width row” checkbox in the Parameters section on the right. You might have to expand the bottom subsection to see it.

Thanks, that did the trick - or at least half of it. For the records, I also had to set that flag accordingly when I programmatically add the form (i.e. content) to the card:

self.main_card_panel.add_component(HomePanel(), full_width_row=True)

Thanks for your help!

4 Likes