Home Forums Basel support forum Social Icons

Social Icons

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #10484

    yustianevan
    Participant

    Hello,

    I’ve been trying to implement telegram icon into odonlanski smth.

    .social-icons .fa-odnoklassniki:before {
    content: “\f2c6”;
    }

    http://fontawesome.io/icon/telegram/

    It displays box/unidentified icon. http://prntscr.com/efvnwf

    #10490

    Artem Temos
    Keymaster

    Hello,

    It doesn’t work because of an outdated version of the Font Awesome icons. We will update it in our next theme update that will be available in 5-7 days.

    Kind Regards
    Xtemos

    #10495

    yustianevan
    Participant

    Got it! Thanks for your update. Could I have a documentation for separate file update later? I modified the core theme a bit to fit my features, so I’m afraid I can’t do a full theme update just for 1 social media icon.

    #10502

    Artem Temos
    Keymaster

    Sorry, but you will have to update all theme files because our previous version of the theme may be incompatible with a new WooCommerce 2.7 version that will be released soon.

    #10531

    yustianevan
    Participant

    I see, is there a way to change the current font awesome icon with uploaded image?

    #10532

    Artem Temos
    Keymaster

    Yes, you can use the following code for this

    .fa-odnoklassniki:before {
    	opacity:0;
      	background: url(IMAGE_PATH.png) no-repeat center center;
      	background-size:cover;
      	width:20px;
      	height:20px;
    }

    Regards

    #10567

    yustianevan
    Participant

    Many thanks.

    #10568

    yustianevan
    Participant

    Sorry, it didn’t work. The odnolaski still appears.

    #10574

    Artem Temos
    Keymaster

    Sorry, try this

    .fa-odnoklassniki:before {
        background: url(https://store.playbro.co/wp-content/uploads/2017/03/telegram.png) no-repeat center center;
        background-size: contain;
        width: 30px;
        height: 30px;
        color: transparent;
    }

    Regards

    #10595

    yustianevan
    Participant

    Thanks, it worked.

    #10601

    Artem Temos
    Keymaster

    You are welcome.

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