This topic has 8 replies, 3 voices, and was last updated 9 years, 2 months ago ago by Eva Kemp
Hello,
I want to insert Search Form in the middle of page, what is the code of Search Form in Legenda Theme or maybe there is a Shortcode?
Appreciate your help!
Hello,
You can use “Mega Search Form” element in Visual Composer editor.
Please try it.
Regards,
Eva Kemp.
What if I want to insert Search Form in header, how do I add it in code?
Hello,
You can create Static Block with ‘Mega Search Form’ element and add it to ‘Place in header top bar’ sidebar in Appearance->Widgets.
Regards,
Robert Hall.
Yeah, it worked, but is it possible to change the Form’s size in pixels?
Thanks!
Hello,
Try to add the following code in custom css
.top-bar .languages-area{
width:250px;
}
Here is a video tutorial how to create custom.css: https://www.youtube.com/watch?v=Qok2zRedRMY&feature=youtu.be.
Regards,
Robert Hall.
Works almost perfectly, the height property changes the height of the top bar and not the search form. Is it possible to change search form itself?
Hello,
You can use this code:
.top-bar .languages-area .et-mega-search {
width: 150px;
}
.top-bar .languages-area .et-mega-search form input[type="text"] {
padding-top: 5px;
padding-bottom: 5px;
}
Regards,
Eva Kemp.
Tagged: best selling, json, persuasive, search form, shortcode, themes, woocommerce
You must be logged in to reply to this topic.Log in/Sign up