-
AuthorPosts
-
May 1, 2024 at 11:34 am #1441568
Hello, I would like to have more symbols/icons available for my websites, for example for solar technology . On which page can I best load these so that I can find them later directly with my existing symbols? Are there special plugins that I also need?
In the moment there are just a few in the enfold theme. Is there in easy way to load them?Thanks a lot for help :)
Many regards rixi
May 1, 2024 at 12:34 pm #1441571Hey rixi,
Please see our documentation on Adding your own Fontello Icons
If you don’t find any icons you like at fontello.com then you can create your own by following these steps.Best regards,
MikeMay 1, 2024 at 2:00 pm #1441577And a little bit under Mike’s link there are the enfold fonticons used for their demos to download
https://kriesi.at/documentation/enfold/icon/#download-fontello-or-flaticon-icons-included-in-enfold-demosMay 1, 2024 at 3:10 pm #1441583Hi Guenni,
thanks a lot, that helps me already :)
But how can i get a whole collection of icons, for example solar energy? I found it on the flaticon page but it looks that i can just save always one icon. I would like to have a package.in a zip folder, like the one you showed me by that link and than load it into a page. When i klick aon a symbol on that page i have to pay monthly
Is there some other way?Many regards rixi
May 1, 2024 at 4:49 pm #1441609if you can download as svg – you can upload that to fontello.com
Using it as an iconfont it has to be not multicolored. the svg path’s had to be compound path.Follow Mikes Link
May 1, 2024 at 5:01 pm #1441612Hi,
If you want to use color icons (png, jpg, or gif), follow Guenni007’s css technique here.
Thanks for sharing Guenni007 :)Best regards,
MikeMay 1, 2024 at 5:13 pm #1441615see here an example page – and code how i did that.
In principle, I misuse a specially uploaded iconfont for this (e.g. 3d-icons) – and then replace the monocolour icons with the coloured ones using css.However, I have made a little more effort and uploaded monocolour icons of the coloured ones to fontello, so that I can see in the icon selection what kind of icon I want to use.
May 1, 2024 at 5:33 pm #1441618Hi,
Great example Guenni007, rixi you can also use the built-in icons that you might never otherwise use and assign css to always show your new images whenever they are used. Your new images are uploaded into your media library.Best regards,
MikeMay 1, 2024 at 6:14 pm #1441622Thanks – Mike – I forgot to mention that the coloured icons have to be uploaded to the media library
PS – you can drag&drop the colored icons to fontello – in most cases they will generate a monocolor version of it.
May 1, 2024 at 6:30 pm #1441626Hi Guenni,hi Mike,
thanks a lot, cool!
I found now where to make a collection with the different icons, what is great, but i think its normal to pay monthly for using the icons or did i go to a wrong page?
I think i should learn some more programming ;)You are all the best :)
Many regards
rixiMay 1, 2024 at 11:32 pm #1441658May 2, 2024 at 6:47 am #1441783Hello Mike,
i just downloaded the png icon collection load that over the import, but enfold says just svg can be loaded to the symbol fonts. I think i can use the symbols but not like the other symbols which are already there from enfold. I would like to see thenew collection by the symbollist.I think that is not possible or did i do something wrong?
Many regards rixi
May 2, 2024 at 6:05 pm #1441975Hi,
This thread covers a couple of different methods and I think that it might be confusing.
So if you want to use color icons, then you would use Guenni007’s example, the easiest path is to upload the png images to your media library and then for each one choose a existing theme icon that you would probably never use as a placeholder, for example the keyboard ( ue83a ):
and then use this css to replace it with your image:[data-av_iconfont="entypo-fontello"][data-av_icon="\e83a"]:before{font-size:0;width: 40px;display: inline-block;background-image: url(/wp-content/uploads/2024/05/tree.svg) !important}
now whenever you use the keyboard icon on your site your new image will show:
If you want to use B&W icons you can take the B&W PNG images and convert them to SVG, then follow Guenni007’s steps to fix them for Fontello then upload the SVG to Fontello to create your icon font:
then download the new icon font zip file and upload it to Enfold Theme Options ▸ Import/Export ▸ Iconfont Manager and then they will show in your icon list.Best regards,
MikeMay 2, 2024 at 7:32 pm #1441979I would upload an unspectacular iconfont. Here I have inverted numbers. Link
Then upload your coloured icons and make a note of the path for each icon.
now replace an icon of this font with the noted links of your coloured iconsthis comes to your quick css:
.av_font_icon { overflow: visible !important; } [data-av_iconfont="solar-icons"] { content: " "; background-size: 100px; background-position: center center; background-repeat: no-repeat; border: none !important; color: transparent !important; } [data-av_iconfont="solar-icons"][data-av_icon="\e800"]{background-image: url(/wp-content/uploads/globe.gif) !important} [data-av_iconfont="solar-icons"][data-av_icon="\e801"]{background-image: url(/wp-content/uploads/broken-spheres.svg) !important} [data-av_iconfont="solar-icons"][data-av_icon="\e802"]{background-image: url(/wp-content/uploads/bubbles.svg) !important} [data-av_iconfont="solar-icons"][data-av_icon="\e803"]{background-image: url(/wp-content/uploads/chrome-balls.svg) !important} [data-av_iconfont="solar-icons"][data-av_icon="\e804"]{background-image: url(/wp-content/uploads/film.svg) !important} [data-av_iconfont="solar-icons"][data-av_icon="\e805"]{background-image: url(/wp-content/uploads/glas-dots.svg) !important} [data-av_iconfont="solar-icons"][data-av_icon="\e806"]{background-image: url(/wp-content/uploads/glas-waben.svg) !important} [data-av_iconfont="solar-icons"][data-av_icon="\e807"]{background-image: url(/wp-content/uploads/green-world.svg) !important} [data-av_iconfont="solar-icons"][data-av_icon="\e808"]{background-image: url(/wp-content/uploads/home.svg) !important} [data-av_iconfont="solar-icons"][data-av_icon="\e809"]{background-image: url(/wp-content/uploads/hui.svg) !important} [data-av_iconfont="solar-icons"][data-av_icon="\e80a"]{background-image: url(/wp-content/uploads/lotus.svg) !important} [data-av_iconfont="solar-icons"][data-av_icon="\e80b"]{background-image: url(/wp-content/uploads/nachhaltig1.svg) !important}
Now – if you place your circled number 1 – you can see even in preview – the replaced colored icon:
And – yes even animated gifs can be inserted:see replaced first icon : https://webers-testseite.de/abc/
PS: on that page with the snippets – you can see that i use the elements sizes for the icons – to generate the background-size :
https://enfold.webers-webdesign.de/colorized-font-icons/if you like to use that too – remove from css code above the background-size line
function transfer_fontsize_to_backgroundsize(){ ?> <script> window.addEventListener("DOMContentLoaded", function () { (function($) { $('.av-icon-char[data-av_iconfont="solar-icons"], .iconbox_icon[data-av_iconfont="solar-icons"]').each(function() { var iconLineHeight = parseInt($(this).css('line-height')); var iconPadding = parseInt($(this).css('padding')); $(this).css('background-size', (iconLineHeight + 2*(iconPadding))+'px'); }); })(jQuery); }); </script> <?php } add_action('wp_footer', 'transfer_fontsize_to_backgroundsize');
May 2, 2024 at 8:03 pm #1441982PS: you can use all element options – f.e. background-color of the icon on iconbox-top – or animation styles – like pulse on hover.
May 2, 2024 at 10:48 pm #1441999Hi,
Thanks Guenni007, your transfer_fontsize_to_backgroundsize script is a nice touch :)Best regards,
MikeMay 3, 2024 at 6:48 am #1442055Hi Guenni,
wow, that looks great!
Time for me to get more into the css and programming.Have to start next week with that!
Would be perfect if i can use it like that!Thank you!
Many greetings rixi
May 3, 2024 at 6:51 am #1442056Cool, great, thanks for all your help :)))))))
Many greetings rixiMay 3, 2024 at 12:15 pm #1442142Would be perfect if i can use it like that!
of course – that’s why I uploaded it for you to download. – If you need more icons for replacement – let me know.
btw: have a look at this: https://www.svgrepo.com/vectors/solar-panel/monocolor/May 3, 2024 at 1:21 pm #1442153Great :)))))))))))))))))))))))))) thank you!!!!!!!!
-
AuthorPosts
- You must be logged in to reply to this topic.