-
-
Hi there,
I am using header 7 left navigation, where I add a search bar through the widget function.
I can’t get two things right:
1) I would like that search bar looks the same as the one in the footer; add the search symbol within the search field.
2) instead 100% width within header/navigation bar, it floats partly over the content
Thank you very much for your time,
With best regards,
Manuela
-
Hello,
Can you please add a link of the site? So i can give it a closer look.
Best regards!
-
-
-
-
Hello,
I added this css into your Custom Css box in General Options:
.input-append input#s { width: 135px !important; display: block !important; } .widget_search .input-append { font-size: 13px !important; } a.close_ { display: none; }
Please check your site and let us know if this is ok for you.
Best regards!
-
Hello, yes, I can work with that 😊 Thank you very much Mirela for your fast help and solution. 💐 Best wishes, Manuela
-
You’re welcome :)
If you like our theme and support, leave us a rating on Themeforest, it’s very important for us :)
https://themeforest.net/downloads
Thank You so much!
-
Hi, I rated gladly 😊
I would like to add another solution (in case someone will have the same question once). While I was looking to add the search icon instead of a button, I realized other search fields on the website changed also in size with the code above, which breaks the design again but on other places.
I succeed through deleting the code above and add the CSS code below in specular-child/style.css. (It’s a copy from your other CSS search-form settings in footer/aside, but then named header):
—-
header #s {
width:100%;
height:40px;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
header #search-form:after{
content: “\e1b7”;
font-family: ‘moon’;
font-weight:normal;
font-style:normal;
text-decoration:inherit;
-webkit-font-smoothing:antialiased;
position:absolute;
right:15px;
top:11px;
font-size:16px;
display:inline;
width:auto;
height:auto;
line-height:normal;
vertical-align:baseline;
background-image:none;
background-position:0% 0%;
background-repeat:repeat;
margin-top:0;
color:#bbb;
}
header #search-form{width:100%; float:left; position:relative;}
header #search-form .more{
display:none;
}
—
I am still very thankful for your effort and time, it brought me in the right direction 🍀
With best regards,
Manuela
-
Thank you for sharing your solution Manuela!
Have a great day!
-
You must be logged in to reply to this topic.