https://antibiotiqueaugmentin.com/surdosage-augmentin-bebe/

Search fields to display horizontally

  • oharris
  • oharris's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
10 years 1 month ago #3027

I would like the search fields to display horizontally (eg. dropdown beside search field, then search button beside search field). See attached image as example.

Attachment not found




Demo site address is dev2.janadians.com/index.php/resources/m...hartered-accountants

Thanks for your help.

Please Log in or Create an account to join the conversation.

More
10 years 1 month ago #3036

Hi,

add the following two lines to your template's css file:

div#data_listings1_rq_0 input{float:left; margin: 0 3px;}
div#data_listings1_rq_0 select{float:left}

Please Log in or Create an account to join the conversation.

  • oharris
  • oharris's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
10 years 1 month ago #3037

It worked on one template and not another. So on this other demo site - intra.janadians.com/e-directory.html I placed the said code, but it did not work. I placed it within the custom.css of the template and tried it in the grid.css of the component. But to noa avial. Where else do you think I could place the code to have the same result?

Please Log in or Create an account to join the conversation.

More
10 years 1 month ago #3040

Hi, every grid gets its own id in html. If it is displayed in the article the id gets a little more complicated.

On this page the id is just "1" and on the previous it is "1_rq_0". You can find out this by inspecting the DOM tree of the displayed component.

div#data_listings1 input{float:left; margin: 0 3px;}
div#data_listings1 select{float:left}

Please Log in or Create an account to join the conversation.

Moderators: tomaz
Time to create page: 0.151 seconds

Contact Us

Contact us on Discord

Contact us on Facebook