Hi,
I uploaded my own set of 24 SVG to icomoon yesterday and then downloaded the entire file. Put the SVG and symbol-defs.svg in the images folder, the sprite.css and style.css within my stylesheets, the svgxuse.js in the JS folder (not sure what to do with the selection.json file and where to put that). I am adding external svg to each div (I have copied/pasted the code below).
<div class="box_link">
<a href="#" data-wait="Please wait while we create the template for you">
<svg class="icn icn-CreateTemplate"><use xlink:href="#icn-CreateTemplate"/></svg>
<span class="btnb medium_110 blu">Create Template</span>
</a>
</div>
(code below is what is in style.css from the download folder)
.icn {
display: inline-block;
width: 1em;
height: 1em;
fill: currentColor;
background-color: #fff;
}
(code below is what is from sprite.css from the download folder)
.icn {
display: inline-block;
background-repeat: no-repeat;
background-image: url('sprites/sprite.svg');
background-color: #fff;
}
.icn-CreateTemplate {
width: 45px;
height: 45px;
background-position: -305px 0;
}
Here is my issue. When I download my set and the download option gives me the demo file, I am able to change the size of the icon within firebug and the color. However, when I put the file it gives me within my application, I am restricted to the size I set the image at when I downloaded it. There is always a default size.
Can someone please let me know what I am missing or what I am doing wrong, that is not allowing me to change the size of the icons on the fly?
Thank you for your help in advance. I hope to get this resolved asap.