PDA

View Full Version : Keyword search box - expanded



Spencer Culpin
September 22, 2014, 05:49 AM
Hi,

Does anyone know how to "open" by default the Keyword Search box, that is located at the top of every page by default on the Reality Flatty template. So that you don't have to click on the magnifying glass to open the search box?

Thanks.

Ionut Barabasa
September 22, 2014, 07:00 AM
I am interested in this too.

Viktor
September 22, 2014, 11:24 AM
Hello all,

Please open file: ftp://templates>>your_template>>tpl>>header.tpl find line:


<div class="kw-search angel-gradient-light">

and replace to:


<div class="kw-search angel-gradient-light kw-search-active">

then open file: ftp://templates>>your_template>>css>>style.css find code at line ~874 :



div.kw-search > span.field {
display: inline-block;
width: 0;
overflow: hidden;
opacity: 0;
filter: "alpha(opacity=0)"; -ms-filter: "alpha(opacity=0)"; /* old ie */
}


and replace to:


div.kw-search > span.field {
display: inline-block;
width: 200px;
overflow: hidden;
opacity: 1;
filter: "alpha(opacity=0)"; -ms-filter: "alpha(opacity=0)"; /* old ie */
}


save and check again.

Spencer Culpin
September 22, 2014, 02:00 PM
Thanks Viktor, that works great!