
-
AuthorPosts
-
October 9, 2014 at 3:52 pm #333295
Hi Folks!
I am using your wonderful theme for two different websites now and just encountered a problem, where I do need your help:
As the topic title expresses, I would like to change the image size in the recent works widget. With the help of the forum I nearly made it. But after I successfully updated the thumbnail size, the pics are now stretched.
How can I use a self created thumbnail size in the widget?
Appreciate your help.
Best regards,
StefanOctober 10, 2014 at 1:01 am #333539Hi Stefan!
You have following code in Quick CSS field
@media only screen and (min-width: 989px) .image_size_widget .news-thumb img { width: 210px; height: 90px; }
Please change it to following
@media only screen and (min-width: 989px) .image_size_widget .news-thumb img { width: auto; height: auto; }
Cheers!
YigitOctober 13, 2014 at 6:10 am #334636Hi Yigit,
Thank you for your reply. Most regrettably, this code does not work properly. As you can see on my page, the thumbs are lo longer stretched, but they still are not yet in the correct size.
Appreciate your comments!
Best regards,
StefanOctober 13, 2014 at 5:48 pm #335068Hi!
You have following code in Quick CSS as well
@media only screen and (min-width: 989px) { .image_size_widget .news-thumb { height: 90px; width: 210px; }}
Please set these values to “auto” as well
Cheers!
YigitOctober 13, 2014 at 6:59 pm #335116Cheers mate,
Thanks a lot for your kind reply. I have done as you said, but now the thumbs are back in the standard size :(
Sorry to bother you again, Yigit. Maybe I did not explain well enough:
My intention is to have the pics in the size of 210 x 90 pixels down in the footer. Is that possible?
Thanks again for your patient help!
Best regards,
StefanOctober 13, 2014 at 7:21 pm #335129This reply has been marked as private.October 15, 2014 at 3:40 pm #336180Hey!
I have changed the sizes of thumbnails but did not want to install a plugin. Please regenerate them using this plugin – https://wordpress.org/plugins/regenerate-thumbnails/ and it should work fine. If not, please let us know
Regards,
YigitOctober 22, 2014 at 7:07 pm #339680Cheers, Yigit!
I just installed the plugin, successfully regenerated the thumbnails but much to my regret, it did not work. Cache was cleared, of course…
Any idea?
Best regards,
StefanOctober 23, 2014 at 2:57 am #339908Hi!
Thank you for using Enfold.
Please add this on Quick CSS or custom.css:
.image_size_widget .news-thumb { width: 210px; height: 90px; }
You might need to add css media queries to change the size on different screen sizes. Install this plugin: https://wordpress.org/plugins/simple-image-sizes/
Go to Settings > Media then adjust the widget size thumbnail to 210x90px. If you don’t want to crop the images, set the Crop parameter to false or No but this might stretch the images with a different ratio. Update then save changes before you regenerate the thumbnails.
Regards,
IsmaelOctober 23, 2014 at 6:21 am #339929Dear Ismael,
Thank you again very much for your suggestion.
I did 100% as you described but without any success (including clearing the cache). I didn´t really expect this problem to be so complex. Do you have any other suggestions? These images down in the footer are very important for us, otherwise I would have said let´s skip ´em…
Thank you for bearing with me! Your patience is very much appreciated!
Best regards,
StefanOctober 24, 2014 at 6:34 am #340465Hey!
I checked Settings > Media and the Bildgröße „widget“ is stll 36x36px. It should be 210x90px if you follow the instructions above correctly. Please review the instructions, let us know if it works.
Best regards,
IsmaelOctober 24, 2014 at 9:01 am #340516Hey Ismael,
I have done as described. Media settings now show 210x90px. Thumbs have been regenerated without failure report. No result in the footer…
What I additionally did, was inspecting the pictures of the wagon in the footer with Chrome Tools. These pics are called
img.attachment-widget.wp-post-widget 28px x 28px
Might this have any influence on finally solving this issue?
Cheers,
StefanOctober 25, 2014 at 5:11 am #340894Hey!
That is weird. Please use this plugin instead: https://wordpress.org/plugins/regenerate-thumbnails/
If that doesn’t work, please edit functions.php. Find this code:
$avia_config['imgSize']['widget'] = array('width'=>36, 'height'=>36);
Replace it with:
$avia_config['imgSize']['widget'] = array('width'=>210, 'height'=>90);
Use the plugin above to regenerate the thumbnails or upload the featured images again.
Regards,
IsmaelOctober 27, 2014 at 6:10 am #341335Cheers, mate!
I have used the Regenerate Thumbnail Plugin already and used it once again. I also updated functions.php in the original and the child theme. No success. Aditionally, I did also re-upload some pics. No success. The image size still is 28×28 (and not 36×36 as it originally should be).
What makes wonder is: where can I find the resized thumbnails? I know it from other installations that these thumbs have their size as a part of their name and can be found in the media section. Here, also after I regenerated the thumbs, I do not see them anywhere.
Sorry to keep you guys busy with this ticket…
Thank you and best regards,
Stefan-
This reply was modified 10 years, 8 months ago by
slwuppertal.
October 28, 2014 at 6:42 am #342016Hey!
Did you update functions.php before you regenerate the thumbnails? Please post the login details here. Give us a link to a single post with the thumbnail issue. We would like to check it.
Best regards,
IsmaelOctober 28, 2014 at 7:15 am #342038Thank you very much, Ismael.
I did resizing as well before and after the changes in functions.php. All other relevant data is in the private post below.
Best regards,
Stefan-
This reply was modified 10 years, 8 months ago by
slwuppertal.
October 28, 2014 at 7:19 am #342042This reply has been marked as private.October 30, 2014 at 6:43 am #343259Hi Stefan!
Please check your website, i added this code to Quick CSS:
.news-thumb img, .news-thumb img{ width: auto; height: auto; }
Regards,
JosueOctober 30, 2014 at 6:49 am #343260You guys rock!
A big Thank You to all at Team Kriesi involved in this matter. This issue has finally been solved by one of the best, competent and friendliest support teams I have ever been in contact with so far!
All the best,
Stefan-
This reply was modified 10 years, 8 months ago by
slwuppertal.
October 30, 2014 at 6:53 am #343264You are welcome Stefan, thanks for the kind words, we appreciate it :)
Regards,
Josue -
This reply was modified 10 years, 8 months ago by
-
AuthorPosts
- The topic ‘Thumb-Size in Recent Post Widget’ is closed to new replies.