Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #840327

    Hi there,

    we made a change of image sizes for the blog posts (markd in strong):
    $avia_config[‘imgSize’][‘widget’] = array(‘width’=>36, ‘height’=>36); // small preview pics eg sidebar news
    $avia_config[‘imgSize’][‘square’] = array(‘width’=>180, ‘height’=>180); // small image for blogs
    $avia_config[‘imgSize’][‘featured’] = array(‘width’=>1500, ‘height’=>430 ); // images for fullsize pages and fullsize slider
    $avia_config[‘imgSize’][‘featured_large’] = array(‘width’=>1500, ‘height’=>630 ); // images for fullsize pages and fullsize slider
    $avia_config[‘imgSize’][‘extra_large’] = array(‘width’=>1500, ‘height’=>1500 , ‘crop’ => false); // images for fullscrren slider
    $avia_config[‘imgSize’][‘portfolio’] = array(‘width’=>495, ‘height’=>400 ); // images for portfolio entries (2,3 column)
    $avia_config[‘imgSize’][‘portfolio_small’] = array(‘width’=>260, ‘height’=>185 ); // images for portfolio 4 columns
    $avia_config[‘imgSize’][‘gallery’] = array(‘width’=>845, ‘height’=>684 ); // images for portfolio entries (2,3 column)
    $avia_config[‘imgSize’][‘magazine’] = array(‘width’=>710, ‘height’=>375 ); // images for magazines
    $avia_config[‘imgSize’][‘masonry’] = array(‘width’=>705, ‘height’=>705 , ‘crop’ => false); // images for fullscreen masonry
    $avia_config[‘imgSize’][‘entry_with_sidebar’] = array(‘width’=>845, ‘height’=>442); // big images for blog and page entries
    $avia_config[‘imgSize’][‘entry_without_sidebar’]= array(‘width’=>1210, ‘height’=>423 ); // images for fullsize pages and fullsize slider
    $avia_config[‘imgSize’] = apply_filters(‘avf_modify_thumb_size’, $avia_config[‘imgSize’]);

    We added this to functions.php of the child theme, but it does not overwrite the functions.php of Enfold. Of course, with the update this was lost. It is still in the child theme and does not apply. As soon as I change it in Enfold, it works.

    Can you please give me a suggestion, how I can put this change of the image size to my child theme?

    Thanks in advance.
    Kati

    #841338

    Hey Kati,

    Can you give us temporary admin access to your website in the private content box below, so that we can have a closer look? At this point, I don’t have a link to your other threads.

    Best regards,
    Victoria

    #841898

    Sure!
    Thanks for your help!
    Kati

    #842029

    Hi Kati,

    I am not seeing the login link, could you please add it as well?

    Best regards,
    Victoria

    #842033

    Sure!

    #843412

    Hi,

    Please use the following plugin instead.

    // https://wordpress.org/plugins/simple-image-sizes/

    If you really want to override it bin the child theme, use the add_image_size function and use the same thumbnail name.

    // https://developer.wordpress.org/reference/functions/add_image_size/

    Best regards,
    Ismael

    #843436

    Hi Ismael,

    thank you very much for your help!

    Best regards,
    Katrin

    #843483

    Hi,

    No problem. Please feel free to open a new thread if you need anything else.

    Best regards,
    Ismael

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Change image / thumbnail sizes in child theme does not overwrite Enfold’ is closed to new replies.