Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Moving Orange Search Bar

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 03-18-2009, 08:08 PM
 
Bobby P. Bobby P. is offline
 

Member
  
Join Date: Mar 2009
Posts: 18
 

Question Moving Orange Search Bar

Im running 4.2.0

I am a newbie: I want to move the orange bar at top of screen. Ive been into the Main CSS file using firebug Ive Identified it as Div class = "line2" I know the name of the Image file i just cant find anything that would let me move the bar Ive adjusted the borders of the bar but not the Bar itself can someone point me in the right direction. This is what ive been messing around with so far:

#header .line2 {main.css (line 430)
background:transparent url(images/head_linebg.gif) repeat-x scroll center top;
border-color:#CB480C -moz-use-text-color;
border-style:solid none;
border-width:1px medium;
color:#451300;
height:39px;
position:relative;
width:100%;

I just want to move it down a 1/4 inch. Frustrated
__________________
4.2.3 Gold
------------------
http://4allherbal.com
Herbalife Independent Distributor
Reply With Quote
  #2  
Old 03-19-2009, 01:09 AM
  Victor D's Avatar 
Victor D Victor D is offline
 

X-Adept
  
Join Date: Aug 2008
Posts: 643
 

Default Re: Moving Orange Search Bar

if you want to move this bar with it's content just swap
Code:
<div class="line1"> ... </div>
with
Code:
<div class="line2"> ... </div>
in your skin1/customer/head.tpl
It is the easier way.

Another solution is to add into your main.css following rules:
Code:
#header .line2 {top:-69px} #header .line1{top:39px}
I've checked it in Firefox, if you'll go this way you should test in every browser.

More complex is not to swap whole divs but it's content only and then swap in every .css file .line1 with .line2 and vice versa
__________________
Regards,
Victor Dubiniuk

X-Cart Skins Store
- twenty two different skins for 4.1.x and 4.2.x;
- 4.3.x compatible versions are available;
- refresh you store now!

Smart menu X-Cart add-on for 4.1.8 - 4.3.x
Featured Products Slide Show X-Cart add-on for 4.1.8 - 4.3.x
Reply With Quote
  #3  
Old 03-19-2009, 07:38 PM
 
Bobby P. Bobby P. is offline
 

Member
  
Join Date: Mar 2009
Posts: 18
 

Smile Re: Moving Orange Search Bar

Thank you for your help it was exactly what i needed to know
__________________
4.2.3 Gold
------------------
http://4allherbal.com
Herbalife Independent Distributor
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 05:07 AM.

   

 
X-Cart forums © 2001-2020