Okay
  Public Ticket #365411
Override custom.php in child theme
Closed

Comments

  • Carlos started the conversation

    I dont like that the custom.php shrinks the fonts of everything as the screen shrinks.  Id rather not have to override this in styles because we would have the correct size listed from styles, the wrong size from custom, and then the right size again in child styles.

    Is there a way to remove this function in child theme and then add a custom version in the child theme?

    if (!function_exists('nectar_custom_css_output')) {

    function nectar_custom_css_output(){

    include('css/custom.php');

    }

    }

     


  •  8,848
    Tahir replied

    Hey!

    Yes if you set the nectar_custom_css_output function in the child theme it will load the child theme custom.php instead of the one in the parent. 

    Cheers


    ThemeNectar Support Team