This topic has 10 replies, 3 voices, and was last updated 9 years, 3 months ago ago by Jack Richardson
Hello,
Pinterest sharing button in your theme resizes my pictures to thumbnails 100×150 px. I do not know why because I did not set this size for any thumbnails on my website. Please, look at the sharing button code from Firebug:
<span class=”icon-pinterest”></span>
As you can see the file it uploads to Pinterest is felted-autumn-leaf-scarf-with-yellow-oak-leaves-s213-1-100×150.jpg, whereas the original file is felted-autumn-leaf-scarf-with-yellow-oak-leaves-s213-1.jpg
What can I do to fix it? Thank you in advance.
Best regards,
Blanka
Hello,
You can change image size in the file wp-content/themes/legenda/framework/shortcodes.php (line 1250), replace “150,150” in the code $image = etheme_get_image( get_post_thumbnail_id($post->ID), 150,150,false);
with your dimensions.
Best regards,
Jack Richardson.
Hello Jack,
thank you for you answer. It works well when I modify my legenda theme, but it does not work when I modify only my child theme. Do I need to change something else?
Best regards,
Blanka
Hello,
You need copy all function code for share icons from shortcodes.php to functions.php file in your child theme.
If you have difficulties with it we can do this for you, just provide us with FTP and wp-admin panel credentials in Private Content.
Regards,
Eva Kemp.
Hello,
I give you my credentials.
Yesterday you solved another issue with my website modifying my child theme. Unfortunately I lost your modification when I reloaded the child theme today 🙁
If you find a minute, please paste this code again for me or tell me, in which place it should be – here is the forum topic about it: https://www.8theme.com/topic/button-text-color-on-a-revolution-slider/#post-78499
It would be very kind of you. I promise I will save all changes this time.
Thank you in advance,
Blanka
Hello,
I’ve added the code in child style.css that Robert mentioned in the topic you provided.
As to other modifications we need FTP login details. Please provide us with them.
Thank you.
Best regards,
Jack Richardson.
Thank you!
I send you FTP credentials.
Best regards,
Blanka
Hello,
I’ve added the code in functions.php file of the child theme.
Please check Pinterest share icon now and clear browser cache before.
Best regards,
Jack Richardson.
Thank you Jack, I would not do this by myself. It works now 🙂
Have a nice day,
Blanka
Hello,
You’re welcome.
Have a nice day too.
Best regards,
Jack Richardson.
The issue related to '‘Pinterest sharing button resizes blog and product pictures’' has been successfully resolved, and the topic is now closed for further responses