Originally Posted by
Feznizzle
I added this as my defined HEADER_SEARCH_BUTTON in includes/languages/english/MY_TEMPLATE/header.php:
<i class="fa fa-search" aria-hidden="true"></i> Search
To go back to your question.. CSS button relies on the ALT define not the button image define.. If for some reason like the CSS failed or you needed to switch back, then the button image is used. I found for buttons within forms, I had to use the font number and for links the html tags and class.
Code:
define('BUTTON_SEARCH_ALT', ' Search');
Code:
define('BUTTON_CREATE_ACCOUNT_ALT', '<i class="fa fa-user-plus"></i> Sign Up');
I also had to edit html_output.php to kill the js switch in forms..
PHP Code:
$css_button_js .= ''; // 'onmouseover="this.className=\''. $mouse_over_class . '\'" onmouseout="this.className=\'' . $mouse_out_class . '\'"';
But that could be just the way I have CSS buttons set-up.. I don't like the standard box look..
Bookmarks