WordPress.org

Forums

Events Manager
[resolved] event search form button appears as field (7 posts)

  1. LynnW
    Member
    Posted 3 years ago #

    I'm using only the text entry field for the event search, no other parameters.
    Whatever I enter for the text search label appears in both the text field and the "button." The thing I can't figure out is that the "button" looks like a plain text entry field. It doesn't look like the button on your demo site, or have any other type of clickable indication. I'm using thesis 1.8 theme; would that be a problem?
    How do I get the button to look like something to click? And can each field have a different text label?
    development site:
    dev site events page
    Thank you. I like this plugin a lot, so many settings, much is easy & clear.
    http://wordpress.org/extend/plugins/events-manager/

  2. agelonwl
    Member
    Posted 3 years ago #

    Hi,

    you can either change your text or button background e.g. remove - input, textarea { background: #EEE; } in your theme style.css

  3. LynnW
    Member
    Posted 3 years ago #

    So, with that hint (which applies to both the entry field and the submit button instead of one or the other), I've been able to override the CSS in my theme's custom.css (which overrides all css) file for the whole form using these class selectors:
    .em-events-search-text for the search term entry field
    .em-events-search-submit for the button

    BUT, when I change the "text search label" in the EM settings, it still puts whatever I type in into BOTH the text entry and the button labels. Any clues for that? Thanks, again.

  4. agelonwl
    Member
    Posted 3 years ago #

    hi,

    you change that in the template file @ templates/events-search.php line 11&12 and for the search button its line 137

    some useful links
    http://wp-events-plugin.com/documentation/using-template-files/

  5. LynnW
    Member
    Posted 3 years ago #

    Thanks for replying... So, when I change a template, that means I have to remember to make that change in the template every time I upgrade the plugin, is that correct?

  6. agelonwl
    Member
    Posted 3 years ago #

    no, because since you put the template files inside your theme it will be deleted or replace by EM.

  7. agelonwl
    Member
    Posted 3 years ago #

    sorry, I mean it will NOT be deleted or replaced by EM.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Events Manager
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic