Inactive to active Search Button
By default Search Button is inactive ( in Search field). I have to use "Enter" button to search website.
I think people still want to hit search button with mouse rather than "Enter" button. I made a few changes to fix it. First - changed searchform php from: Code:
<form method="get" class="searchform" action="<?php echo esc_url( home_url( '/' ) ); ?>"> Code:
<form method="get" class="searchform" action="<?php echo esc_url( home_url( '/' ) ); ?>"> Code:
.widget .submit { http://www.wood-furniture.biz/DecorTips/ I'm not a CODER. So - is it correct what I did? Or - is there a better way to fix it? |
Hi, Bruno. I know I said in a previous post that you normally don't have to create a child theme for Montezuma, but in this case, since you are making a change to a physical theme file (searchform.php), you should create a child theme and make your changes to a copy of that file in your child theme folder. If you don't create a child theme, then the next time you install an updated version of the theme (and new versions of the theme come out pretty frequently), all of the changes you made to any physical theme files will be lost. Any changes to the virtual CSS files or virtual template files will remain intact, because those are stored in a database table. Just want to make sure you understand that, because I don't want you to wonder what happened to your changes when you update the theme.
|
Quote:
|
Quote:
But - Child Theme is good enough if server doesn't crush. I always have a copy of website ( files and Databases) on my computer. |
Quote:
I don't use mouse to search. But some people I know - they even don't know how to use "search" without using mouse. |
All times are GMT -6. The time now is 09:45 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.