Is it possible to create a tpl file for each custom block to change the layout.

i.e. I want to put the button next to the box.

Comments

jdanthinne’s picture

Each custom block has its own ordering settings, so you shouldn't need to create .tpl files to have the button just after the search box.

tchurch’s picture

That's only the ordering settings, not the layout.
Putting the button after the search box doesn't change it's position. It's still underneath.

jdanthinne’s picture

I'm afraid a new .tpl file won't help you.
Aligning both elements is just a matter of CSS. You should "float:left" the search box and the submit button and they'll align.
If you have a test url, I can have a look for the correct CSS selectors.

chwang’s picture

my site: http://203.125.24.137/rtr/
Thank you for your great plugin for custom search, I am trying to put Search box and Go button in line 1, and Any, Group, Video, and Users in line 2, how can I achieve it?

LTech’s picture

Hi thanks for the search box, it is just what I am looking for.
Can you please take a look at my site www.shulopedia.com .
I would like the text box to be on the right side (which I have managed to do) and the search box next to it. Then the popup drop down options.. any, shul, rabbi and community leader to also come up alongside or directly under on one line.
Thanks so much

heddn’s picture

Status: Active » Fixed

I'm taking some liberty but a support request from over a year ago is probably
fixed or irrelevant. If you disagree, please reopen and provide more
details.

tchurch’s picture

To be honest, it's been so long since I raised the request and I think the project it was relating to has finished.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.