Page 1 of 2 12 LastLast
Results 1 to 10 of 18
  1. #1
    Join Date
    Dec 2007
    Posts
    35
    Plugin Contributions
    0

    Default Search box header height

    I have read all of the threads about the search box height but either there weren't any replies or the answers given didn't work for me. I know this is probably basic css, but I just can't figure out how to do this.

    I am using an image for the side boxes that is set in size. It doesn't look right if it repeats. The search box header is about 2-3 pixels bigger in height than all of the others. I need to either reduce this so that it matches the others (preferred) or make a larger image and have it show up just in the search box header.

    Can someone please help me with this? I've been trying to figure this out for two days now and it's driving me crazy!

    Thanks in advance!

  2. #2
    Join Date
    Oct 2006
    Posts
    5,477
    Plugin Contributions
    11

    Default Re: Search box header height

    For question regarding html code and such, please always provide a link to your site so we can check on it for you.
    I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

  3. #3
    Join Date
    Dec 2007
    Posts
    35
    Plugin Contributions
    0

    Default Re: Search box header height

    Sure, it's just a test site that I'm using to learn zencart.

    http://www.artofstitching.com/shopping/

    If you notice, the search box header image starts to tile and doesn't look right.

  4. #4
    Join Date
    Oct 2005
    Posts
    8
    Plugin Contributions
    0

    Default Re: Search box header height

    Hi!
    I am actually struggling with the same problem. And it is not only the search heading box, but also the manufacturers heading box. Maybe someone can help us?

  5. #5
    Join Date
    Oct 2005
    Posts
    8
    Plugin Contributions
    0

    Default Re: Search box header height

    Have you tried :

    background-repeat: no-repeat;
    in the style sheet,
    inside the code where you put the link to your background image?

  6. #6
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Search box header height

    Try

    #searchHeading label {line-height: 1.1em;}

    Make a similar declaration for any other box headers that need reducing.

  7. #7
    Join Date
    Dec 2007
    Posts
    35
    Plugin Contributions
    0

    Default Re: Search box header height

    missuseless, I didn't get a chance to try what you suggested but thank you for trying to help!

    Glenn, thank you very much! That worked perfectly. I was close, but didn't quite get it right. If you were in the room I'd give you a big old sloppiy kiss right on the forehead.

    I'm just so excited to finally get it fixed, can you tell? Perhaps I need to get a life...

    missuseless, I hope this works for you as well!

    Thank you again, both of you!

  8. #8
    Join Date
    Oct 2005
    Posts
    8
    Plugin Contributions
    0

    Default Re: Search box header height

    Hi Glenn,
    thank you very much. You solved my problem.

    This is for Karen:
    If you decide to have font instead of a picture in your heading, you got to change your code to:
    h3.leftBoxHeading, h3.leftBoxHeading a, h3.leftBoxHeading label,

    h3.rightBoxHeading, h3.rightBoxHeading a, h3.rightBoxHeading label {

    font-size: 1em;

    color: #your color;

    }
    that solves the problem with the different font sizes of the headers.
    I hope you can carry on with your work.
    bye

  9. #9
    Join Date
    Dec 2007
    Posts
    35
    Plugin Contributions
    0

    Default Re: Search box header height

    Actually, the image I used was for the background and so the font size did need to be adjusted. I was concentrating so much on the height of the search that I didn't notice the slight difference in the font sizes.

    Thanks for bringing it to my attention. I've adjusted the code so now it's all the same.

    Thanks again!

  10. #10
    Join Date
    Sep 2004
    Posts
    29
    Plugin Contributions
    0

    Default Re: Search box header height

    Quote Originally Posted by missuseless View Post
    Hi Glenn,
    thank you very much. You solved my problem.

    This is for Karen:
    If you decide to have font instead of a picture in your heading, you got to change your code to:
    h3.leftBoxHeading, h3.leftBoxHeading a, h3.leftBoxHeading label,

    h3.rightBoxHeading, h3.rightBoxHeading a, h3.rightBoxHeading label {

    font-size: 1em;

    color: #your color;

    }
    that solves the problem with the different font sizes of the headers.
    I hope you can carry on with your work.
    bye

    Hello,

    I am having the same problem with the search box height..
    I tried the proposed approach, but does not work on the site..

    can somebody please take a look at the site and advise how I should go about fixing the height on the search?

    the site address;

    http://www.superhairfactory.com/shop/

    I am using v1.3.9h

    thank you very much

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v150 Search Bar Header HEIGHT size
    By locbones in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 25 Aug 2012, 02:10 AM
  2. Search Box in H3 Left Box Header
    By flintcog in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 1 Jun 2007, 09:28 PM
  3. Search box in header : Q
    By BabaGee in forum General Questions
    Replies: 1
    Last Post: 17 Aug 2006, 12:58 AM

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