-
AuthorPosts
-
January 20, 2015 at 3:22 pm #382495
I am trying to change the default sizes of the Featured Image but cannot work out where to change the dimensions.
I have tried editing the functions.php file and added a new image to the library then created a new post but the new dimensions in functions.php are having no effect.
What is controlling the featured image sizes please?
January 20, 2015 at 10:25 pm #382753Hi jscarlett!
You have tried changing the sizes on lines 127 – 128 in the functions.php file?
$avia_config['imgSize']['entry_with_sidebar'] = array('width'=>845, 'height'=>321); // big images for blog and page entries $avia_config['imgSize']['entry_without_sidebar']= array('width'=>1210, 'height'=>423 ); // images for fullsize pages and fullsize slider
Best regards,
ElliottJanuary 21, 2015 at 1:13 am #382802Thanks Elliott
Yes I have tried editing the functions.php file and added the above in various places but it didn’t make any difference. (lines 127-128, lines 99-100)
What controls the size of the thumbnails?
Thanks
Jane
January 21, 2015 at 7:27 pm #383278Hi!
After you change the sizes try installing this plugin, https://wordpress.org/plugins/regenerate-thumbnails/, to regenerate your thumbnails.
Send us a WordPress login if your still having trouble.
Cheers!
ElliottJanuary 23, 2015 at 2:40 pm #384353This reply has been marked as private.January 25, 2015 at 6:52 pm #385148Hi!
80 x 80? Where are those at? You linked us to your blog page and those images will use the “entry_with_sidebar” or “entry_without_sidebar” sizes.
Send us a link to the exact page where the images you want to change are at.
Regards,
ElliottJanuary 26, 2015 at 12:31 pm #385386This reply has been marked as private.January 27, 2015 at 5:38 pm #386402Did you manage to find where these small thumbnail sizes are generated (under Blog Posts) please?
Thanks
January 27, 2015 at 11:13 pm #386680Hi!
I’m still having trouble trying to find the 80 x 80 images. Even though I’m logged in the links you provided only take me to your dashboard so I’m guessing you deleted the post and page.
I found the “News & Events” page from your menu but that’s the same page that you linked to in your first post and there are no 80 x 80 images there. Take a screenshot and highlight what your referring to please.
Cheers!
ElliottJanuary 28, 2015 at 12:27 am #386713This reply has been marked as private.January 28, 2015 at 10:37 pm #387431Hey!
Ok so it looks like your talking about the bottom of your homepage instead of the links you provided.
You can use this CSS to change their size.
#top .fullsize .template-blog .blog-meta { width: 300px !important; }
You can find the actual image size on line 100 in the functions.php file.
$avia_config['imgSize']['square'] = array('width'=>180, 'height'=>180); // small image for blogs
Best regards,
ElliottJanuary 28, 2015 at 11:18 pm #387455Hi Elliott
The links I provided are correct – the Blog Posts element is on several pages I was only giving you one and yes it is also on the homepage.
What you have suggested has not worked.
I added the new CSS you provided then created a new post with a newly uploaded featured image and it is still the same small size but moved slightly to the left.
It is inside the 300px wide area in your CSS but not affected by it.
Line 100 in functions.php is currently
$avia_config['imgSize']['square'] = array('width'=>300, 'height'=>300); // small image for blogs
so it is not having an effect on the small square featured image either.
Please can you take a look again to find a solution and you are welcome to edit the css or functions.php files then create a new post with a featured image to check it works. Just apply the ‘Milton Keynes’ category and it will appear in the page or the homepage.
Thanks
January 30, 2015 at 8:52 am #388142Hi!
After you adjust the width and height of the thumbnails, did you go to Tools > Regen. Thumbnails panel? You need to regenerate the images again if you want this solution to work. Or upload the featured images again manually.
Best regards,
IsmaelJanuary 30, 2015 at 10:22 am #388193Hi Ismael
Yes I did both those things.
Please can you help? It has been 10 days now.
Thanks
Jane
February 1, 2015 at 7:35 am #388953Hey!
The featured image looks fine when I checked the page: http://dpassociatesuk.com/360-play.co.uk/news-events/news-events-milton-keynes/
Best regards,
IsmaelFebruary 1, 2015 at 12:30 pm #389002I am sorry but your response does not help me. The page you are looking at is not where I asked you to look.
Here is the correct page: http://www.dpassociatesuk.com/360-play.co.uk/milton-keynes/
If you go to the above link using the login I supplied and scroll down to ‘Latest News & Events’
It is the Blog Posts element and there is a square above the post title ‘Opening Times’ and another square above the title ‘Milton Keynes Charity of the Year 2014/15′. These two squares are 80 x 80 and are featured images.
The thumbnails are 80x80px or 81x81px.
If this is too difficult for you to follow then here is a link to your demo with the same thumbnail sizes:
http://kriesi.at/themes/enfold/blog/blog-single-small/
As previously explained, these are generated by the element ‘Blog Posts’.
Please look again at the screen shot link I gave earlier that shows the thumbnails and I have added a screen shot from your demo site at the top:
http://scarlettdesign.co.uk/screen-shot-kriesi.html
Please be aware that for the two solutions you have suggested I used Tools > Regen. Thumbnails to regenerate the images again and I also uploaded the featured images again manually on a new post to test.
Nothing has changed the size of the thumbnails.
It has been nearly 2 weeks since I first asked for support and I am now past the deadline that the client has set and I need your urgent attention on this please.
I just need to know what is controlling the featured image sizes (small 80 x 80 or 81 x 81 thumbnails under Blog Posts) please?
February 3, 2015 at 6:37 am #389854Hello Jane,
First of all, we’re very sorry that we couldn’t help you in a more efficient manner. I’ve had a look at the site in question and I think I’ve found the problem.
Please add the following code to Quick CSS:
#top .fullsize .template-blog .blog-meta { width: 280px !important; height: 280px !important; }
.small-preview{ width: 280px !important; height: 280px !important; margin:0 !important; }
Hope this solves your problem, please get back to us if you should have any further problems.
Best regards,
RikardFebruary 3, 2015 at 11:25 am #389978Thank you so much! It works!
The code needs to be adjusted though to prevent a 280px height gap between the featured image and the article when the full post is viewed. Then it is perfect:
#top .fullsize .template-blog .blog-meta { width: 280px !important; }
small-preview{ width: 280px !important; height: 280px !important; margin:0 !important; }
Thank you!
-
AuthorPosts
- The topic ‘How to Change Featured Image Sizes? Changing functions.php has no effect’ is closed to new replies.