move location search input or another input

move location search input or another input

tbsofttbsoft Posts: 1Questions: 1Answers: 0

Hello

I would like to create the image below, can you help search input

Answers

  • rf1234rf1234 Posts: 2,808Questions: 85Answers: 406

    You can use CSS like in here. The classes I use may not work work for you because they partly depend on the framework you are using (I use Bootstrap 3). You will need to use your browser's inspector I guess. I didn't increase the font size of the word "Search" ... but you'll figure that out.

    table
      .on ('init', function () {
          $('*[type="search"][class="form-control input-sm"]')
                  .addClass('input-lg')
                  .css({ 'width': '400px', 'display': 'inline-block' });
          $('div.dataTables_filter').css({ 'margin-top': '1em' });
        })
    

This discussion has been closed.