PDA

View Full Version : Now here's a curly one. . .


zontech
10-18-2009, 02:07 AM
:confused:

Anyone got a slick bit of code to locate the search bar on the top right hand corner of the banner like this

http://www.clicks.ws/

or even just sitting in the banner space at top right?
Or combining the ticker and the search bar to save space?

Have trawled around with Firebug and applied some possibilities - but no joy so far.

Thanks

HCME
10-18-2009, 07:11 AM
To acheive that you must use "absolute" positioning for the search box.

For example:

<div style="position: absolute; top: 5px; right: 10px; text-align: right;"><vte:include file="{VIVVO_TEMPLATE_DIR}box/search.tpl" /></div>

Make it part of the "header" ID in your template. It would be better to create a new entry for the search box's style in your (style.css) and you may want to add more style options like font settings; color; line-height, etc :D

zontech
10-18-2009, 10:56 AM
Very generous thanks - the CSS bit is where we have toppled over, by the look of it. Will double check the change log. Cheers

teddybear2
11-28-2010, 07:24 PM
thank you for the tip!:) (http://johnbzu5ke.weebly.com) very much appreciated