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

4.2 column width

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 01-20-2009, 07:39 AM
 
GreatLakesVacuum GreatLakesVacuum is offline
 

eXpert
  
Join Date: Jan 2009
Posts: 286
 

Default 4.2 column width

How do I change the left column width and move some stuff from the right to the left column?

All the information on here I can find shows width values in home.tpl but there are none in my 4.2 install
__________________
X-Cart 4.5.4 Gold (Live Business Site)
X-Cart 5.1.9 Business (In Development Now)
Reply With Quote
  #2  
Old 01-20-2009, 09:11 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: 4.2 column width

Please don't post questions in the bugs forum, it is for bugs and bug fixes only. Moving to Template Editing.

4.2 is css based, meaning all of the width values and everything else are in the stylesheet, main.css. Any posts on 4.1 won't help you as this is a completely different layout. Find the class that controls the side menu, and then go into your stylesheet and edit it. This looks like it:

#left-bar {
float: left;
position: relative;
width: 150px;
margin-left: 7px;
}
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 01-20-2009, 09:14 AM
 
GreatLakesVacuum GreatLakesVacuum is offline
 

eXpert
  
Join Date: Jan 2009
Posts: 286
 

Default Re: 4.2 column width

Hmm, sorry about the wrong forum thing, didn't mean to do that.

Anyways, I am trying to edit main.css and main.css in fancycategories/icons/ to get my categories list in the left column wider but its not working

I changed both values as high as 180px to test and its still showing only 137px wide (i measured it).

So I don't even think its using the main.css code block you posted because of fancy categories... but it seems to ignore changes I make to all the skin pages...
__________________
X-Cart 4.5.4 Gold (Live Business Site)
X-Cart 5.1.9 Business (In Development Now)
Reply With Quote
  #4  
Old 01-20-2009, 09:16 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: 4.2 column width

Did you adjust the middle column's width to account for the new width you set on the left?
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #5  
Old 01-20-2009, 09:18 AM
 
GreatLakesVacuum GreatLakesVacuum is offline
 

eXpert
  
Join Date: Jan 2009
Posts: 286
 

Default Re: 4.2 column width

Quote:
Originally Posted by balinor
Did you adjust the middle column's width to account for the new width you set on the left?

Good question... I am looking at the file and do not see the main column's width defined anywhere. Just various containers which one even has a width of 200% however that works?!
__________________
X-Cart 4.5.4 Gold (Live Business Site)
X-Cart 5.1.9 Business (In Development Now)
Reply With Quote
  #6  
Old 01-20-2009, 09:20 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: 4.2 column width

Here's a trick, use Firebug to determine exactly which class controls each:

https://addons.mozilla.org/firefox/addon/1843
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #7  
Old 01-20-2009, 09:25 AM
 
GreatLakesVacuum GreatLakesVacuum is offline
 

eXpert
  
Join Date: Jan 2009
Posts: 286
 

Default Re: 4.2 column width

Quote:
Originally Posted by balinor
Here's a trick, use Firebug to determine exactly which class controls each:

https://addons.mozilla.org/firefox/addon/1843

Installed it, its pretty neat (way over my head, but neat) I figured out what you mean though about using it to see what each section is called and broken down into.

However I am still at a loss, is ALL of this coming from main.css?

I made some other changes to customer/home.tpl and those changes never worked either. I just tried to comment out some sections I didn't want like the "special" section...

So I am really wondering why no changes I make to anything in my skin1_original folder show up...
__________________
X-Cart 4.5.4 Gold (Live Business Site)
X-Cart 5.1.9 Business (In Development Now)
Reply With Quote
  #8  
Old 01-20-2009, 09:27 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: 4.2 column width

That's because skin1_original is not the active skin folder, skin1 is Skin1_original is your backup in case you botch something up in skin1.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #9  
Old 01-20-2009, 09:31 AM
 
GreatLakesVacuum GreatLakesVacuum is offline
 

eXpert
  
Join Date: Jan 2009
Posts: 286
 

Default Re: 4.2 column width

Oh son of a ... I see what it did ... skin1 was empty, but I never copied it back from the server!!!!!!!!

Ok, let me do that and start over and I'll post back if I need help
__________________
X-Cart 4.5.4 Gold (Live Business Site)
X-Cart 5.1.9 Business (In Development Now)
Reply With Quote
  #10  
Old 01-20-2009, 09:37 AM
 
GreatLakesVacuum GreatLakesVacuum is offline
 

eXpert
  
Join Date: Jan 2009
Posts: 286
 

Default Re: 4.2 column width

Ok, so now if I am removing a part, would you suggest I comment it out of the .tpl file and then just addust the .css file for making layout changes?

I just want to make sure I am going at this the right way...
__________________
X-Cart 4.5.4 Gold (Live Business Site)
X-Cart 5.1.9 Business (In Development Now)
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 12:10 PM.

   

 
X-Cart forums © 2001-2020