Sorry for the confusion. In testing, I reverted back to the stock, default theme to make sure there wasn’t anything else at issue. That worked, so I then made the update to functions.php and header.php in the Cosmic Buddy directory, and it now works properly. Fortunately, I’m doing all this on a test install, so it’s some good lessons learned!
Thanks for your help!