How can I override a require() used in functions.php of parent theme to my child theme

I have created a child theme for a Theme, Every thing works fine, except there are some files being required in functions.php of parent theme which I want to override it from the child theme. They have used get_template_directory_uri();instead of get_stylesheet_directory_uri();. So it’s not overriding it. Code used in function.php is: require( get_template_directory() .’/inc/custom-functions.php’ );…

Details

Entity print css not working

I followed the guide to configure the Entity print module, I used the bartik theme, when I go to the debug page: “http://partymanagement.dd:8083/print/pdf/node/222/debug” I see everything correctly but when I go to download the pdf the css is not loaded. MYTHEME.info.yml: entity_print: node: all: ‘bartik/print-styling’ MYTHEME.libraries.yml: print-styling: css: theme: css/style.css: {} entity-print.html.twig: <head> </head>

Details