Editing the Search Facility
Permalink
Hi guys,
Does anyone know how to edit the search block in C5 so that the word 'search' sits next to the input field instead of on top?
I am trying to integrate the search facility to sit next to my navigation and I would like it to all be inline.
Thanks
Tim
Does anyone know how to edit the search block in C5 so that the word 'search' sits next to the input field instead of on top?
I am trying to integrate the search facility to sit next to my navigation and I would like it to all be inline.
Thanks
Tim
Thanks Remo – I just can't seem to get rid of the break between the Search title and the field where you enter your search terms... Just need it on one line instead of 2.
There doesn't seem to be any obvious code that dictates the break – saying that I am not that knowledgeable in PHP so may be missing something obvious!
Thanks
Tim
There doesn't seem to be any obvious code that dictates the break – saying that I am not that knowledgeable in PHP so may be missing something obvious!
Thanks
Tim
A heading such as <h3> will always add a break as well. Remove these tags and simply put the title text (or delete it as I did) and the relevant <input> inside a <div> or similar tag.
concrete/blocks/search/view.php
to this location:
blocks/search/templates/myTemplate.php
(you have to create the folders)
and modify view.php the way you want. When you add a search block, you can click on it (after you've added it) and select a custom template to change the layout.