Maybe you want to show some pics of your setup ?
I’ve coded an ability to change page layouts
Coded where ?
a) on wix-page?
b) html-component?
c) custom-element?
What code did you use?
Where is that code?
You want answers, without providing code and details.