This topic has 1 reply, 2 voices, and was last updated 12 years, 11 months ago by Fem.
Viewing 2 posts - 1 through 2 (of 2 total)
how would I default the search box to stay open and not minimize or expand on click?
Open style.css and find the following code and replace only the shown below
Find Code
#header-s4 .search-box [type="search"],
#header-s4 .search-box [type="text"] {
background-color: #f5f5f5;
background-image: url(images/search-icon.png);
background-position: 6px center;
background-repeat: no-repeat;
background-size: 16px 16px;
border: none;
cursor: pointer;
height: 30px;
width: 0;
margin: 30px 0 0 0;
padding: 0 0 0 30px;
position: relative;
border-radius:50px;
-webkit-transition: width 400ms ease, background 400ms ease;
transition: width 400ms ease, background 400ms ease;
}
#header-s4 .search-box [type="search"]:focus,
#header-s4 .search-box [type="text"]:focus {
background-color: #fff;
border: 1px solid #dddddd;
cursor: text;
outline: 0;
width: 230px;
}
Replace Code
#header-s4 .search-box [type="search"],
#header-s4 .search-box [type="text"] {
background-color: #f5f5f5;
background-image: url(images/search-icon.png);
background-position: 6px center;
background-repeat: no-repeat;
background-size: 16px 16px;
border: none;
cursor: pointer;
height: 30px;
width: 230px;
margin: 30px 0 0 0;
padding: 0 0 0 30px;
position: relative;
border-radius:50px;
-webkit-transition: width 400ms ease, background 400ms ease;
transition: width 400ms ease, background 400ms ease;
}
#header-s4 .search-box [type="search"]:focus,
#header-s4 .search-box [type="text"]:focus {
background-color: #fff;
border: 1px solid #dddddd;
cursor: text;
outline: 0;
}
Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic.