Okay
  Public Ticket #1856627
Override function parent theme
Closed

Comments

  • dennyv90 started the conversation

    Hi,

    I would edit the function oxygen_shortcode_lab_social_networks to add fa-2x for social network icons.

    It's possible to do it?

    Could I replace a social network icon with whatsapp icon? After, I manage this link from backend in theme options.


    Sorry for English, Denny

  • [deleted] replied

    Hi Denny,

    You can add VK social network, add the link to that social network but change the VK icon to Whatsapp icon.

    To do that you just need to add this CSS code:

    .fa-vk:before {
        content: "\f232";
    }

    in the Custom CSS area.

    For more info please see this video.

    Have a great day!

  • dennyv90 replied

    Hi,

    thank you, but if I want add fa-2x class for the visible icons, is it not possible?

  • [deleted] replied

    Hi Denny,

    I can see that this code increases icon size, you can do that very easy with CSS without modifying a single theme code.

    To do that is very easy, please just see this video.

    If you need the CSS code that I used in the video here it is:

    ul.social-networks li a {
        line-height: 55px;
        -webkit-border-radius: 50px;
        -moz-border-radius: 50px;
        border-radius: 50px;
        width: 50px;
        height: 50px;
    }
    ul.social-networks li a i {
        font-size: 25px !important;
    }
    

    Anyway, if you need that area then you can find the file in this area wp-content/themes/oxygen/inc/laborator_filters.php

    Have a nice day!

    P.S: Please be aware as by doing customization if something happens like miss-editing files the responsibility is yours and we won't support you on finding the problem, as we are only guiding you how to get the results you need.