Results 1 to 4 of 4

Hybrid View

  1. #1
    Join Date
    May 2011
    Location
    Sunny Rossendale (not)
    Posts
    556
    Plugin Contributions
    2

    Default Change search button from css to gif image

    I'm helping a friend with a website and I can't for the life of me get the search button in the search side box to display as an image rather than css. the button name matches the name in the button names file I've put a copy in a test folder on my domain so someone here can take a look www.rvsolarsystems dotco dot uk/test/
    Cheers
    What ever your doing remember to KISS ( Keep It Simple Stupid )

  2. #2
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,879
    Plugin Contributions
    96

    Default Re: Change search button from css to gif image

    Edit the file /includes/languages/english/comstock/button_names.php (if the file doesn't exist, copy the one that's in /includes/languages/english first). Find the line that reads:
    Code:
    define('BUTTON_SEARCH_ALT', 'Search');
    and change the word Search to be a meaningful collection of words that comprise more than 30 characters total:
    Code:
    define('BUTTON_SEARCH_ALT', 'Click here to start your search ...');

  3. #3
    Join Date
    May 2011
    Location
    Sunny Rossendale (not)
    Posts
    556
    Plugin Contributions
    2

    Default Re: Change search button from css to gif image

    Quote Originally Posted by lat9 View Post
    Edit the file /includes/languages/english/comstock/button_names.php (if the file doesn't exist, copy the one that's in /includes/languages/english first). Find the line that reads:
    Code:
    define('BUTTON_SEARCH_ALT', 'Search');
    and change the word Search to be a meaningful collection of words that comprise more than 30 characters total:
    Code:
    define('BUTTON_SEARCH_ALT', 'Click here to start your search ...');
    I already tried that from another post no joy
    What ever your doing remember to KISS ( Keep It Simple Stupid )

  4. #4
    Join Date
    May 2011
    Location
    Sunny Rossendale (not)
    Posts
    556
    Plugin Contributions
    2

    Default Re: Change search button from css to gif image

    found it the tpl_search.php had been edited and the button link removed, your suggestion got my brain working properly
    What ever your doing remember to KISS ( Keep It Simple Stupid )

 

 

Similar Threads

  1. v138a How do I put back my search button image after turning on CSS buttons?
    By Deno in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 1 Jun 2013, 05:32 PM
  2. v151 how 2 replace UPDATE gif in tpl_shopping_cart_default with CSS button??
    By tlyczko in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 28 Nov 2012, 08:20 PM
  3. CSS Buttons - Change only the add to cart button to an image
    By ksookma in forum General Questions
    Replies: 1
    Last Post: 11 Oct 2011, 04:23 AM
  4. Button Update Cart.gif & Small Delete.gif button
    By miles in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 29 Oct 2006, 09:58 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg