Quantcast
Channel: How do I remove a DIV from the rendered result of a BEF exposed form? - Drupal Answers
Viewing all articles
Browse latest Browse all 2

Answer by tenken for How do I remove a DIV from the rendered result of a BEF exposed form?

$
0
0

why not just write CSS that targets this item and removes any css applied by the default bootstrap .form-group ?

For example the rule could look like:

div.from-type-bef-checkbox.form-group {  /* then "undo" whatever .form-group is doing -- you can see whatever it's     doing by using Firebug or Google Chrome and inspecting the Element     on the page.     for example:  */  margin: 0 0 0 0;}

By fixing just the CSS and not removing the css class or the div entirely you dont break or worry about upgrading these modules (of course you'll still have to check this CSS fix works in newer versions of the theme).

You can do this in your theme by adding or using a default custom stylesheet provided by your theme.


Viewing all articles
Browse latest Browse all 2

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>