Sign in

How to Create Modal Popup?

  • This topic has 2 replies, 2 voices, and was last updated 8 months ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #9690
    Avatar photokevin0425

    How to Create Modal Popup in Publii?

    Avatar photocandidexmedia

    Do you want a modal that is activated when clicked on, or a modal that’s activated after a certain time on a site?

    If it’s the former, check out the following tutorial:

    Add the HTML and script either in the source code of a WYSIWYG post (if it’s just for one post) or add it to a partial/page if it shows up on multiple pages. Add the CSS to the Custom CSS module in the GUI or main.css in your site files.

    Avatar photokevin0425

    Thanks for the input. It helps me a lot.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.