I want to remove some of the <br> tags in functions.php for a template I am creating. Call for price and Product is free specifically. Doing this achieves what I want but is it possible to override this file? if so how?

Thanks.