Home › Forums › Support › Customize Search Results Title This topic has 5 replies, 2 voices, and was last updated 6 months, 1 week ago by David. Viewing 6 posts - 1 through 6 (of 6 total) Author Posts September 9, 2022 at 6:26 am #2337957 John Hi, Please, How I can change Search Results Title background from white to this color: #F5F4EE, text alignment: Center, Text Color: #F46100 and Text: Results for “search query” e.g. Results for “cars” September 9, 2022 at 9:02 am #2338270 DavidStaff Customer Support Hi there, try adding this CSS: .search.separate-containers .page-header { background-color: #F5F4EE; color: #F46100; text-align: center; } Documentation: http://docs.generatepress.com/ Adding CSS: http://docs.generatepress.com/article/adding-css/ September 10, 2022 at 3:08 am #2338725 John Worked! Thanks David, But how I can change the Text to: Results for “search query” e.g. Results for “cars” September 10, 2022 at 6:24 am #2338861 DavidStaff Customer Support You can change the prefix text using the snippet provided here: https://generatepress.com/forums/topic/modify-search-title/#post-2077758 Do you want the search query wrapped in "" quotes too ? Documentation: http://docs.generatepress.com/ Adding CSS: http://docs.generatepress.com/article/adding-css/ September 11, 2022 at 4:31 am #2339493 John Yes, Like Results for “cars” September 11, 2022 at 11:58 am #2339865 DavidStaff Customer Support Try this snippet instead: add_filter('generate_search_title_output',function($title) { $title = sprintf( '<header %s><h1 class="page-title">%s</h1></header>', generate_get_attr( 'page-header' ), sprintf( /* translators: 1: Search query name */ __( 'Results for: "%s"', 'generatepress' ), '<span>' . get_search_query() . '</span>' ) ) return $title; }); Documentation: http://docs.generatepress.com/ Adding CSS: http://docs.generatepress.com/article/adding-css/ Author Posts Viewing 6 posts - 1 through 6 (of 6 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In