How to Transfer Accordion from Weebly to Wix
- Daniel Kalman
- Aug 22, 2023
- 1 min read
Updated: Jun 10, 2024
Note: This method is no longer in use as of 2024. Please refer to this article to create the current accordion.
Install this extension in browser: https://chrome.google.com/webstore/detail/tampermonkey/dhdgffkkebhmkfjojejmpbldmpobfkfo
Go to https://thongthaibm.net/danny/copy.user.js to install the script
Go to Weebly site. A "copy" yellow button on top of the accordions will appear.
4. Click the button to copy the code for the accordion.
5. Go to Wix and embed the accordion code.
6. Go to Settings > Custom Code and add these 2 codes on the header.
Code that will make the accordion function
<script src="https://thongthaibm.net/danny/assets/jquery.min.js"></script>
<style>
@media only screen and (max-width: 480px) {
#comp-llvs7gxx{
min-height: 351px;
}
#comp-lmg3qxzg1{
min-height: 300px
}
}
[data-mesh-id=comp-lm8zajocinlineContent-gridContainer] {
min-height: auto !important;
}
</style>
<script src="https://thongthaibm.net/danny/handleAccordions.js?v=3"></script>
Code that will ensure the other iframes on the site will work