| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
4.2 column width | ||||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() 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) |
|||||||
#2
|
|||||||
|
|||||||
![]() 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 |
|||||||
#3
|
|||||||
|
|||||||
![]() 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) |
|||||||
#4
|
|||||||
|
|||||||
![]() 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 |
|||||||
#5
|
|||||||
|
|||||||
![]() Quote:
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) |
|||||||
#6
|
|||||||
|
|||||||
![]() 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 |
|||||||
#7
|
|||||||
|
|||||||
![]() Quote:
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) |
|||||||
#8
|
|||||||
|
|||||||
![]() That's because skin1_original is not the active skin folder, skin1 is
![]()
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#9
|
|||||||
|
|||||||
![]() 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) |
|||||||
#10
|
|||||||
|
|||||||
![]() 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) |
|||||||
|
|||
X-Cart forums © 2001-2020
|