X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   4.2 column width (https://forum.x-cart.com/showthread.php?t=44939)

GreatLakesVacuum 01-20-2009 07:39 AM

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 :(

balinor 01-20-2009 09:11 AM

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;
}

GreatLakesVacuum 01-20-2009 09:14 AM

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...

balinor 01-20-2009 09:16 AM

Re: 4.2 column width
 
Did you adjust the middle column's width to account for the new width you set on the left?

GreatLakesVacuum 01-20-2009 09:18 AM

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?!

balinor 01-20-2009 09:20 AM

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

GreatLakesVacuum 01-20-2009 09:25 AM

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...

balinor 01-20-2009 09:27 AM

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.

GreatLakesVacuum 01-20-2009 09:31 AM

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 :)

GreatLakesVacuum 01-20-2009 09:37 AM

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...


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

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.