Viewing 16 posts - 1 through 16 (of 16 total)
  • Author
    Posts
  • #801629

    Hi,
    I need to increase the size of the images in the magazine element. I found other posts in which was told to go inside the function.php file, modify the size, save, and use a plugin such as regenerate thumbnails. So I did it (also with an other plugin verified for my WP version) but nothing changed. Can anyone help me?

    Thanks

    #801775

    Hey viaggiareverde,

    Thanks for using our theme!

    To help you better, could you provide your website page link about your question?

    Best regards,
    John Torvik

    #801823

    The page i need to modify is the homepage, viaggiareverde.it you can see two half column with the magazine element inside. I would lile to increase the size of those images. Tell me if you need more informations

    #802203

    Hi,

    Please try the following:
    1. Install this plugin: https://wordpress.org/plugins/simple-image-sizes/
    2. Go to Settings > Media
    3. Change the magazine image size (increase its width / height).
    4. Regenerate the thumbnails by clicking the button at the bottom.

    Best regards,
    Yigit

    #802810

    Hi,
    thank you for the answer but it still does not work.I can’t undestand why.I changed the size of the magazine element. as you said, but the images i put in that element keep having the same size.
    I give you temporary access so you can take a look. (if you want to try other solutions feel free to do it, then tell me)

    The result i’d like to have is a bigger list of images on the left and the titles on the right as normal.

    Hope to hear from you soon.
    Best regards.

    Luca

    #802819

    I found ( on an old discussion) a CSS code to increase the size of the all magazine element. i used it, but it still not what i have in my mind and it does not allow me to increase images size. Just to let you know if you look at it.

    #803209

    Hi,

    Sorry, it should have been “thumbnail” sizes. I have corrected it and regenerated thumbnails. Please add following code to Quick CSS in Enfold theme options under General Styling tab

    .av-magazine-thumbnail {
        width: 285px;
        height: 285px;
    }

    and adjust as needed

    Best regards,
    Yigit

    #803330

    Hi,
    i’ve tried to add this code and it makes me increase the sizes of images but if you look at it you can see that images does not fit the square (of the magazine element) in which they are. So the only idea i have is to remove the squares of the magazine element structure. Is it possible? If not, please help me to re-set thumbnail and magazine sizes as original, and i ll try an other solution to show posts on homepage. i’ve attached 2 links to images to make you understand better.

    Thanks for your help

    #803332

    i also have this code in quick css: `.av-magazine-thumbnail {
    width: 150px;
    min-height: 150px;
    }
    .av-magazine-entry {
    min-height: 25px;
    }
    .av-magazine-content-wrap {
    min-height: 25px;
    }
    .av-magazine .av-magazine-content-wrap .av-magazine-title {
    font-size: 17px;
    }
    `
    i don’t know if i have to remove it or not.

    #803848

    Hi,

    You can change custom CSS code to following one

    .av-magazine-thumbnail {
        width: 285px;
        height: auto;
    }

    Regarding cut off images, we would recommend you to upload them in proportional sizes or to change image size again using the plugin. In that case, please do not forget to regenerate thumbnails after saving the changes :)

    Best regards,
    Yigit

    #803884

    ok thank you for your aswer. Can you please tell me the dimesions of thumbnail before you modify that (or what is the original dimension of thumbnail in enfold). because now i ve 1420 x 750 but i want to take not of the original dimension. Thanks

    #803894

    Hey!

    Please adjust “Dimensione miniatura” image sizes and then regenerate thumbnails :)

    Regards,
    Yigit

    #804081

    Hi,
    just one more question. I like the result i had for the magazine element images, so i dont want to do anything that can change it. The only thing i want to ask is what is the normal dimension of thumbnails (cause i dont remember what is was originally); infact when i insert a new media, it give me different option for size, and the thumbnail size is very big. And, if i re-establish it as it was originally, does it change the size of images in the magazine element?

    Sorry if i keep answering but now i solved my original problem but i have plugins that i dont know if i need, and a strange dimension of thumbnail size that i dont know if i can change.

    Ask back if i hasnt been clear, and thank you!

    #804135

    Hi!

    That has been perfectly clear. Thank you :)

    Magazine element you are using is thumbnail images, which is 80x80px by default. Magazine featured image size is by default 710x375px, which is the size of featured image of the first post that shows up when you choose to display the first post highlighted.

    If you adjust thumbnail image size, they will be affected.

    We would recommend you to install a child theme – http://kriesi.at/documentation/enfold/using-a-child-theme/ and then copy wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/magazine.php file to your child theme – http://kriesi.at/documentation/enfold/add-new-or-replace-advanced-layout-builder-elements-from-child-theme/ and then open magazine.php file on your child theme and find following line

    
    $image	 		= get_the_post_thumbnail( $entry->ID, $this->atts['image_size'][$style] );
    

    and change it to following

    
    $image	 		= get_the_post_thumbnail( $entry->ID, 'magazine');
    

    After that, changes you apply on magazine image size will be applied on thumbnails of small magazine posts as well :)

    Cheers!
    Yigit

    #805693

    Ok, thank you for the aswer i will try to do this.

    best regards

    Luca

    #805714

    Hi Luca,

    You are welcome. We will keep the thread open and wait to hear from you. Thread will be on hold until you reply :)

    Regards,
    Yigit

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