The submit button wrapper of exposed filters does not have a css id but all other widgets have it. This issue does not allow the css float property override when theming the form.

Comments

dawehner’s picture

I'm seeing a lot of css IDs and classes, so there shouldn't be problems.

<form action="/d7/admin/structure/views/nojs/preview/exposed/default" method="get" id="views-exposed-form-exposed-default" accept-charset="UTF-8"><div><div class="views-exposed-form">
  <div class="views-exposed-widgets clearfix">
          <div id="edit-status-wrapper" class="views-exposed-widget views-widget-filter-status">
                  <label for="edit-status">
            Published          </label>
                        <div class="views-widget">
          <div class="form-item form-type-select form-item-status">
 <select id="edit-status" name="status" class="form-select required"><option value="1" selected="selected">Yes</option><option value="0">No</option></select>
</div>
        </div>
              </div>
                    <div class="views-exposed-widget views-submit-button">
      <input type="submit" id="edit-submit-exposed" name="" value="Apply" class="form-submit views-ajax-processed-processed">    </div>
      </div>
</div>
</div></form>
LiloLilo’s picture

You're right, after some rework on css I was able to override the float: left; definite into .views-exposed-form .views-exposed-widget in views.css. Anyhow I think that the css ID at div level should be there for the submit button too for uniformity with other widgets.

Thank you for your answers.

dawehner’s picture

Well ... the d7 exposed form templates have this structure and i fear fixing that would cause many many issues with existing styling, so it feels like a won't fix, sorry.