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:
$avia_config['imgSize']['blog'] = array('width'=>430, 'height'=>300, 'crop'=>false); // image for blog posts
Any idea what I am missing? Thanks in advance!
This thread will help you: http://www.kriesi.at/support/topic/override-the-global-avia_config-within-child-functionsphp
The topic ‘Child theme functions.php file’ is closed to new replies.