New Landing How can we help? Cardinal Add vkontakte icon (social)

Viewing 15 posts - 1 through 15 (of 22 total)
  • Posted in: Cardinal
  • #121625
    Mik_mo
    Member
    Post count: 39

    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 you

    #121835
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hi

    I’m afraid it doesn’t work like that, the code for the social icons is in cardinal/swift-framework/shortcodes.php

    – Kyle

    #121869
    Mik_mo
    Member
    Post count: 39

    And how to change one of the icons ?

    #121876
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Let’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

    #121971
    Mik_mo
    Member
    Post count: 39

    Yes, 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

    #121972
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Sorry it’s cardinal/swift-framework/core/shortcodes.php

    – Kyle

    #122038
    Mik_mo
    Member
    Post count: 39

    Thank you ! now it works, but I also need to change the colour than mouse on

    #122042
    Mik_mo
    Member
    Post count: 39

    Already found out, thank you )

    Advantage of the situation want to ask, how to change instargamm hover colour ?

    #122050
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    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

    #230738
    zac55
    Member
    Post count: 21

    Hello,

    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

    #230841
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,

    @zac55
    – Its only shortcodes.php file at cardinal/swift-framework/core/shortcodes.php . Whats the name of your theme?
    Thanks
    Mohammad

    #231010
    zac55
    Member
    Post count: 21

    I’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.
    #231144
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    You can find sf-shortcodes.php file at /cardinal/swift-framework/includes/shortcodes/.
    Thanks
    Mohammad

    #231262
    zac55
    Member
    Post count: 21

    It’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.
    #231324
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,

    @zac55
    – Just provide me login detail after installing the WPIDE plugin to investigate it.
    Thanks
    Mohammad

Viewing 15 posts - 1 through 15 (of 22 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register