Although support for phpBB2 has ended there's still a huge amount of info available on this board.
Your question, and every other possible question, has been answered more than once over the years phpBB2 was actively supported.
I suggest you try the search function, if you try good enough you'll be able to find the solution.
My guess is that you will have to edit overall_header.tpl and overall_footer.tpl.