Forums Forums Search & Filter Pro Target ID number with CSS

Viewing 2 posts - 1 through 2 (of 2 total)
  • Anonymous
    #161503

    Hi there, can you tell me how to target a form with ID number for CSS? For example, I want only one form to have this styling.

    Regards
    Paul

    Trevor
    #161518

    Every form (the data entry part), will be a HTML form element, with an ID like:

    search-filter-form-2726

    Where the number at the end is the ID number of the form and shortcode.

    so, you MIGHT do CSS like this:

    #search-filter-form-2726 select {
      min-width: 300px;
    }

    to set all the HTML select elements to at least 300px wide.

Viewing 2 posts - 1 through 2 (of 2 total)