Admonish
  1. .search-form10 .smart-search-form input[type="submit"] {
  2. background: transparent none repeat scroll 0 0;
  3. height: 34px;
  4. left: 0;
  5. right: auto;
  6. width: 40px;
  7. color: transparent; }
Admonish

@adrexia That is a good idea, and I would do that...but unfortunately I'm working with a pre-made template and the designers of it have a really bad addiction to nested descendant selectors that use tag names.

adrexia

Though, you probably want to keep the text for screen readers and just visually hide it.

adrexia

with useButtonTag it renders like this:

  1. <button $AttributesHTML>
  2. <% if $ButtonContent %>$ButtonContent<% else %><span>$Title.XML</span><% end_if %>
  3. </button>
adrexia

Try

  1. FormAction::create('doSearch','')->setUseButtonTag(true)