Hi,
I want to add a search block to my page, but can I only add the search block with a slider? I tried adding the search block by itself and its not showing correctly. I have attached a screenshot.
Hi,
I want to add a search block to my page, but can I only add the search block with a slider? I tried adding the search block by itself and its not showing correctly. I have attached a screenshot.
Hello Valerie,
Yes, the search block is designed for the slider / above fold area and is not available for other places. This will require customization, however, I will guide you so that you can start and customize the css further if required.
Create an empty row with VC where you want to place search block.
Please copy the css below and paste it inside the page settings CSS as shown in image below the CSS.
Navigate to Appearance >> Customize >> Layout and Design >> Search block and then tick the box “Enable Searchbox Background Options”
.banner-text {
position: static;
top: 0;
bottom: 0;
}
.banner-text .center-text {
display: block;
}
.trip-form {
display: block;
margin: 0;
}
@media only screen and (min-width: 768px), all
.trip-form {
margin-top: 0;
}
Thank you
Thank you for you help Sanjeev!