Forums › Forums › Search & Filter Pro › Customization with Divi
- This topic has 9 replies, 2 voices, and was last updated 4 years, 7 months ago by Trevor.
-
Anonymous(Private) April 15, 2020 at 11:15 am #240096
Hello,
I have bought the search and filter pro plugin and I am currently using Divi to build the website
I was able to create my filtering options but there is a default customization and I would like to apply some CSS to it
Do you know how I can customize the filters? I would like them to be horizontal and consistent with the rest of the website
The page is not finished yet but you can find the link here if needed: https://stryber.com/blog-test1337Thank you very much and have a nice day
Anonymous(Private) April 15, 2020 at 12:23 pm #240106Hello Trevor,
Thank you very much for your reply
I am OK with doing the CSS but I just don’t find where to do it. Should I do it in the theme customizer of Divi, at the plugin level, or in the Divi module in which I put the code?
Ideally, the filters should have the font type and font size of the website, the categories should be displayed horizontally too, and I would display the “Reset” button in the same way as a category so I could tweak it to show. “All” categories
Thank you !
Trevor(Private) April 15, 2020 at 2:36 pm #240133If you make this search on our forum you will see some snippets:
https://support.searchandfilter.com/forums/search/data-sf-form-id/
Also, you can use your browser’s web developer tools inspector to look at you form. In Chrome press F12 to open the tools (or Ctrl + Shift + i), see here for an example:
Anonymous(Private) April 16, 2020 at 8:06 pm #240351Hello Trevor, thank you very much for your help
I managed to customize it a bit but what I would like is to have the filters aligned to the left of the page as well as a border around the two classes, a bit like the blue one but that fits to the actual size of the components.
Do you know which class I should work on? Or if I forgot to spot some?Thank you !
The link to the page is: https://stryber.com/elementor-4536/
The CSS that I put in the Divi is
.searchandfilter > ul > li {
display: inline-block;
vertical-align: top;
padding: 0px;
}.searchandfilter{
margin-top:0px;
padding-left: 0px;
border: 1px solid blue;}
.sf-field-search{
height:30px;
width:230px;
margin-left: 0px;
}.sf-input-text{
font-size:16px;
font-family:’Open sans’;
color:#2a3749;
}.sf-field-category{
height:30px;
width:230px;
margin:auto;}
.sf-input-select{
font-size:16px;
font-family:’Open sans’;
color:#2a3749;
} -
AuthorPosts