-
AuthorPosts
-
April 19, 2015 at 9:31 pm #430965
Hi There ~
When using the ‘magazine’ content component in my page, it defaults to using the thumbnail image size, which is 80x80px, and it’s crops off the top of the image, which looks bad. How/where can I change this setting so that it uses the full size image (which is still small enough to look good in a list)? Can I change it in the child theme so that when updating the theme in the future, I wont overwrite this change?http://www.evazeiseloriginals.com/2015/in-the-news/
Many thanks!
April 20, 2015 at 8:36 pm #431577Hi nulrick!
To increase the thumbnail size open up /enfold/config-templatebuilder/avia-shortcodes/magazine.php and change line 242 from this.
'image_size' => array( 'small'=> 'thumbnail', 'big' => 'magazine')
To this.
'image_size' => array( 'small'=> 'full', 'big' => 'magazine')
The reason it looks a little blurry on your end though is because your using some custom CSS.
@media only screen and (min-width: 768px) body#top.page-id-790 article.av-magazine-entry img.attachment-thumbnail.wp-post-image { min-width: 90px !important; min-height: inherit !important; }
Regards,
Elliott- This reply was modified 9 years, 8 months ago by Elliott.
April 20, 2015 at 8:41 pm #431584awesome and thanks.. yes aware of the blurriness as I tried to override te size via my CSS .. anyways, if I change the ‘magazine.php’, will it get overwrtten with future them updates? Should I make a copy and drag it into my child theme? or does that complicate matters? thanks!
April 21, 2015 at 5:46 pm #432196Hi!
For the shortcode files you can do this, https://kriesi.at/support/topic/is-it-possible-to-modify-files-in-enfold-child/, to add them to your child theme.
Cheers!
ElliottApril 21, 2015 at 6:39 pm #432257Thanks but I clicked on the link and it says ‘page not found’
April 22, 2015 at 7:30 am #432601Hi!
It works fine on my end, let’s try it again: https://kriesi.at/support/topic/is-it-possible-to-modify-files-in-enfold-child/
Regards,
RikardApril 22, 2015 at 9:20 pm #433130cool.. got it.. thanks!
- This reply was modified 9 years, 8 months ago by nulrick.
April 23, 2015 at 11:49 am #433382 -
AuthorPosts
- You must be logged in to reply to this topic.