-
AuthorPosts
-
March 13, 2023 at 7:30 pm #1401073
Hi guys
I am using the side menu at stage.pmwyre.com and hoping to add a phone number people can click. Is this possible? Perhaps instead of a social icon? Let me know.. Thanks!
JonMarch 14, 2023 at 3:48 am #1401103Hey jonroot,
Thank you for the inquiry.
You can insert a widget area in the header using one of the hooks inside the header or menu template files. Please check the documentation below for more info.
// https://kriesi.at/documentation/enfold/header/#adding-a-header-widget-area
Best regards,
IsmaelMarch 14, 2023 at 7:21 am #1401113the simple way : – just insert to your main menu a telephone link – you can have there even images before the label text etc.
e.g:
as link: tel:905.639.9972 and f.e. put in as label :[av_font_icon icon='ue854' font='entypo-fontello' size='30px' position='left' color=''][/av_font_icon] Call us
______________
or is it ok for you – if you only have an icon ( telephone ) besides the social media icons?
create a custom social icon:function avia_add_telephone_icon($icons) { $icons['tel'] = array( 'font' =>'entypo-fontello', 'icon' => 'ue854'); return $icons; } add_filter('avf_default_icons','avia_add_telephone_icon', 10, 1); // Add new icon as an option for social icons function avia_add_telephone_social_icon($icons) { $icons['Tel'] = 'tel'; return $icons; } add_filter('avf_social_icons_options','avia_add_telephone_social_icon', 10, 1);
the new “social media link” will be at the end of the dropdown list in social media symbols enter then your telephone number as link ( tel:905.639.9972 )
maybe better with your countryif you like to have it more perfect – you can style it like every other social media link:
#top #wrap_all .av-social-link-tel:hover a, #top #wrap_all .av-social-link-tel a:focus { color: #fff; background-color: #37589b; }
etc.
March 14, 2023 at 4:35 pm #1401156Thank you both!
March 14, 2023 at 6:56 pm #1401173Hi,
Great, I’m glad that Ismael and @guenni007 could help you out :-)
Please let us know if you should need any further help on the topic, or if we can close it.
Best regards,
Rikard -
AuthorPosts
- You must be logged in to reply to this topic.