Home › Forums › Support › Search Page Font Size This topic has 5 replies, 2 voices, and was last updated 3 years, 9 months ago by Leo. Viewing 6 posts - 1 through 6 (of 6 total) Author Posts July 28, 2020 at 8:20 am #1379403 Praveen Hi guys, I want to reduce the H1 post size used in search result page. and also eliminate pages from the search results too. Can you please help? July 28, 2020 at 8:37 am #1379421 LeoStaff Customer Support Hi there, Give this a shot: .search h1 { font-size: 20px; } If you need to set mobile specific: @media (max-width: 768px) { .search h1 { font-size: 20px; } } July 28, 2020 at 10:25 am #1379549 Praveen Hi, thanks but this has no effect. July 28, 2020 at 10:27 am #1379552 LeoStaff Customer Support Edited the CSS above: https://generatepress.com/forums/topic/search-page-font-size/#post-1379421 July 28, 2020 at 10:35 am #1379568 Praveen Worked! Also how to take care of the second one? — > eliminate pages from the search results too. July 28, 2020 at 11:51 am #1379630 LeoStaff Customer Support Try this PHP snippet: add_filter( 'generate_navigation_search_output', function() { printf( '<form method="get" class="search-form navigation-search" action="%1$s"> <input type="search" class="search-field" value="%2$s" name="s" title="%3$s" /> <input type="hidden" name="post_type" value="post" /> </form>', esc_url( home_url( '/' ) ), esc_attr( get_search_query() ), esc_attr_x( 'Search', 'label', 'generatepress' ) ); } ); 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