Progress report:
Copied files as described.
Result:
Search text box reduced to half length
Search button disappears and is replaced with word 'search' or Romanian alternative.
:no:
Compared old and new files and saw that old had
Code:
style="width: 100px"
Added this piece of code and search text box regained it's size.
Looking at code, saw
Code:
(BUTTON_IMAGE_SEARCH_HEADER,HEADER_SEARCH_BUTTON)
Did a text search in the Aberdeen zip and the Sheffield zips for
BUTTON_IMAGE_SEARCH_HEADER
and
HEADER_SEARCH_BUTTON
After some head scratching, realised that I needed to define HEADER_SEARCH_BUTTON in /includes/languages/romanian/button_names.php
and /includes/languages/english/button_names.php
Added:
define('BUTTON_IMAGE_SEARCH_HEADER', 'button_search_header.gif');
Added new button 'button_search_header.gif'
Still no image for button. :frusty:
Had a brainwave, (previously adding second and third images for products helped) renamed 'button_search_header.gif' to 'button_searchheader.gif' and changed the ref in button_names.php
Hallelujah!! I have a button, but wait it is not sitting in line with search box. (pass the hemlock please)
Ok, started again so that the refs all call
BUTTON_IMAGE_SEARCH
SEARCH_BUTTON
And button_search.gif
(trying to remember the exact changes, but it was 3am)
Button and search box appear but positioning is off.
I am a little stumped now.
I did notice that there was another difference in the class names
A.N. = class="header-search-box"
S.B. = class="search-header-box"
Is this important?
A reminder if you need to look, site is
http://www.micaanglie.ro
I am really enjoying my first foray into PHP and CSS, I only knew some HTML until I started with your template.
One more thing. Thank God I Made BACKUPS :smile:
Shaun the zenfully challenged.