If you have troubles since the update to WordPress 4.5 please read this post before opening a new thread.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #24704

    Hello – I have created a child theme for Flashlight and it contains a style.css file as well as a functions.php file. I want to change the default height of blog post images. In the main functions.php file, I have found it here:

    $avia_config['imgSize']['blog'] 		= array('width'=>430, 'height'=>9999, 'crop'=>false);		// image for blog posts

    The thing is, I don’t want to make the change in the main functions.php file in case of future updates. So I’d like to make the change in my child theme functions.php file, but doing so doesn’t seem to make any difference. This is what I have:

    <?php

    $avia_config['imgSize']['blog'] = array('width'=>430, 'height'=>300, 'crop'=>false); // image for blog posts

    ?>

    Any idea what I am missing? Thanks in advance!

    #124437

    Hi!

    This thread will help you: http://www.kriesi.at/support/topic/ (Purchase code hidden if logged out) -child-functionsphp

    Regards,

    Peter

    #124438

    Perfect – thanks so much!

Viewing 3 posts - 1 through 3 (of 3 total)

The topic ‘Child theme functions.php file’ is closed to new replies.