Forum Replies Created
-
AuthorPosts
-
This reply has been marked as private.
Hi Ismael,
Thank you for your reply.
I added it but icons are still not displayed on the page. :(
Can you please help check again?
This is the current code from that page. I added space in between “&” and “#” so the charcodes could be displayed.
<section class=”av_textblock_section” itemscope=”itemscope” itemtype=”http://schema.org/CreativeWork” ><div class=’avia_textblock ‘ itemprop=”text” >
-
<li class=”avia-font-entypo-fontello” title=”vcard”>& #59170;
<li class=”avia-font-entypo-fontello” title=”users”>& #128101;
<li class=”avia-font-entypo-fontello” title=”cart”>& #59197;
<li class=”avia-font-entypo-fontello” title=”calendar”>& #128197;
<li class=”avia-font-entypo-fontello” title=”monitor”>& #128187;
<li class=”avia-font-entypo-fontello” title=”tools”>& #9874;</div></section>
Thank you,
Hi Ismael,
It is already in the woocommerce-core-functions.php file.
”
case ‘USD’ :
$currency_symbol = ‘$’;
break;
case ‘EUR’ :
$currency_symbol = ‘€’;
break;
case ‘CNY’ :
case ‘RMB’ :
case ‘JPY’ :
$currency_symbol = ‘¥’;
break;”
As I mentioned in the previous posts, the Yuan shows correctly in iPad, Android tablet and from linux machines. but not from win 7 at least. I tried FF, IE and Chrome from win 7, all showed Japanese Yen instead of Chinese Yuan.This reply has been marked as private.This reply has been marked as private.This is what I got from the header after adding the custom icon to the nav bar,
”
<ul class=”noLightbox social_bookmarks icon_count_5″>
<li class=”social_bookmarks_QQ social_icon_1″>
<li class=”social_bookmarks_Weibo social_icon_2″>
<li class=”social_bookmarks_facebook social_icon_3″>
<li class=”social_bookmarks_twitter social_icon_4″>
<li class=”social_bookmarks_mail social_icon_5″>(Email address hidden if logged out) “>”
I see that custom icon 1 and 2 do not have “data-av_icon=”” ” in the code but icon 3, 4 and 5 which come with the theme do show “data-av_icon=”” ” , not sure if this made the difference.
Hi Peter,
This is what I got but the icons are not shown at the site. I tried to delete all cookies/temp files and even went to the temp folder and deleted all files in there but the custom icons are still not being displayed.
register-admin-options.php
“subtype” => array(
‘500px’ => ‘five_100_px’,
‘Behance’ => ‘behance’,
‘Dribbble’ => ‘dribbble’,
‘Facebook’ => ‘facebook’,
‘Flickr’ => ‘flickr’,
‘Google Plus’ => ‘gplus’,
‘Instagram’ => ‘instagram’,
‘LinkedIn’ => ‘linkedin’,
‘Pinterest’ => ‘pinterest’,
‘QQ’ => ‘qq’,
‘Renren’ => ‘renren’,
‘Skype’ => ‘skype’,
‘Weibo’ => ‘sina-weibo’,
‘Soundcloud’=> ‘soundcloud’,
‘Tumblr’ => ‘tumblr’,
‘Twitter’ => ‘twitter’,
‘Vimeo’ => ‘vimeo’,
‘Xing’ => ‘xing’,
‘Youtube’ => ‘youtube’,
‘Special: RSS (add RSS URL, leave blank if you want to use default WordPress RSS feed)’ => ‘rss’,
‘Special: Email Icon (add URL to a contact form)’ => ‘mail’,)),
and functions.php,
add_filter(‘avf_default_icons’,’avia_add_custom_icon’, 10, 1);
function avia_add_custom_icon($icons)
{
$icons[‘QQ’] = array( ‘font’ =>’entypo-fontello’, ‘icon’ => ‘ue908’);
$icons[‘Renren’] = array( ‘font’ =>’entypo-fontello’, ‘icon’ => ‘ue90f’);
$icons[‘Weibo’] = array( ‘font’ =>’entypo-fontello’, ‘icon’ => ‘ue910’);
return $icons;
}Thank you, Peter!!
If I need to add multiple custom icons to the array, do I repeat the following for each of the custom icons? and just replace behance with the values used for the custom icons?
add_filter(‘avf_default_icons’,’avia_add_custom_icon’, 10, 1);
function avia_add_custom_icon($icons)
{
$icons[‘behance’] = array( ‘font’ =>’entypo-fontello’, ‘icon’ => ‘ue915’);
return $icons;
}thanks,
For a sec, I was thinking this might be a Win7 issue. However, I have not had any problem with other web sites that use the Chinese Yuan symbol. So this may not be an OS related issue.
Hi Yigit,
Thanks for spending time on this issue. Appreciate it.
It is weird. I checked again using Chrome Version 30.0.1599.66 m, IE 10 and FF 24.0 from Win7. All have it shown as Japanese Yen (check screenshot here) even when the code shows I have Chinese Yuan written (check here) .
However, it shows correctly as Yuan from iPad and from a tablet I have that’s running Andoid 4.0. I am pretty sure that the Yuan currency is included in the WooCommerce version I have 2.0.0.14, Yuan is a major currency and I can display products in this currency with no problem.
Any idea what might be causing this?
Thank you,
Thank you, Yigit. The currency is already supported by WooCommerce. The issue is that whenever I try to add the symbol to a page, note not a woocommerce page, it would be shown as Japanese Yen instead of Chinese Yuan. Please try it yourself and you will know what I mean.
thanks.
Thank you, Devin.
I realized this might be an issue that no fix is currently available with the visual editor and I have found a way to get around with it.
Sorry about directing you to the other topics I posted. Didn’t mean to interrupt your workflow.
Thanks again!
This reply has been marked as private.Hi Josue,
I upgraded to the latest v2.3.1 but the charcodes are still not showing up correctly. Could you please help take a look?
thank you,
Ismael,
I think now we know how to upload new icon fonts to the theme.
The real issue we are facing is how to add a custom/new icon to the navigation bar? For instance, to add an icon that is not already on the pre-defined social icon list.
Please kindly advise!
thanks,
Hi Josue, it worked!! thanks a lot.
Please keep this post open, I will upgrade the theme to the latest version and will update you whether that solves the charcode issue or not.
thanks again.
Thanks Josue! :)
regarding the login issue, where do I add this? to the quick CSS field?
cheers!
This reply has been marked as private.btw, while you are helping me, could you please also take a look at the “Login|Register” on the top of the page?
Before I upgraded the theme to v2.3, a click on the “login” would pop-up a login form. The pop-up form still works after the upgrade, just that it is TRANSPARENT now. The main menu somehow is rendered again and shows through the login form.
Can you please help check that for me as well?
Thanks a lot!
This reply has been marked as private.Hi Josue,
Thanks for helping me out on this.
How do I use it? For instance, I currently have 👤 in the code, do I replace it with U+1F464?
I tried it but didn’t work.
What would be the syntax to use in v2.3. In v2.2, “👤” would be converted to an actual icon but “U+1F464” is just “U+1F464” in v2.3, no icon is displayed.
thanks,
Thanks Devin.
I have uploaded new fonts, it works.
However, I need to add new custom icons to the top navigation bar. How can I do that?
Thanks,
btw, could you please help take a look at my questions at https://kriesi.at/support/topic/how-to-use-character-map-in-v2-3/ ? The charcodes I use on the site are not displaying anymore after upgrading to v2.3.
Also, how can I change the default social icons? Now the icons we need are available but I don’t know how to add them to the top nav bar since they are not on the drop down list in the “header” settings.
Thanks!
Hi Devin,
It’s not convenient but every time I need to make any changes to the page, I have to save everything first, then strip the [av_textblock] and save again.
This is the workaround I use to make it work. :(
Thanks,
Hi Yigit,
It worked. What if I need to set the column number to 4? What code should I use?
thanks,
Hi,
Something similar to what I am using, I put a space in between “&” and “#” so that you can read the charmaps.
<li title=”vcard”>& #59170;
<li title=”users”>& #128101;
<li title=”cart”>& #59197;
<li title=”calendar”>& #128197;
<li title=”monitor”>& #128187;
<li title=”tools”>& #9874;thanks,
Hi,
I have upgraded the theme to version 2.3. Checked the documentation, didn’t find any instruction on how to add custom social icons to the theme. Where can I find detailed instructions?
Thank you,
Thanks Devin.
Ismael said my theme was broken, https://kriesi.at/support/topic/enfold-settings/#post-167861. Would you suggest me to wait for the new release?
thanks,
This reply has been marked as private.I meant to use “Microsoft Yahei” font for the entire Chinese version of the site which includes everything under http://acutta.com/template/?lang=zh-hans.
thanks,
-
AuthorPosts