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

How to move line bar

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 11-17-2009, 05:33 AM
 
Duramax 6.6L Duramax 6.6L is offline
 

X-Adept
  
Join Date: Dec 2006
Posts: 865
 

Default How to move line bar

I have been playing with 4.3 and can not fiqure out how to move the orange bar down to show my complete logo image. I have edited the skin1/main.css but can not find the exact setting.
Attached Thumbnails
Click image for larger version

Name:	site title.jpg
Views:	132
Size:	28.7 KB
ID:	1720  
__________________
Xcart 5.1.6 Building New Store
Xcart4.6.4 Gold Plus
Xcart 4.6.4 Platinum
Smart Template,
Mail Chimp Upgrade
Checkout One (One Page Checkout)
Checkout One X-Payments Connector
Checkout One Deluxe Tools
Call For Price
On Sale Module
Buy Together Module
MAP Price MOD
Reply With Quote
  #2  
Old 11-17-2009, 06:32 AM
  Zaja's Avatar 
Zaja Zaja is offline
 

X-Adept
  
Join Date: Mar 2004
Location: The Universe is my home
Posts: 420
 

Default Re: How to move line bar

Find this code in main.css and edit height values:
Code:
#header .line1 { position: relative; height: 67px;/* top row */ direction: ltr; } #header .line1 .logo { padding-top: 9px; margin-left: 27px; width: 203px; /* logo container div */ } #header .line1 .logo a img { width: 203px; /* logo width */ height: 48px; /* logo height */ }
__________________
_/ _/ _/ _/ _/ _/ _/ _/ _/

7dana.com
Reply With Quote
  #3  
Old 11-17-2009, 11:48 AM
 
Duramax 6.6L Duramax 6.6L is offline
 

X-Adept
  
Join Date: Dec 2006
Posts: 865
 

Default Re: How to move line bar

Thank you, I had changed those setting, but not enough. Works great now.
__________________
Xcart 5.1.6 Building New Store
Xcart4.6.4 Gold Plus
Xcart 4.6.4 Platinum
Smart Template,
Mail Chimp Upgrade
Checkout One (One Page Checkout)
Checkout One X-Payments Connector
Checkout One Deluxe Tools
Call For Price
On Sale Module
Buy Together Module
MAP Price MOD
Reply With Quote
  #4  
Old 11-25-2009, 04:16 PM
 
Pyro Pyro is offline
 

X-Adept
  
Join Date: Nov 2009
Posts: 506
 

Default Re: How to move line bar

Hi,

I am having a similar issue as ZAJA was. My logo is 340x100. I was able to move the orange line down; however, the information below it does not move. How would I make everything else move down as well?

I do not wish to have the orange bar as low as I have it in my screenshot, I am simply illustrating my point that the information below it does not move along with the bar.


Thanks in advance.
Attached Thumbnails
Click image for larger version

Name:	barprob.JPG
Views:	106
Size:	15.5 KB
ID:	1736  
__________________
Best Wishes,
James

4.5.2 Gold (work in progress)
Reply With Quote
  #5  
Old 11-25-2009, 06:34 PM
 
Duramax 6.6L Duramax 6.6L is offline
 

X-Adept
  
Join Date: Dec 2006
Posts: 865
 

Default Re: How to move line bar

Quote:
Originally Posted by Pyro
Hi,

I am having a similar issue as ZAJA was. My logo is 340x100. I was able to move the orange line down; however, the information below it does not move. How would I make everything else move down as well?

I do not wish to have the orange bar as low as I have it in my screenshot, I am simply illustrating my point that the information below it does not move along with the bar.


Thanks in advance.


Change to this

#header .line1 {
position: relative;
height: 125px;/* top row */
direction: ltr;
}

#header .line1 .logo a img [
width 340px;
height: 100px;

}

these are the only setting I made. just replace the code in the main.css with the code above
__________________
Xcart 5.1.6 Building New Store
Xcart4.6.4 Gold Plus
Xcart 4.6.4 Platinum
Smart Template,
Mail Chimp Upgrade
Checkout One (One Page Checkout)
Checkout One X-Payments Connector
Checkout One Deluxe Tools
Call For Price
On Sale Module
Buy Together Module
MAP Price MOD
Reply With Quote
  #6  
Old 11-25-2009, 06:42 PM
 
Pyro Pyro is offline
 

X-Adept
  
Join Date: Nov 2009
Posts: 506
 

Default Re: How to move line bar

Duramax,

Thank you for your reply. I have done as you instructed, but with no success.

My code now looks like this:

#header .line1 {
position: relative; height: 125px; direction: ltr;
}
#header .line1 .logo {
padding-top: 0px; margin-left: 27px; width: 340px;
}
#header .line1 .logo a img {
width: 340px; height: 100px;
}



While this makes my image fit perfectly, the orange bar is covering up the info below it now. I have attached a screenshot.


Thanks in advance
Attached Thumbnails
Click image for larger version

Name:	bar125.JPG
Views:	105
Size:	16.8 KB
ID:	1737  
__________________
Best Wishes,
James

4.5.2 Gold (work in progress)
Reply With Quote
  #7  
Old 11-25-2009, 06:59 PM
 
Duramax 6.6L Duramax 6.6L is offline
 

X-Adept
  
Join Date: Dec 2006
Posts: 865
 

Default Re: How to move line bar

revert the template to unmodified and try the settings, I will be online for a while
__________________
Xcart 5.1.6 Building New Store
Xcart4.6.4 Gold Plus
Xcart 4.6.4 Platinum
Smart Template,
Mail Chimp Upgrade
Checkout One (One Page Checkout)
Checkout One X-Payments Connector
Checkout One Deluxe Tools
Call For Price
On Sale Module
Buy Together Module
MAP Price MOD
Reply With Quote
  #8  
Old 11-25-2009, 07:08 PM
 
Pyro Pyro is offline
 

X-Adept
  
Join Date: Nov 2009
Posts: 506
 

Default Re: How to move line bar

Duramax,


Thanks again for your help.

I have reverted the template back to the original as you suggested and then re-applied the settings, but that did not fix the issue.


I do not think it is any other conflicting template issue as this is a brand new install with 0 template edits except for the main.css and even the main.css only has the edits that you specified.


Do you happen to have any more ideas?

Thanks in advance
__________________
Best Wishes,
James

4.5.2 Gold (work in progress)
Reply With Quote
  #9  
Old 11-25-2009, 07:15 PM
 
Duramax 6.6L Duramax 6.6L is offline
 

X-Adept
  
Join Date: Dec 2006
Posts: 865
 

Default Re: How to move line bar

Have you altered any other templates at all?
__________________
Xcart 5.1.6 Building New Store
Xcart4.6.4 Gold Plus
Xcart 4.6.4 Platinum
Smart Template,
Mail Chimp Upgrade
Checkout One (One Page Checkout)
Checkout One X-Payments Connector
Checkout One Deluxe Tools
Call For Price
On Sale Module
Buy Together Module
MAP Price MOD
Reply With Quote
  #10  
Old 11-25-2009, 07:20 PM
 
Pyro Pyro is offline
 

X-Adept
  
Join Date: Nov 2009
Posts: 506
 

Default Re: How to move line bar

Duramax,

I have not changed any other templates. The only template changes that I have made are the ones that you have suggested.
__________________
Best Wishes,
James

4.5.2 Gold (work in progress)
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 02:11 PM.

   

 
X-Cart forums © 2001-2020