Skip to content

link navbar #539

Answered by lo5
rmfjd78 asked this question in Q&A
Feb 1, 2021 · 1 comments · 7 replies
Discussion options

You must be logged in to vote

Instead of replacing the zone, replace the cards in the zone.

In your case, you can del q.page['Home'] and then do:

q.page['some_other_content`] = ui.markdown_card(
	box=ui.boxes('content', 'sidebar', 'sidebar'),
	title='',
	content=some_other_markdown,
)

The idea is to keep the zones (the layout of the page) fixed, and add/remove cards to the various zones.

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@rmfjd78
Comment options

@lo5
Comment options

@rmfjd78
Comment options

@rmfjd78
Comment options

@rmfjd78
Comment options

Answer selected by rmfjd78
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants