Home Forums WoodMart support forum Add or change social media icon

Add or change social media icon

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #681926

    chr.manousou
    Participant

    Hello,
    I really need to add “wechat” in my socials. I did some digging and I found out that it’s not possible to add a new social media channel. I saw that someone suggested to chenge the icon of another social channel that I do not use. I tried to do it with some custom css that I found but it didn’t work. Could you please help?
    I want to replace flickr with the wechat icon.

    #682005

    chr.manousou
    Participant

    hi,
    I’ve managed to do it after all! I ended up replacing spotify’s icon.
    If any one is interesting, here is what I did.

    add this in functions.php or using CODE SNIPPETS

    <?php
    add_action('wp_enqueue_scripts', function() {
      // Core + Brands (FA5 Free)
      wp_enqueue_style(
        'fa5-core',
        'https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/fontawesome.min.css',
        [],
        '5.15.4'
      );
      wp_enqueue_style(
        'fa5-brands',
        'https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/brands.min.css',
        ['fa5-core'],
        '5.15.4'
      );
    }, 50);

    and then add this is custom css:

    .social-spotify .wd-icon:before {
      font-family: "Font Awesome 5 Brands" !important;
      font-weight: 400; 
      content: "\f1d7"; 
      speak: none;
    }
    
    .social-spotify .wd-icon {
      font-style: normal;
    }
    #682061

    Hello,

    We are glad that you managed to solve the problem yourself. You are Great!!!

    If you have a moment, we’d really appreciate your feedback — it helps us improve the theme and shape future updates: https://tally.so/r/w4l54k

    Thanks again for contacting us.

    Topic closed.
    Best Regards,

Viewing 3 posts - 1 through 3 (of 3 total)

The topic ‘Add or change social media icon’ is closed to new replies.