Popup Window Size
in Shortcodes
Hi I want to make some popup that work on a button.
So I put the following in the content
[popup title="Content" padding="25" button="1"]
<img src="https://i-gis.dk/wp-content/uploads/2024/03/1200px-QGIS_logo_2017.svg-1.png#16363" style="border:1px solid black">
<h3>Raster Data</h3>
<p>Efter kurset kan du følgende:</p><br>
<p><li>Upload af data</li></p>
<p><li>Download af data</li></p>
[/popup]
So I wonder how to control size of the popup etc.
And is there a smarter way to do this?
I was thinking the template popup... but I can't find out how to get that to work on a popup /button?
Comments
Hi,
I recommend using the template to have higher customization options.
To open a popup from a button, do the following:
When you create a template, open Settings, change Display trigger to "On click", copy popup ID and update template with condition to "Entire site".
Then open the page where you want to display your popup, add a Button element, change Functional button to "Open Popup" and put the popup ID below.
Best regards
Great... I also found the video after the post:
https://www.youtube.com/watch?v=MWejMVADLAk
it was on youtube but not here ? : https://muffingroup.com/betheme/popup-builder/
But how do you duplicate a template?
I have the duplicate installed but no option to clone/copy ?
1) On the feature page, we present a brief introduction to the feature.
If you search for video tutorials, I suggest checking the following link:
https://support.muffingroup.com/video-tutorials/
2) Open the Permissions tab and check the templates.
Best regards