Basic field styling

Forums › Forums › Search & Filter Pro › Basic field styling

Viewing 8 posts – 1 through 8 (of 8 total)
  • Anonymous
    #209348

    Hi,

    Do you have a basic guide to custom styling of the search fields/form i.e. spacing between fields, alignment (vertical, horizontal) etc?

    Many thanks

    Trevor
    #209351

    We do not, as every theme and site needs different style, so what it looks like out of the box is intentionally basic and often will inherit theme CSS. This search will find some snippets:

    https://support.searchandfilter.com/forums/search/.searchandfilter+custom+css/

    If you show me what you have, and what you want, I can guide you (preferably live examples).

    Anonymous
    #209379
    This reply has been marked as private.
    Trevor
    #209415

    This basic css would give you the basis for that:

    .searchandfilter > ul > li {
      display: inline-block;
      margin-right: 20px;
      float: left;
    }
    .searchandfilter > ul > li:last-child {
      margin-right: 0;
    }
    Anonymous
    #209423
    This reply has been marked as private.
    Trevor
    #209427

    You may need to add it in the standard WordPress Appearance Customiser Custom CSS page instead.

    Anonymous
    #209436
    This reply has been marked as private.
    Trevor
    #209459

    Is the code in place right now (but obviously not working)?

Viewing 8 posts – 1 through 8 (of 8 total)
Search & Filter Support
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.

We also use cookies to store items in your cart as well as allowing your to login on the site.

You can adjust all of your cookie settings by navigating the tabs on the left hand side.

By continuing to use this site, you also agree to our Privacy Policy.