-
AuthorPosts
-
May 30, 2017 at 6:53 pm #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
May 31, 2017 at 4:56 am #801775Hey viaggiareverde,
Thanks for using our theme!
To help you better, could you provide your website page link about your question?
Best regards,
John TorvikMay 31, 2017 at 6:28 am #801823The 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
May 31, 2017 at 9:33 pm #802203Hi,
Please try the following:
1. Install this plugin: https://wordpress.org/plugins/simple-image-sizes/
2. Go to Settings > Media
3. Change themagazine
image size (increase its width / height).
4. Regenerate the thumbnails by clicking the button at the bottom.Best regards,
YigitJune 1, 2017 at 11:29 pm #802810Hi,
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
June 2, 2017 at 12:33 am #802819I 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.
June 2, 2017 at 10:21 pm #803209Hi,
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,
YigitJune 3, 2017 at 9:28 am #803330Hi,
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
June 3, 2017 at 9:29 am #803332i 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.June 5, 2017 at 12:24 pm #803848Hi,
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,
YigitJune 5, 2017 at 1:31 pm #803884ok 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
June 5, 2017 at 1:38 pm #803894Hey!
Please adjust “Dimensione miniatura” image sizes and then regenerate thumbnails :)
Regards,
YigitJune 5, 2017 at 6:15 pm #804081Hi,
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!
June 5, 2017 at 8:47 pm #804135Hi!
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!
YigitJune 8, 2017 at 6:09 pm #805693Ok, thank you for the aswer i will try to do this.
best regards
Luca
June 8, 2017 at 7:15 pm #805714 -
AuthorPosts
- You must be logged in to reply to this topic.