Skip to content

Updating body element #882

Answered by daun
nathanielnakache asked this question in Help
Mar 13, 2024 · 2 comments · 3 replies
Discussion options

You must be logged in to vote

I see. Swup doesn't support swapping out the whole body. You've set <body id="swup">. If you pick another element down the tree (like a main element, i.e. your main content container), it should work as expected. If your chat widget is outside of that main content container, it will not be modified and just work as expected.

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@nathanielnakache
Comment options

Comment options

You must be logged in to vote
2 replies
@nathanielnakache
Comment options

@daun
Comment options

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