CSS Styling

Forums › Forums › Search & Filter Pro › CSS Styling

Viewing 5 posts – 1 through 5 (of 5 total)
  • Anonymous
    #43110

    Hi

    For some reason I am finding it difficult to custom style the form including the width of the search form and the submit button.

    Could you confirm how this is done. I’ve tried all manner of ways to override these.

    Thanks

    <li class=”sf-field-search” data-sf-field-name=”search” data-sf-field-type=”search” data-sf-field-input-type=””> <label><input placeholder=”Leave blank to display all items in category…” name=”_sf_search[]” class=”sf-input-text” type=”text” value=”” title=””></label>

    <input type=”submit” name=”_sf_submit” value=”Submit”>

    Trevor
    #43120

    Hi

    It will have to be done using Custom CSS, and this would be easiest for me to advise if you show me a live page with the form on, and make an annotated screenshot of what needs changing?

    When you submit code here, can you put it inside the editor code tags (see the button bar over the editor) as the forum code does funky things to special characters.

    If you want to keep the details private, click Private Reply before you submit.

    Anonymous
    #43123
    This reply has been marked as private.
    Trevor
    #43175

    Hi

    It will require Custom CSS to be added to your WordPress installation. I will make it specific to this form ID.

    #search-filter-form-42605 .sf-field-category, #search-filter-form-42605 .sf-field-submit {
      display: inline-block;
    }
    #search-filter-form-42605 .sf-field-submit {
      padding: 0;
      margin-left: 20px;
    }
    #search-filter-form-42605 input[type="submit"] {
      margin: 0;
      border-width: 1px;
      border-style: solid;
      cursor: pointer;
      -moz-border-radius: 4px;
      -webkit-border-radius: 4px;
      border-radius: 4px;
      padding: 3px 11px;
      -moz-box-sizing: border-box;
      box-sizing: border-box;
      -ms-box-sizing: border-box;
      -moz-box-shadow: 0 1px 1px #eeeeee;
      -webkit-box-shadow: 0px 1px 1px #eeeeee;
    }

    Well, if that isn’t quite what you want, you can fiddle with it?

    Anonymous
    #43369

    Yes I managed to get that to work and the submit button displays correctly.

    Thanks

Viewing 5 posts – 1 through 5 (of 5 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.