How can I create a custom modal pop up in Webflow that allows me to click out of it and only shows the relevant teammate's bio?

Published on
September 22, 2023

To create a custom modal pop up in Webflow that allows you to click out of it and only show the relevant teammate's bio, you can follow these steps:

  1. Create a Modal Element:
  • Open your Webflow project and navigate to the page where you want to add the modal pop up.
  • Drag and drop a Modal element from the Add Panel onto your page.
  • Customize the design and layout of the modal pop up according to your preferences using the Style Panel.
  1. Design the Teammate Bio Content:
  • Inside the Modal, design the bio content for each teammate using the desired elements like text, images, etc.
  • You can create a separate section or div for each teammate's bio.
  1. Add Trigger Buttons:
  • Create a trigger button that will open the modal pop up when clicked.
  • Place this button wherever you want on your page, such as a thumbnail or a bio summary section.
  • Give the trigger button a unique class name for targeting purposes.
  1. Add Interactions:
  • Select the trigger button and navigate to the Interactions Panel.
  • Click on the "+" icon to create a new interaction.
  • Choose the trigger type as click and add an action to show the modal element you created earlier.
  • You can adjust the animation and timing options as per your preference.
  1. Link Trigger Buttons to Relevant Teammate Content:
  • For each trigger button, you'll need to set up a conditional visibility rule for the bio content section inside the modal.
  • Select the bio content section inside the modal and navigate to the Style Panel.
  • Scroll down to the Visibility settings and choose "Hidden" as the initial visibility.
  • Click on the "+" icon to add a new conditional visibility rule.
  • Set the condition to match the class or ID of the trigger button associated with the teammate whose bio you want to display.
  • Choose "Show" as the visibility setting for this condition.
  1. Close Modal on Click Outside:
  • By default, Webflow's Modal will automatically close when you click outside of it, so you don't need to set up an additional action for that.
  1. Publish and Test:
  • Once you have set up the modal and linked the trigger buttons to the relevant teammate's bio content, publish your site.
  • Test the functionality by clicking on the trigger buttons and verifying that the correct teammate's bio is displayed in the modal pop up.
  • Make any necessary adjustments to the design or behavior as needed.

Now you have successfully created a custom modal pop up in Webflow that allows you to click out of it and only shows the relevant teammate's bio. Enjoy showcasing your team with style and interactivity!

Additional Questions:

  1. How can I customize the design of a modal pop up in Webflow?
  2. Can I add videos or other media elements inside a modal pop up in Webflow?
  3. How can I make the modal pop up appear after a specific time delay or scroll interaction?