Tagged: yigit
-
AuthorPosts
-
January 26, 2016 at 10:46 am #572006
Hi, a few months ago I posed the question regarding increasing the size of the small preview image in the blog post. Yigit gave the solution here: https://kriesi.at/support/topic/single-author-blog-index-layout/ which worked great.
I am attempting to add the same code snippet into the function.php child-theme file of another site but now I get a bunch of error lines in the header. Do you know what might have changed between the 2 websites that are both using Enfold?
The old site is https://openfin.co and the new site is http://staging.loopcreative.co/redseal/news/awards/ (the page that has an example small preview thumb).
Thanks!
January 27, 2016 at 7:25 am #572637Hi Slade,
Please send us a temporary admin login so that we can have a closer look. You can post the details in the Private Content section of your reply.
Regards,
RikardJanuary 27, 2016 at 7:30 am #572640Here you go
January 28, 2016 at 7:04 am #573517Hi,
I see what you mean, I get the same result. I’m not sure what has changed but I’ll tag Yigit for the topic so that he can have a look at it.
Regards,
RikardFebruary 26, 2016 at 6:03 am #589561Was this ever looked into by Yigit? I forgot about it until the client pointed it out.
By the way, the site has moved to the Live server (it won’t be Live until tomorrow): http://8kly-jk6b.accessdomain.com/~slade/
Here is an example of a blog post with the small preview issue: http://8kly-jk6b.accessdomain.com/~slade/redseal-selected-as-a-2015-red-herring-top-100-global/
- This reply was modified 8 years, 9 months ago by Sladestyle.
February 26, 2016 at 2:48 pm #589822Hey!
Sorry, i must have missed it. I cannot see featured image on your blog post. Can you please elaborate on the issue?
Cheers!
YigitFebruary 27, 2016 at 1:49 pm #590233Hey Yigit!
Sorry, the site is about to go Live and the client wanted me to “hide” the preview. It is now showing again (for the time being) on this page: http://8kly-jk6b.accessdomain.com/~slade/redseal-selected-as-a-2015-red-herring-top-100-global/
If this page does not show up it is because the site went Live in which case the URL would be https://redseal.co/redseal-selected-as-a-2015-red-herring-top-100-global/Ideally what the client wants is for the small featured image to NOT crop. It’s ok that the image container be 180×180 but they don’t want the image cropping and filling the entire container. After reading a few posts I installed this plugin: https://wordpress.org/plugins/simple-image-sizes/ and set the “square” 180×180 to NOT crop and then regenerated the images. This didn’t seem to help.
Any ideas?
Thanks, Slade
February 29, 2016 at 1:56 pm #590718Hey!
Please go to Appearance > Editor and open functions.php file and find
$avia_config['imgSize']['square'] = array('width'=>180, 'height'=>180);
and change it to
$avia_config['imgSize']['square'] = array('width'=>180, 'height'=>180 , 'crop' => false);
Then regenerate thumbnails using this plugin – https://wordpress.org/plugins/regenerate-thumbnails/
Cheers!
Yigit -
AuthorPosts
- You must be logged in to reply to this topic.