Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-sales domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the better-click-to-tweet domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-amazon domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-stats domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wordpress-seo domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114
Search Box | Event Espresso - Staging Server

Support

Home Forums Event Espresso Premium Search Box

Search Box

Posted: June 24, 2013 at 1:54 pm

Viewing 1 reply thread


MsBecca

June 24, 2013 at 1:54 pm

Hi,

I placed the shortcut [EVENT_SEARCH] in the widget.  It works just fine however the button is below the form field.  Is there a way to make the button appear at the end of the search field instead of under it.  Also, is there a way to place text in the search box by default.  For instance “Search by event name, city, etc.”  Thanks.


Josh

June 24, 2013 at 5:26 pm

Hi there,

To make the button appear next to the form field there would need to be enough room. Can you post a link to the page so we can take a look?

Basically it could be done by setting the button to display: inline and the width of the field to be really narrow with CSS, but there would need to be enough room or the button would go to the next line anyway.

You can place text in the search box by default by adding a bit of jQuery to the page. Here is some example code:

<script>
jQuery(document).ready(function($){
var input = $( "#ee_autocomplete" );
input.val( input.val() + "search by event name, city, etc." );
});
</script>
Viewing 1 reply thread

The support post ‘Search Box’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso - Staging Server