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

    #538123

    Hey Poirot!

    Can you please elaborate on the changes you would like to make? :)

    Regards,
    Yigit

    #538143

    Hi 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
    Poirot

    #538148

    Hey!

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

    #538186

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

    #538189

    Hi!

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

    #538213

    Hi 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
    Poirot

    Edit: I’ve posted the link above in previous message

    • This reply was modified 9 years, 1 month ago by Poirot.
    #538236

    Hey!

    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 now

    Regards,
    Yigit

    #538278

    Hi 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
    Poirot

    #538284

    Hey!

    Please go to Tools > Regenerate Thumbnails and regenerate them. Image sizes are as i left them – http://i.imgur.com/Ute9uTh.png

    Best regards,
    Yigit

    #538462

    Hi 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!
    Poirot

    #540074

    Hi!

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

    #541261

    Hi 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
    Poirot

    #541826

    Hey!

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

    #542680

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

    #542765

    Hey!

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

    #542888

    H 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
    Poirot

    #542940

    Hi!

    Please do so and let us know how it goes :)

    Regards,
    Yigit

    #543089

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

    #544937

    Hi!

    Please add this in the Quick CSS field:

    .avia-content-slider .slide-image, .avia-content-slider .slide-image img {
        width: 100% !important;
    }

    Cheers!
    Ismael

Viewing 20 posts - 1 through 20 (of 20 total)
  • You must be logged in to reply to this topic.