I recently started working on integrating a front-end HTML theme with a back-end Laravel app. Oddly enough, I noticed that the popup modal is displaying two close x buttons instead of just one. Despite my efforts, I have been unable to pinpoint what exactly is causing this duplicate button issue.
The first x button is being generated by adding the class mfp-close
from Magnific close. However, I am puzzled as to how the second x button is appearing without any clear indication of where it's coming from.
I attempted to remove the "x" in the loaded HTML, hoping to get rid of the extra x button, but instead, it ended up removing the smaller x (which is not the desired outcome). The origin of this additional x remains elusive to me.
https://i.sstatic.net/s3Qb4.png https://i.sstatic.net/fG4rz.png
UPDATE: Upon removing the mfp-close:before
CSS, I was left with the smaller "x" button which does not align with my requirements.