Forums Forums Search & Filter Pro Customize Search Layout

Viewing 7 posts - 1 through 7 (of 7 total)
  • Anonymous
    #221130

    How can I best customize the search layout to be horizontal like whats on this page? http://scottent.com/projects

    I need it to look exactly like that

    Trevor
    #221160

    Are you able to send me a live link/URL to your search page so I can take a look?

    I should be able to then give you some CSS to do it. The three columns in the checkbox field will be done using the CSS columns attribute.

    Anonymous
    #221215
    This reply has been marked as private.
    Trevor
    #221256

    I believe that you added some custom css already, so remove this:

    .searchandfilter > ul > li {
        display: inline-block !important;
        vertical-align: top !important;
        padding: 0 20px;
    }

    and add this, I think:

    .searchandfilter > ul {
        padding-left: 0;
    }
    @media only screen and (min-width: 801px) {
        li.sf-field-taxonomy-industry {
            float: left;
            margin-right: 20px;
        }
        li.sf-field-taxonomy-budget {
            float: left;
            margin-right: 20px;
            clear: left;
        }
    }
    @media only screen and (max-width: 800px) {
        li.sf-field-taxonomy-industry {
          display: inline-block !important;
          vertical-align: top !important;
          margin-right: 20px !important;
      }
        li.sf-field-taxonomy-budget {
          display: inline-block !important;
          vertical-align: top !important;
      }
    }
    li.sf-field-taxonomy-project_type > ul {
        padding-left: 0;
        columns: 3;
    }
    @media only screen and (max-width: 600px) {
        li.sf-field-taxonomy-project_type > ul {
            columns: 2;
        }
    }
    @media only screen and (max-width: 410px) {
        li.sf-field-taxonomy-project_type > ul {
            columns: 1;
        }
    }

    See how that works for you?

    Anonymous
    #221260

    Perfect! Thank you so much! You Rock!

    Anonymous
    #221262

    Lastly, what if we wanted the results to display to columns, side by side, instead of 1 just like this http://scottent.com/projects

    Trevor
    #221264

    Do you have any page builder plugins already installed? If not, follow these instructions:

    https://searchandfilter.com/documentation/3rd-party/post-grid/

Viewing 7 posts - 1 through 7 (of 7 total)