Hi, I have a side floating Filter system with your plugin, but it is showing two "Clear all Filters" buttons, one on top and one at the bottom. I would like to remove the top one and style the bottom one (I managed some styling on the top one). But I can't seem to remove just one button with CSS without removing the other, hoping you can help?
I also wanted to style it more, so similar to the top one with spacing but also remove the icon, hoping you can help me figure these out!
I presume you know how to implement this CSS to the Page, but just in case if you require any assistance how to do that, here are some useful details :
Custom code needs to be applied to the page where the booking form is. Depending on what you're using (Gutenberg blocks, or some page builder), adding the CSS or JS can be done in a few different ways.
If you need help with adding custom CSS to the page, please take a look at this article.
2. In regards to styling the bottom one "clear filters", you can use these selectors.
If you wish to style the DIV container which holds the button, use :
#wdt-clear-filters-button-block { background : red !important; }
if you want to 'target' just the button itself, use :
#wdt-clear-filters-button-block > button { background-color: blue; color: white !important; }
In order to remove the icon inside that button :
button.wdt-clear-filters-button:before {
display : none !important; }
When it comes to spacing, I am not sure what you mean by that exactly;
but you can use both these selectors, one for the HTML DIV which is the container holding the button;
and/or the button selector itself, so you can add any styles to them as you wish.
Our Support does not cover customizations/custom work, but we can advise for basic modifications like that to get you started.
Hi, I have a side floating Filter system with your plugin, but it is showing two "Clear all Filters" buttons, one on top and one at the bottom. I would like to remove the top one and style the bottom one (I managed some styling on the top one). But I can't seem to remove just one button with CSS without removing the other, hoping you can help?
I also wanted to style it more, so similar to the top one with spacing but also remove the icon, hoping you can help me figure these out!
Thanks
Tyrhone
Hi Tyrhone,
Here is the CSS you can use in order to remove just that one from the top :
I presume you know how to implement this CSS to the Page, but just in case if you require any assistance how to do that, here are some useful details :
Custom code needs to be applied to the page where the booking form is. Depending on what you're using (Gutenberg blocks, or some page builder), adding the CSS or JS can be done in a few different ways.
If you need help with adding custom CSS to the page, please take a look at this article.
2. In regards to styling the bottom one "clear filters", you can use these selectors.
If you wish to style the DIV container which holds the button, use :
#wdt-clear-filters-button-block {
background : red !important;
}
if you want to 'target' just the button itself, use :
#wdt-clear-filters-button-block > button {
background-color: blue;
color: white !important;
}
In order to remove the icon inside that button :
button.wdt-clear-filters-button:before {
display : none !important;
}
When it comes to spacing, I am not sure what you mean by that exactly;
but you can use both these selectors, one for the HTML DIV which is the container holding the button;
and/or the button selector itself, so you can add any styles to them as you wish.
Our Support does not cover customizations/custom work, but we can advise for basic modifications like that to get you started.
I hope that helps.
Kind Regards,
Miloš Jovanović
[email protected]
Rate my support
Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
Awesome Milos thank you, that gave me exactly what I needed!
Thanks.
Hi Tyrhone,
You're welcome, I am happy this helped.
If anything new comes up that we can help with, please don't hesitate to open new tickets.
Thanks.
Kind Regards,
Miloš Jovanović
[email protected]
Rate my support
Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables