Digital experiences for all disciplines
New Landing › How can we help? › Cardinal › Add vkontakte icon (social)
New Landing › How can we help? › Cardinal › Add vkontakte icon (social)
- This topic has 21 replies, 6 voices, and was last updated 8 years by Mohammad – SUPPORT.
-
Posted in: Cardinal
-
October 20, 2014 at 5:07 pm #121625
How to add vk (vkontakte) icon to the cardinal theme ?
Looks like the easies way is to change the link to the icon of one of the social profiles, which I don’t use, to the vk icon (http://fortawesome.github.io/Font-Awesome/icon/vk/) and just paste the link to this profile… for example linkedin.
Where to change the link to the icon? Please help, I cheked all the files of the theme with search but can not find it.
Sure this topic will be helpful for many Eastern Europe customers.
Thank youOctober 21, 2014 at 9:35 am #121835Hi
I’m afraid it doesn’t work like that, the code for the social icons is in cardinal/swift-framework/shortcodes.php
– Kyle
October 21, 2014 at 10:48 am #121869And how to change one of the icons ?
October 21, 2014 at 10:55 am #121876Let’s say you wanted to change Dribbble, you would change this:
if ($dribbble) { $social_icons .= '<li class="dribbble"><a href="http://www.dribbble.com/'.$dribbble.'" target="_blank"><i class="fa-dribbble"></i><i class="fa-dribbble"></i></a></li>'."\n"; }
You would have to change the link to https://vk.com/ and then change class”fa-dribbble” to class=”fa-vk”
– Kyle
October 21, 2014 at 1:49 pm #121971Yes, This is exactly what I wanted to do…. but the problem is that I can not find which file to edit
cardinal/swift-framework/shortcodes.php – There is no such file
cardinal\swift-framework\page-builder\inc\shortcodes.php – No such code in this file
and searching in files does not helps
October 21, 2014 at 1:52 pm #121972Sorry it’s cardinal/swift-framework/core/shortcodes.php
– Kyle
October 21, 2014 at 4:04 pm #122038Thank you ! now it works, but I also need to change the colour than mouse on
October 21, 2014 at 4:14 pm #122042Already found out, thank you )
Advantage of the situation want to ask, how to change instargamm hover colour ?
October 21, 2014 at 4:26 pm #122050Hi,
Add the code below to your custom css option. change the color as desired.
ul.social-icons li.instagram a:hover { background-color: #517fa4!important; }
-Rui
November 23, 2015 at 6:53 pm #230738Hello,
I’m trying to do something similar but the file sf-shortcodes.php is not where you say it is above. Where is it now?
Thank you
November 24, 2015 at 8:06 am #230841Hi,
@zac55 – Its only shortcodes.php file at cardinal/swift-framework/core/shortcodes.php . Whats the name of your theme?
Thanks
MohammadNovember 24, 2015 at 4:04 pm #231010I’m using the latest version of Cardinal. I updated to the latest framework as well. I do not see the file you say – I have attached a picture to show you it’s not there.
Attachments:
You must be logged in to view attached files.November 25, 2015 at 8:53 am #231144Hi,
You can find sf-shortcodes.php file at /cardinal/swift-framework/includes/shortcodes/.
Thanks
MohammadNovember 25, 2015 at 2:01 pm #231262It’s not there either. I’ve searched in all the folders in swift-framework and don’t see it.
Thank you.
Attachments:
You must be logged in to view attached files.November 25, 2015 at 5:04 pm #231324Hi,
@zac55 – Just provide me login detail after installing the WPIDE plugin to investigate it.
Thanks
Mohammad -
Posted in: Cardinal
You must be logged in and have valid license to reply to this topic.