Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author YITHEMES

    (@yithemes)

    Hi,
    the steps provided follow this steps
    1) Copy this file /wp-content/plugins/yith-woocommerce-social-login/templates/social-icons.php
    2) Paste it in /wp-content/themes/YOUR_THEME_NAME_HERE/woocommerce
    the edit the file at line 21
    the code is

    ‘image_url’ => YITH_YWSL_ASSETS_URL . ‘/images/’ . $key . ‘.png’,

    change the YITH_YWSL_ASSETS_URL with get_template_directory_uri()

    so the line will be like this

    ‘image_url’ => get_template_directory_uri() . ‘/images/’ . $key . ‘.png’,

    the call you google image as google.png and move it to /wp-content/themes/YOUR_THEME_NAME_HERE/images

    just because that image you want use is big you will also need to add some custom css code, so add the following code in appearance > customize > additional CSS

    .ywsl-google img {
    max-width: 64px;
    }

    Best Regards

    Thread Starter Ricardo Franco

    (@chefpanda123)

    Thanks! For the record, it was not necessary the CSS code ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Change Social Icons’ is closed to new replies.