-
AuthorPosts
-
May 27, 2019 at 8:54 pm #1104580
Hello,
i have following problem:
I want to use custom icons for an icon box or icon list.
I drew the icons myself with adobe draw and imported them to adobe illustrator where i transformed then to a compound path. Then i uploaded them to Fontello and downloaded the Zip.file which i uploaded to the enfold theme like it was explained in the video provided for this purpose.
Unfortunately all icons are blank.I furthermore tried to use IcoMoon instead of Fontello. However, also here only one icon magically is shown in the right way and the others stay blank. I tried several times to delete and upload zip.files but nothing works.
Looking forward to help,
thank you,
PhilMay 30, 2019 at 7:16 am #1105376Hey Phil,
Sorry for the problem, where can we see and reproduce it?
Best regards,
RikardMay 30, 2019 at 7:24 am #1105378sometimes it is like magic if you try both one after the other.
so go to icomoon upload your svgs – download them – unpack that zip file and look for the svg font file.
This svg font file you can drag and drop to fontello icons. –
Download the font files from fontello and upload that fontello.zip file to enfold.
Don’t ask why – sometimes this helped me to get it work.PS
give the fontello files a different name than that you have used allready.June 7, 2019 at 4:26 pm #1108285Hey Ricard,
what do I have to provide so you can reproduce it?Hey Guenni007,
I tried that again, however it does not work in this case! Thank you anyway!Best regards,
PhilJune 9, 2019 at 12:51 am #1108511Hi,
@PhilCl please include admin login in the Private Content area so we can be of more assistance.Best regards,
MikeJune 10, 2019 at 8:29 am #1108765Hi Mike,
here is the admin login!
Do you also need the svg file or something? Right now there is only one zip-file included in the symbol manager with only one icon, which i first uploaded to icomoon und then to fontello as Guenni007 suggested.Thank you!
PhilJune 11, 2019 at 3:55 pm #1109197Hi Phil,
Best regards,
VictoriaJune 12, 2019 at 4:08 pm #1109521Hi Victoria,
I can see the Icon only with Firefox and Google Chrome, with Safari however it is blank. Do you have any idea how to change that?
Best regards,
PhilJune 13, 2019 at 6:01 pm #1109953Hi,
I checked your website on Safari and it shows up fine on my end. Attached a screenshot in private content field. Could you please flush browser cache and refresh your page a few times?
Best regards,
YigitJune 18, 2019 at 1:26 pm #1111289Hey Yigit,
I flushed Cache and refreshed several times, the problem stayed however at Safari – icons were blank.
I now added some more icons and they get noch displayed correctly at google chrome as well again.
Maybe you can take a look again. I do not understand why it is not reproduceable because i did nothing different to when it worked at Chrome before.Thank you,
PhilJune 18, 2019 at 6:54 pm #1111415Hi PhilCl,
Could you please attach some screenshots of the issue?
Which version of Safari are you using?
Best regards,
VictoriaJune 19, 2019 at 8:21 am #1111540Hi Victoria,
https://imge.to/i/P0jzT
https://imge.to/i/P0gjVhere are two screenshots, one from chrome where the icons get misrepresented by squares and one with blank ones from safari (Version 12.1.1)!
Thank You,
PhilJune 19, 2019 at 10:13 am #1111555just one moment – i had to proove the css
edit: sorry – is probably too complex to explain here
you can delete the entryJune 19, 2019 at 6:22 pm #1111653so a bit offtopic: these font-icons are nice to have and a quick way to style buttons etc. with icons. You are alway resticted to monchrom usage.
So if you only have to work with some or – always the same icons you can replace the inserted icon from entypo-fontello by a png or svg – if you like.
give a custom-class to the container where you want to replace the icons. —- in my case it is : spezial-icon
CSS code is a bit different if you got chart or icons
here i replace that little bell icon – you find the code to insert on hovering the icon on the select field. you will find for the bell: \ue83d
erase the “u” in it. (by the way the backslash on mac keyboards is on shift+option+7 – on pc there is an extra key for it)
you have to look what you like to replace.spezial-icon .av-icon-char[data-av_icon="\e83d"]::before, .spezial-icon .iconlist-char[data-av_icon="\e83d"]::before, .spezial-icon .iconbox_icon[data-av_icon="\e83d"]::before { content: " "; display: inline-flex; width: 1.4em; height: 1.4em; background-size: contain; background-repeat: no-repeat; background-image: url("//the-path-to-your-image/image.svg"); position: absolute; top: 50%; left: 50%; transform: translate(-50% , -50%); } .spezial-icon .av-icon-char[data-av_icon="/e83d"]::before { position: relative; top: 0 ; left: 0 ; transform: none; }
the width and height is set by relative values to the font – so it is synchonized with the font-size of the entypo-fontello font icon.
Play a bit with these values.- This reply was modified 5 years, 6 months ago by Guenni007.
June 19, 2019 at 7:54 pm #1111682Hi PhilCl,
Could you please clear the cache, check again and get back to us.
Best regards,
VictoriaJuly 4, 2019 at 9:56 pm #1115923Thank you – I think i found the problem!
Best regards,
PhilJuly 4, 2019 at 10:50 pm #1115929Hi,
Glad you figured it out! :)
For your information, you can take a look at Enfold documentation here – https://kriesi.at/documentation/enfold/
If you have any other questions or issues, feel free to start a new thread under Enfold sub forum and we will gladly try to help you :)Best regards,
Yigit -
AuthorPosts
- The topic ‘Custom Icons blank’ is closed to new replies.