Viewing 18 posts - 1 through 18 (of 18 total)
  • Author
    Posts
  • #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?

    #382753

    Hi 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,
    Elliott

    #382802

    Thanks 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

    #383278

    Hi!

    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!
    Elliott

    #384353
    This reply has been marked as private.
    #385148

    Hi!

    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,
    Elliott

    #385386
    This reply has been marked as private.
    #386402

    Did you manage to find where these small thumbnail sizes are generated (under Blog Posts) please?

    Thanks

    #386680

    Hi!

    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!
    Elliott

    #386713
    This reply has been marked as private.
    #387431

    Hey!

    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,
    Elliott

    #387455

    Hi 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

    #388142

    Hi!

    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,
    Ismael

    #388193

    Hi Ismael

    Yes I did both those things.

    Please can you help? It has been 10 days now.

    Thanks

    Jane

    #388953

    Hey!

    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,
    Ismael

    #389002

    I 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?

    #389854

    Hello 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,
    Rikard

    #389978

    Thank 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!

Viewing 18 posts - 1 through 18 (of 18 total)
  • The topic ‘How to Change Featured Image Sizes? Changing functions.php has no effect’ is closed to new replies.