Forums / Templates, Stylesheets, Page Layout / Trying to change the position of search box

Trying to change the position of search box

Locked

Started by sobeman on 12 Feb 2010, 3:59 PM · Views: 1,934

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
12 Feb 2010, 3:59 PM
#1
sobeman avatar

sobeman

New Zenner

Join Date:
Feb 2010
Posts:
12
Plugin Contributions:
0

Trying to change the position of search box

Hi, I'm currently modifying a custom layout that my employer had purchased for her website and I seem to be having trouble finding how to move the search box to where I want it. Currently it's kind of in the middle of the page as there was a drop down box that I removed that was originally to the right of it. I would like to move it under the Home | Login links. I am an average CSS/PHP/HTML user, but this one has me stumped. As far as I can tell the search box is not one of the default zencart div classes like NavMainSearch as modifying that doesn't seem to do anything. If anyone could assist me in this problem I would greatly appreciate it.

I'm using the latest version of Zencart.

12 Feb 2010, 4:13 PM
#2
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Trying to change the position of search box

We'll need a link to the site. I assume we're dealing with a Template Monster template, so we'll need to see it.

12 Feb 2010, 4:17 PM
#3
sobeman avatar

sobeman

New Zenner

Join Date:
Feb 2010
Posts:
12
Plugin Contributions:
0

Re: Trying to change the position of search box

Wow can't believe I forgot the link. https://www.ashleygalleryinc.com , it's one of those days.

And yea it is a templatemonster template

12 Feb 2010, 4:33 PM
#4
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Trying to change the position of search box

Remove the width parts in these statements in stylesheet_tm.css

**.header_t .row1 .col2 .r2 .col1{width:148px; float:right;}

.header_t .row1 .col2 .r2 .col1 select{width:139px; height:17px; border:none; font-family:Arial, Helvetica, sans-serif; font-size:11px; color:#464646; text-transform:lowercase}

.header_t .row1 .col2 .r2 .col2{width:134px; float:right; background:url(../images/header_bg1.gif) no-repeat 20px 0;}**

but don't ask me why that works.

12 Feb 2010, 5:40 PM
#5
sobeman avatar

sobeman

New Zenner

Join Date:
Feb 2010
Posts:
12
Plugin Contributions:
0

Re: Trying to change the position of search box

wow that worked...I would of NEVER of figured that out, thanks a lot man!