Forums › Forums › Search & Filter Pro › adapt the style of the form
- This topic has 13 replies, 2 voices, and was last updated 9 years, 5 months ago by
Ross.
-
Ross Moderator(Private) December 6, 2015 at 10:36 pm #31559
Hey there
Sorry for the delay. Currently you cannot add classes to the various html elements.
What html structure would you need for bootstrap, and what classes?
I may add this as an option.
Thanks
Anonymous(Private) February 17, 2016 at 12:06 pm #37195Hello,
I try to work with the theme bootstrap
but I can not I have any technical error that I can not fix.I try to do directly through the css just got some problems with the responsive side
and try to adapt the bootstrap “class-search-filter-display-shortcode.php”
but I have also some mistake.
can you help me?
it is possible to give me an idea to better optimize it?
thank youRoss Moderator(Private) February 18, 2016 at 10:31 pm #37371Hey there
I’m not sure what you’re trying to achieve – but applying CSS to the search form is generally a customisation with your theme.
If you want to add classes to fields themselves you can do this using a filter:
Check the github link for usage and how to add classes – but this may still not be exactly what you need.
Thanks
Anonymous(Private) February 18, 2016 at 11:23 pm #37388Hello,
thank you for your reply,
I begin to manage better with the basic css,
it’s almost ok.However, I have concerns in responsive mode
my input or select fields, do not take 100% widthI have to play by pixel, but it’s not easy, because the way it is responsive to several different sizes, and I would take it directly with a 100% right and left margin of 10px for example
Here is what happens in a mobile with a width of 100%
I know my question is a css issue
but if you have an idea I’d be happy
Thanks you
Ross Moderator(Private) February 18, 2016 at 11:41 pm #37389Try to set
!important
on your rules or use firebug to find out what rule is actually being applied at this stage.A last suggestion would be to check box-sizing:
http://www.w3schools.com/cssref/css3_pr_box-sizing.asp
Thanks
-
AuthorPosts