By default, If no image is selected in the Masthead module admin, it uses the 'article Intro image'.
I want it to load the Full Article Image instead, NOT the intro image.
I have made a change but it doesn't work
In modules/mod_jamasthead/helper.php
On line 210 I replaced image_intro to fulltext_image but it isnt working.
if(!isset($Masthead['params']['background']) || $Masthead['params']['background'] == ''){
$Masthead['params']['background'] = $images['image_intro'];
I changed this to
if(!isset($Masthead['params']['background']) || $Masthead['params']['background'] == ''){
$Masthead['params']['background'] = $images['fulltext_image'];
Is this the correct file to modify? I would be grateful for some advice please.
IDEALLY rather than making changes to the module itself, is there a way to make chages to the 'layout' files in templates/ja_healthcare/html/mod_jamasthead . I would prefer to do this, if possible. If not, any solution will do 😉