Remove date fields from homepage on my website


  • Newcomer

    I need help on how to remove the Date Search option in MyVr Website that I am creating. I am using the template that cannot remove the date search option in the home page and other page.

    Thanks,
    Chris Rivers


  • MyVR Employee

    Hi Chris,

    You can do that with some custom CSS. I can help you with that, if you tell me a little more about your desired outcome. Do you not want the date fields, but want to keep the search button? Any further details, or a screenshot would be great.


  • MyVR Employee

    Hi Chris,

    You can hide the entire search box by changing the settings in the website editor.

    0_1487713874064_4IiGvcjrSS.gif

    If you just want to hide the date fields, you can add the following custom code to your <head> (instructions)

    <style type="text/css">
      .search-lead .row .col-md-12 .row:nth-child(2),
      .search-lead .row .col-md-12 .row:nth-child(3) {
        display: none;
      }
    </style>
    

    This will leave you with just the destination selector.
    0_1487716778567_Screen Shot 2017-02-21 at 2.39.30 PM.png

    Cheers,
    Danny


Log in to reply