Page 2 of 2 FirstFirst 12
Results 11 to 13 of 13
  1. #11
    Join Date
    Apr 2009
    Posts
    2,134
    Plugin Contributions
    3

    Default Re: How can I change the default rectangular advanced search form? Examples provided

    Oh and you are probably going to want to add some padding to keep the text away from the edges of the image.

    Code:
    #newsearch{
    width:80px !important;
    height:20px;
    border:none;
    background-color:yellow;
    padding:20px;}

  2. #12
    Join Date
    Jul 2009
    Posts
    8
    Plugin Contributions
    0

    Default Re: How can I change the default rectangular advanced search form? Examples provided

    Nik! Thank you so very much!!! I don't know if I was a slow learner but that was like a revelation... Suddenly it made sense to me how things should've worked. Left in such a rush back home from work to test it - and it clicked right away... Man, you're a true help!!! I think the search bar is ok now, and you can check the paddings I applied to line things up, but to me it is as good as perfect...

    http://www.kapachki.com/test7

    I copied the tpl_search.php from the default dir to my template sidboxes dir and edited as you suggested. Here's what I put in the css afterwards:

    #newsearch{
    width:110px !important;
    border:none;
    background: transparent url("../images/rounded-search-input.gif") top left no-repeat;
    margin:0
    }

    input#newsearch {
    border:0 none;
    font-size:11px;
    padding:5px 5px 10px 20px;
    }

    I guess changes in the top search bar would follow similar pattern... just edit the other tpl_search_header.php and then do the css?

    Thank you so much again, sir - much obliged! This indeed is the greatest forum, and I love the Zen Community!

    Ivo

  3. #13
    Join Date
    Apr 2009
    Posts
    2,134
    Plugin Contributions
    3

    Default Re: How can I change the default rectangular advanced search form? Examples provided

    Well done! Looks fine to me. Check it in as many browsers as you can. Also a handy tip is 'browsershots' which you can find with a quick search online.

    Yes, the other search box will probably need the same treatment. First add an ID to it. Then style that ID.

    It is a good technique for a lot of Zen Cart. Mostly Zen has the IDs and classes that you need to style everything (it is a good e-commerce solution) but occasionally you come across extra things that you would like. In that case just put them in yourself!

    Glad you had one of those happy moments that make up for all the frustration!

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. Replies: 3
    Last Post: 12 Dec 2010, 01:05 AM
  2. How to replace the head search form with Google Adsense search form?
    By lina0962 in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 14 Mar 2010, 11:33 PM
  3. Replies: 0
    Last Post: 27 May 2009, 06:59 PM
  4. Modifying the Advanced Search Form Fields?
    By uruharacosplay in forum General Questions
    Replies: 0
    Last Post: 4 Mar 2008, 06:43 PM
  5. How Can I Get Rid of The Unwanted Search form?
    By jaz1974 in forum Templates, Stylesheets, Page Layout
    Replies: 12
    Last Post: 21 Sep 2006, 06:18 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