-
AuthorPosts
-
November 18, 2015 at 1:40 am #537753
Hi!
I have tried everything I could think of, to change the height of the top blog image size, but no result.
I used “inspect element” to get the image’s code, for changing it in css, but nothing worked. I also tried changing value in theme functions.Any idea?
Regards,
PoirotNovember 18, 2015 at 2:29 pm #538123Hey Poirot!
Can you please elaborate on the changes you would like to make? :)
Regards,
YigitNovember 18, 2015 at 2:45 pm #538143Hi Yigit!
Sorry! :) I’d like to change the height. I can’t seem to find the right code. Inspect element says “.attachment-entry_without_sidebar.wp-post-image”, but that doesn’t work in css.
Regards
PoirotNovember 18, 2015 at 2:49 pm #538148Hey!
Please go to Appearance > Editor and open functions.php file and find
$avia_config['imgSize']['entry_without_sidebar']= array('width'=>1210, 'height'=>423 ); // images for fullsize pages and fullsize slider
and change it as needed then regenerate thumbnails using this plugin – https://wordpress.org/plugins/regenerate-thumbnails/
Best regards,
YigitNovember 18, 2015 at 3:24 pm #538186Hi Yigit!
Thank you for your help. I can’t seem to fix it. I had already changed the width in functions.php, and tried reloading the featured image.
Regards,
PoirotNovember 18, 2015 at 3:28 pm #538189Hi!
To make sure that we are on the same page, image in the screenshot in private content field is the one you would like to edit, is that correct?
If so, please post login credentials here privately and let us know the size you would like to use.Regards,
YigitNovember 18, 2015 at 3:49 pm #538213Hi Yigit,
Correct! I’d like to increase the height to 558px. I still might need to change it afterward though. Hope you find the problem.
Regards
PoirotEdit: I’ve posted the link above in previous message
- This reply was modified 9 years, 1 month ago by Poirot.
November 18, 2015 at 4:03 pm #538236Hey!
Changes are done. You forgot to regenerate thumbnails :)
Your current image’s height is smaller than 558px. Please uploader a bigger one to see the changes correctly.
Please review your website nowRegards,
YigitNovember 18, 2015 at 4:33 pm #538278Hi Yigit,
I’m not sure it is working. I would like the top blog image to be 930x558px. In other words, I’d like to have always the 1000×600 image proportion. So, I went back to functions.php and changed height to 726px (to keep that proportion). I then regenerated, but I see no changes. The image however is large enough to fit those proportions.
Regards
PoirotNovember 18, 2015 at 4:38 pm #538284Hey!
Please go to Tools > Regenerate Thumbnails and regenerate them. Image sizes are as i left them – http://i.imgur.com/Ute9uTh.png
Best regards,
YigitNovember 18, 2015 at 6:47 pm #538462Hi Yigit,
Ok, solved! Just one more question, since I do not understand the Regenerate tool. Will this ever affect the size of images in the library, or just how they are displayed on the site? Also, is this tool part of wordpress, or part of a plugin? I have a regenerate plugin which I never use, and I would delete it otherwise.
Thank you!
PoirotNovember 21, 2015 at 4:50 am #540074Hi!
It is a tool or plugin that enables users to regenerate the thumbnails without having to delete or re-upload the original image. It’s like a shortcut. It doesn’t affect the frontend.
Regards,
IsmaelNovember 23, 2015 at 11:32 pm #541261Hi Ismael!
Thank you for helping. I’m still having problems with my blog post images.The sizes are only correct for the images that have the same proportions as the values set in Theme Functions. In the case of other images, instead of being fitted & cropped, they are displayed with grey areas on both sides. However, all uploaded images are large enough to be fitted and cropped. Any idea of what might be wrong?
Regards
PoirotNovember 24, 2015 at 5:51 pm #541826Hey!
Can you please post a link to an example post so we can see the issue? I checked several of your blog posts and they all look fine.
Best regards,
YigitNovember 25, 2015 at 9:09 pm #542680Hi Yigit,
You can see it on the homepage, if you scroll down to the end of the page (last 2 posts). On the second page, there are also a few like that. Thank you,
Regards,
PoirotNovember 25, 2015 at 11:22 pm #542765Hey!
You are uploading your last two images in 495x400px while others are 495x297px. Can you please make sure to upload them in the same ratio?
If you would like to more background color, please add following code to Quick CSS.avia-content-slider .slide-image { background: transparent!important; }
Best regards,
YigitNovember 26, 2015 at 8:10 am #542888H Yigit,
Ok, thank you, I will make sure. But can’t the images fit the proportion I want, and then be cropped? I will try again the cropping settings and regenerate.
Regards
PoirotNovember 26, 2015 at 10:13 am #542940November 26, 2015 at 1:09 pm #543089Hi Yigit,
I didn’t work. What I did: I regenerated the “portfolio size” images at 495 by 297, allowing them to be cropped. I assume all blog cover images fall under the category “portfolio size”. If not, let me know.
What I see is that only images uploaded with the “right” proportions display correctly. Others display a wrong width (368, instead of 437 width).Their height would also be wrong, if I didn’t add code in CSS: .avia-content-slider .slide-image {height:262px;}
Basically, the whole point of regenerating images is exactly to be able to use images uploaded at different sizes. So, I do not understand why it doesn’t work.
Regards,
PoirotDecember 1, 2015 at 2:41 am #544937 -
AuthorPosts
- You must be logged in to reply to this topic.