Zen Cart Logo
Forums / Basic Configuration / categories box is not top align

categories box is not top align

Locked

Views: 1,907

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
13 Oct 2006, 7:20 AM
#1
vr4indian avatar

vr4indian

Zen Follower

Join Date:
Apr 2006
Posts:
141
Plugin Contributions:
0

categories box is not top align

this is my website

http://netclues.net/demo1/caytech/index.php

see the categories box is not align top on left side.

all are origianl files

changes:

common-header.php -> echo replace by //echo and require by // require

thanks

13 Oct 2006, 9:41 AM
#2
sketchy avatar

sketchy

Totally Zenned

Join Date:
Aug 2006
Location:
Canada
Posts:
940
Plugin Contributions:
2

Re: categories box is not top align

Your current template is based upon the default template. The default template is somewhat unrefined for template experimental purposes, so you will find certain left column selectors do not include right column selectors or visa versa. Therefore, the lack of symmetry between the right and left columns.

In your stylesheet.css, find;

.leftBoxContainer {
	border: 1px solid #ffffff;
	margin-top: 1.5em;
	}

You can omit the red highlighted declaration to deflate your categories sidebox to the top. As you can notice, there isn't a corresponding declaration for .rightBoxContainer , so that's where the differences come into play.

13 Oct 2006, 10:24 AM
#3
vr4indian avatar

vr4indian

Zen Follower

Join Date:
Apr 2006
Posts:
141
Plugin Contributions:
0

Re: categories box is not top align

i do what you say

but no change at all

i am using defualt template

now i put header.php and mainpage.php of common folder as original

and this is my style sheet

.leftBoxHeading, .centerBoxHeading {
margin: 0em;
background-color: #FF6699;
padding: 0.5em 0.2em;
}

.leftBoxContainer {
border: 1px solid #ffffff;
------------ i remove margin tag from here------------------------------------
}

.sideBoxContent {
background-color: #ffffff;
padding: 0.4em;
}

but still there is gap betwwen let side and top aling

http://netclues.net/demo1/caytech/index.php

can you help me?

please..

13 Oct 2006, 11:56 AM
#4
sketchy avatar

sketchy

Totally Zenned

Join Date:
Aug 2006
Location:
Canada
Posts:
940
Plugin Contributions:
2

Re: categories box is not top align

Those PHP files, that you've mentioned, do not affect this current issue as this is strictly a stylesheet adjustment.

I've just checked the source CSS(current template stylesheet.css) and the declaration is still there, unmodified... it may be that the edit did not upload or the edit occurred elsewhere.

I noticed that you mentioned that you're using "template default". Is that the template override that is currently in your NE_TEMPLATES folder? Or did you edit the actual "template_default" folder's stylesheet.css?

At any rate, I would suggest a template override using a basic template like Classic. I recommend this route because all the relevant stucture is complete. In the 'downloads' area at the top of the forum menu, there is a different colored Classic combo pack available.
http://www.zen-cart.com/index.php?main_page=product_contrib_info&cPath=40_53&products_id=274

You can choose a color version that you like and then tidy it up, instead of trying to refine the stylesheet structure of the default template.

13 Oct 2006, 12:12 PM
#5
vr4indian avatar

vr4indian

Zen Follower

Join Date:
Apr 2006
Posts:
141
Plugin Contributions:
0

Re: categories box is not top align

oh sketych

thanks

it works fine

and problem is in uploading

thanks

what i am doing is :

i rename template_defualt to NE_templates

and then from admin install new

and work s

gr8

have a nice day

13 Oct 2006, 12:35 PM
#6
sketchy avatar

sketchy

Totally Zenned

Join Date:
Aug 2006
Location:
Canada
Posts:
940
Plugin Contributions:
2

Re: categories box is not top align

You're welcome and have a good day yourself.

Thanks for letting me know the status and especially relaying that info...
I still have to advise to use another template as an override template base and especially to leave the default template system in it's original state. The default template is the fail-safe system and it should be left unmodified and intact. You surely can copy files from there and use them in a custom template though.

If you really wanted to, you could use the default template from the fileset on your desktop and rename the folder and relevant template name inside "template_info.php" and then install it as a custom template. You'd have way more files that you'd ever need to modify, but it would be a better plan than your current one.

18 Dec 2007, 4:19 PM
#7
zskiman avatar

zskiman

New Zenner

Join Date:
Mar 2005
Posts:
69
Plugin Contributions:
0

Re: categories box is not top align

not sure if ya got this fixed yet, but by looking at he date im sure you did. had the same problem though, and heres what i found in my css sheet

#navColumnOneWrapper {
margin: 0 0.5em;
------>>> padding: 120px 0 0 0;
}

changed to:

#navColumnOneWrapper {
margin: 0 0.5em;
------>>> padding: 20px 0 0 0;
}

and all is good :)