Home › Forums › Support › Is it possible to get this text to be centered in the header? This topic has 3 replies, 2 voices, and was last updated 3 years, 8 months ago by David. Viewing 4 posts - 1 through 4 (of 4 total) Author Posts August 18, 2020 at 4:40 am #1407506 roy would it be possible to get the part after the – to be on the bottom? August 18, 2020 at 6:14 am #1407631 DavidStaff Customer Support Hi there, we can try str_replace on the post hero title with this PHP snippet: add_filter( 'generate_page_hero_post_title', function( $title ) { $string = "-"; $replace = "- <br />"; $title = str_replace($string, $replace, get_the_title() ); return $title; } ); August 20, 2020 at 5:28 am #1410873 roy Hello David, please bear with me! I’m a little confused, I am at the theme editor, is this where I put this snippet? Which theme file do I put it under to test if it works? Thanks again, sorry about my ignorance August 20, 2020 at 5:50 am #1410912 DavidStaff Customer Support Sorry forgot to add this doc: https://docs.generatepress.com/article/adding-php/ Which explains how to add PHP Author Posts Viewing 4 posts - 1 through 4 (of 4 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In