Position modal close button

2 replies · opened Oct 15, 2016

SSemicolon WebSTAFFOct 17, 2016

Hello,

This is Definitely Possible. However, you will need to make some Customization to the Default Code. Please follow the Steps below:

  1. Please find the following code inside the modal: function() Function Block the js/functions.js File:
closeBtnInside: false,

and replace it with:

closeBtnInside: true,
  1. Add the following CSS Code:
.mfp-content { max-width: 600px; }

This will definitely work fine. Additionally, do make sure that the max-width: 600px; Value matches the Modal Max Width Value.

Thanks for your Patience. Do let us know if we can help you with anything else or if you find any further issues with Canvas.

JjohnjohnOct 20, 2016

Thank you very much!
Works great!

Have the same question, or something new?

Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.

Reply on the dashboard