- This topic has 7 replies, 3 voices, and was last updated 3 years, 3 months ago by Tom.
January 25, 2018 at 3:39 am #479474keiron
is there any way to have the navigation search open below the navigation as opposed to across it? example being http://www.ohsheglows.com mobile version. at present i am using the snippet code tom has provided to change the placeholder name seen below…
if ( ! function_exists( ‘generate_navigation_search’ ) ) :
$generate_settings = wp_parse_args(
get_option( ‘generate_settings’, array() ),
if ( ‘enable’ !== $generate_settings[‘nav_search’] )
<form method=”get” class=”search-form navigation-search” action=”<?php echo esc_url( home_url( ‘/’ ) ); ?>”>
<input type=”search” placeholder=”Search Recipes or Ingredients” class=”search-field” value=”<?php echo esc_attr( get_search_query() ); ?>” name=”s” title=”<?php _ex( ‘Search’, ‘label’, ‘generatepress’ ); ?>”>
endif;January 25, 2018 at 6:53 am #479663LeoStaffCustomer SupportJanuary 25, 2018 at 7:04 am #479672keiron
just for mobileJanuary 25, 2018 at 12:24 pm #479904LeoStaffCustomer SupportJanuary 26, 2018 at 5:18 am #480353keiron
Thanks for the response! However I don’t think you understood what I meant. I wanted the search bar to move below the navigation bar when you click the icon, similar to as seen on the mobile version of http://www.ohsheglows.comJanuary 26, 2018 at 6:45 am #480416LeoStaffCustomer SupportJanuary 27, 2018 at 4:50 am #481005keiron
awesome it works! the text on iphone is getting lost. when you press the search, seems to be fine on other devices…. any idea? link to website now provided…… also when you search something then swipe back to the homepage the navigation logo splits from the search and toggle jumping above and floating right, this also happens when using the toggle links then swiping back as well…January 27, 2018 at 9:39 am #481234TomLead DeveloperLead Developer
Can you see if this works for you?: https://generatepress.com/forums/topic/search-box-placeholder-text-issue/#post-473410
- You must be logged in to reply to this topic.