Hi everyone, please I’d like to know how i can change the position of the smart window. from the inspect element, am able to play with the position, but when i try to use my own value in my css file, it never gets applied.
How can i change the default position?
below is the css that i found on the inspect tool that allows me play with the position, but when i change the value, it never gets applied to the smart window.
also is there any way to make the modal open onclick instead of double clicking?
To change the position there are two ways.
The first way is with CSS as shown here in the demo: codepen
The second way is to use the move() method. Here is a link for that: moveMethod
The method accepts the left and top positions.
Also, we do not support opening the modal with a single header click. It will cause a problem with the drag.
If you have any additional questions, do not hesitate to contact us!