How to display Go button at same line with Search field in the search page

6 years 4 months ago #1 by biaozhang
How to display Go button at same line with Search field in the search page?
I changed the length of search field to a very small value, the Go button always in the second line.

Any idea how to make them align on same line?

Please see the attachment.

Attachment joomla_searchGo.png not found

Attachments:
6 years 4 months ago #2 by Function90
Hi

Length attribute does not controls the size of the input-box.
For changing input-box size, you need to override the search template for text field.

Copy the file
Root => components => com_joomprofile => libraries => fields => text => templates => field.text.search.php
to
Root => templates => YourTemplate => html => com_joomprofile => field.text.search.php
and make the changes in this file.

You can put style="display:inline;" to place element in same line.
Apart from that you can adjust size of the input-box by applying appropriate width like style="width:100px;"

Thank You

Thank you
Team Function90
You can share your views regarding our extension at JED ( extensions.joomla.org/profile/profile/details/225115#extensions )

Hire Professional Joomla Developers. ( www.function90.com/contact-us.html )
Powered by Kunena Forum
Cron Job Starts