Results 1 to 7 of 7
  1. #1
    Join Date
    Apr 2006
    Posts
    136
    Plugin Contributions
    0

    Default 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

  2. #2
    Join Date
    Aug 2006
    Location
    Canada
    Posts
    1,029
    Plugin Contributions
    5

    Default 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;
    Code:
    .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.

  3. #3
    Join Date
    Apr 2006
    Posts
    136
    Plugin Contributions
    0

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

  4. #4
    Join Date
    Aug 2006
    Location
    Canada
    Posts
    1,029
    Plugin Contributions
    5

    Default 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?ma...roducts_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.

  5. #5
    Join Date
    Apr 2006
    Posts
    136
    Plugin Contributions
    0

    Default 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

  6. #6
    Join Date
    Aug 2006
    Location
    Canada
    Posts
    1,029
    Plugin Contributions
    5

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

  7. #7
    Join Date
    Mar 2005
    Posts
    70
    Plugin Contributions
    0

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

 

 

Similar Threads

  1. Show Top level Categories and 1st sub level categories in side box
    By airtime in forum Templates, Stylesheets, Page Layout
    Replies: 10
    Last Post: 3 Mar 2011, 06:03 PM
  2. categories box on top of other sideboxes
    By bogyi in forum General Questions
    Replies: 2
    Last Post: 1 Nov 2010, 11:56 PM
  3. Top align center column with top, left side box?
    By kirkbross in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 15 Jan 2010, 07:36 AM
  4. Top align left column? or change top header to center only.
    By byoriginaldesign in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 22 Dec 2009, 07:16 PM
  5. Top categories are NOT TOP
    By avimia in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 20 Oct 2007, 03:05 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg