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

    #431577

    Hi 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.
    #431584

    awesome 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!

    #432196

    Hi!

    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!
    Elliott

    #432257

    Thanks but I clicked on the link and it says ‘page not found’

    #432601

    Hi!

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

    #433130

    cool.. got it.. thanks!

    • This reply was modified 9 years, 8 months ago by nulrick.
    #433382

    Hey!

    Great, please let us know if you should have any more problems.

    Best regards,
    Rikard

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