Replies: 1 comment 1 reply
-
Hi, You see, Fancybox is like a big carousel, and the Fancybox.show([{
src: "#interstitial",
type: "inline",
}], {
template: {
closeButton: '<svg xmlns="http://www.w3.org/2000/svg" width="12" height="29" viewBox="0 0 12 29"><text id="X" transform="translate(1 22)" fill="#fff" font-size="19" font-family="MetaPro-Medi, Meta Pro"><tspan x="0" y="0">X</tspan></text></svg>'
}
}); |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, trying to add my own SVG for the close button, but this is not working. Can you possibly let me know what I am doing wrong here? Thanks!
Beta Was this translation helpful? Give feedback.
All reactions