Icons upsized in v2.1
-
Before updating the icons were all the same size as text by default. Now they are all too big and changing font size does nothing. Help!!!
http://thelightningrod.net/ you can see in the menu.
-
Hi efisher,
I don’t think anything was changed that would affect icons on the front end of the site. I adjusted icon sizes on the admin end, so you can view more icons at a time. I am just on my way home from work. I will have a look into it immediately when I get home. I will check the Arles and any changes that were made, and see if I can’t figure out why your icons are so large.
Evan
Ok thanks. I switched back to 1.3.2 for now so it is good.
My question is why is my post not answered that was posted 20hrs ago?
Leechelle, I don’t see a posting of yours. If you need direct assistance you can always reach me via email.
Evan
Hey efisher82,
So with the newest release (v2.1) I have added a few new files. When I pushed the update to the repository, some of the files (images and css files) were not included. Therefore anyone who has downloaded the plugin in the last 24 hours will need to redownload v 2.1, as I’ve just updated the files in trunk. HOPEFULLY that will resolve the issues everyone is facing. Please let me know if it doesnt.
Thanks,
EvanI am experiencing the same issue. When I upgraded to 2.1 all my icons became 2.5em, overriding the existing font size. Adding style=”font-size: blah” has no effect. I’ve tried uninstalling the plugin and installing the latest 2.2 version… but no success. I’m stil on wordpress 3.7 in case that has an effect.
That’s weird I can’t think of why this has happened. I’m looking into the issue now, and will push out a 2.2.1 update that will remedy the font size issue that your facing. Sorry for the inconvenience with the new update.
There was a style deceleration added back in version 2.0, which was:
span[data-icon=*] { font-size:2.5em; }which is probably why your style for font-size was begin ignored. I’ve removed that deceleration, and pushed out a 2.2.1 update to fix the issue. Update to the latest version and please let me know if that has fixed the issue for you.
Thanks,
EvanThis hasn’t work for me I’m afraid. I have managed to figure out a way to override the size, but it’s a massive pain because I seem to need to do it on a case-by-case basis. It seems the CSS that needs to be overriden isn’t the element itself, but the :before attribute of the element. Here’s the CSS that I see on my site when I haven’t done that (this is with version 2.2.1):
[data-icon]:before, .custom-pack-icon { font-size: 2.5em; }Hey dwaharvey,
What file does it say that it’s coming from? Better yet, can I see a link to your site?
I removed that deceleration from the
wordpress-svg-icon-plugin-style.csswhen I pushed out the 2.2.1 version, so it should no longer exist.Evan
My firebug window said it was coming from that file, but I think your fix did actually work and it was some sort of wordpress caching issue that caused it to appear still broken. Having gone away for a couple hours, it now appears to be resolved and my icons are back to normal sizes again. Sorry for the confusion, and thanks for getting it resolved!
Great,
I’m glad it was resolved. Sometimes the caching in your browser causes issues with updates to any css files.
Thanks for using the plugin, and thank you for your patience in resolving the issue!
Evan
The topic ‘Icons upsized in v2.1’ is closed to new replies.