To create a pop-up window with specific dimensions in Webflow, you can follow these steps:
1. Start by creating a new section on your page where you want the pop-up to appear. Give it a unique identifier, such as setting its class name to "popup-container" or creating a new combo class.
2. Inside the popup container section, create a new div block or use an existing one. Assign a class name to it, such as "popup-content", so you can style it later.
3. Adjust the dimensions of the popup container by setting its width and height using the width and height properties in the Style panel. You can set a fixed pixel value, percentage, or use other units based on your design needs.
4. Inside the popup-content div, add an H1 or H2 title element by dragging and dropping the Heading element from the Add panel. Customize the text and style it accordingly.
5. Below the heading, add a Text Block element for the paragraph text. Add the text and apply the necessary styles to match your design. If you want to add external links, you can use the Link element within the Text Block.
6. To create a close button, you can either use a button element or a div block styled like a button. Place it at the top-right or top-left corner of the popup-content div. You can add an icon or text to symbolize the close action. Apply suitable styles and interactions to make it visually appealing and functional.
7. To trigger the popup, you can make the popup container initially hidden by setting its display property to "none" in the Style panel.
8. Next, add an interaction to make the popup appear when a specific event occurs. For example, you can create an interaction on a button or link that triggers the display of the popup by changing the display property of the popup container to "flex" or "block".
9. To close the popup, you can create another interaction on the close button or any other desired element. This interaction should change the display property of the popup container back to "none", effectively hiding it.
10. Finally, you can further customize the styles of the popup container, popup-content, and other elements to match your design aesthetic using the Style panel.
Remember to preview and test your pop-up window to ensure it functions as expected and looks great on different devices and screen sizes.