Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to remove 'X' in close button #48

Open
nativerez opened this issue Dec 5, 2018 · 2 comments
Open

Ability to remove 'X' in close button #48

nativerez opened this issue Dec 5, 2018 · 2 comments

Comments

@nativerez
Copy link

The X in the close button looks like it is being injected into the DOM via the script. Is there any way this can be disabled, as I would rather use a font icon library such as Font Awesome.
Thanks

@RayMarKOFC
Copy link

RayMarKOFC commented Dec 27, 2018

If you create your own element with id bio_ep_close, then it bypasses adding the plain-text 'X'.

if(document.getElementById("bio_ep_close"))

Personally, I override it with a super-simplified SVG x and make the background circle using border-radius.

@viliusle
Copy link

viliusle commented Feb 14, 2020

Problem with current close button, that it us using letter "X", but it should use × (× in HTML or content: "\2715"; in CSS). But it can be overwritter even with CSS using #bio_ep_close:after {}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants