I have made a modal window on our discourse.
She is opened by clicking on a menu link in the header.
This is the HTML of the modal window in the header css section :
<!-- Modal One --> <div class="modal1"> <input class="modal1-open" id="modal-one" type="checkbox" hidden> <div class="modal1-wrap" aria-hidden="true" role="dialog"> <label class="modal1-overlay" for="modal-one"></label> <div class="modal1-dialog"> <div class="modal1-header"><h2>Les News de KiteDor</h2> <label class="btn-close" for="modal-one" aria-hidden="true">×</label></div> <div class="modal1-body">...</div> </div> </div> </div>
I wish I could open this modal window from a post but the problem is, post does not accept this css tag :
for=“modal-one” and automatically clears it.
Here is the html that I’ve put in the post :
<label for="modal-one"><a >News</a></label>
Can you help me , it is a way to gain acceptance for = " modal -one " in a post without whatsoever erase, to force the CSS to just accept this tag for = “” .
Thank you in advance for your help and sorry for my bad english.