WA Forums
Close panels on OMNI - Printable Version

+- WA Forums (https://webassist-pro.com/WAforum)
+-- Forum: Introduction (https://webassist-pro.com/WAforum/forumdisplay.php?fid=1)
+--- Forum: Project Seven (https://webassist-pro.com/WAforum/forumdisplay.php?fid=10)
+--- Thread: Close panels on OMNI (/showthread.php?tid=24)



Close panels on OMNI - bizpat (Patrice) - 01-04-2025

Create a button called CLOSE

Add to core.css

<!--custom -->
.opm-panel {position:absolute;left:-9000px;top:-9000px;overflow:hidden;visibility:hidden;width:100%;}
.opm-panel-wrapper {position:relative;overflow:hidden;}
.opm-panel-layout {position: relative;width: 100%;height: auto;}


and then on the page, depending on which panel will be the close, this is inline
this must be specific to the panels

example (to have panel 7 closed)



<style type="text/css">
#p7OPMpn_1_7,
#p7OPMpn_1_7 *
{
padding: 0;
}
#p7OPMpn_1_7 .opm-panel-content {
height: 0px;
}
</style>