Results 1 to 4 of 4
  1. #1
    Join Date
    Apr 2010
    Posts
    6
    Plugin Contributions
    0

    Default Better to use "em" rather than "px"?

    I'm struggling with good ol 12541 but after weeks of pulling my hair out and then reading others have had problems with it and moved on to other templates.. I refuse to allow it to beat me. I have 2 questions.

    1. Many of the font sizes are 11px and i've been bumping up to 13px.. should I be using em's instead??

    2. I'm using mamp to prep the site on my mac and have so many files all over the place that seem to be required.. not just in the CUSTOM folders I created as tutorial instructed. What files are required for the site to work when I move to host server?

  2. #2
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,263
    Plugin Contributions
    3

    Default Re: Better to use "em" rather than "px"?

    Take a look HERE
    20 years a Zencart User

  3. #3
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,263
    Plugin Contributions
    3

    Default Re: Better to use "em" rather than "px"?

    Your second point...

    zencart will not work... not even on a LOCAL server ... unless the files are in the correct locations.

    The CUSTOM (over-ride) system is well-documented on the forum and in the tutorials, so you need to find that information, read it, and establish what it all means.

    Fundamentally, the "over-ride" system is a mechanism to allow users to develop CUSTOMIZED behaviour (where it is possible to do so), without doing potential damage to the CORE behaviour.

    So the over-rides system consists of the CORE files, mirrored by their CUSTOMIZED counterparts.

    This process, quite obviously, means that there will always be "duplicate" files... The original CORE file which should never be edited and which resides in its CORE folder...

    ... and a copied CUSTOM file, which can be edited, and which resides in the relevant CUSTOM folder.

    The directory structure (tree), of CORE versus CUSTOM, must be maintained.

    After you have created your CUSTOM files, you must ALSO retain the CORE files.

    And unless all these files are in precisely the right places (folders), zencart will not function properly.

    There is no facility for over-rides in the ADMIN section - only the CATALOG section of zencart.

    One of the easiest ways to determine where a CUSTOM folder is needed, is to look out for the folders called "classic".

    You will see these only in the following areas:

    • includes/languages/
    • includes/modules/
    • includes/templates/


    Wherever you see a folder called "classic", you are "permitted" to create your own custom folder. So, for example, let's say you want a custom template called elvis_presley...

    Look through all the directories in

    includes/languages

    and you will see, for example

    includes/languages/classic

    so, at that level you create a folder called elvis_presley

    So you now have:
    includes/languages/classic
    includes/languages/elvis_presley

    Looking further, you will see:
    includes/languages/english/classic

    So you can have:
    includes/languages/english/elvis_presley

    ... and so on...
    20 years a Zencart User

  4. #4
    Join Date
    Apr 2010
    Posts
    6
    Plugin Contributions
    0

    Default Re: Better to use "em" rather than "px"?

    Brilliant! Thanks for the very detailed assist... appreciate your time.

 

 

Similar Threads

  1. Shopping cart Image using "Small Image Height/width" rather than "Shopping Cart h/w"
    By britneycook in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 24 Jun 2012, 12:16 PM
  2. v150 Shipping estimator in a "lightbox" style window rather than a popup?
    By WebKat in forum Addon Shipping Modules
    Replies: 3
    Last Post: 24 Apr 2012, 11:51 PM
  3. Replies: 2
    Last Post: 11 Feb 2010, 09:13 PM
  4. " Orders, Group Pricing, PayPal IPN " and "reports" can't use !
    By greenlight in forum Customization from the Admin
    Replies: 1
    Last Post: 8 Sep 2008, 12:45 PM
  5. Replies: 3
    Last Post: 3 Jun 2008, 11:41 AM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR