Results 1 to 4 of 4
  1. #1
    Join Date
    Feb 2006
    Posts
    656
    Plugin Contributions
    0

    Default Question on using Third Party CSS

    If I find a neat css based third party template I want to use, what needs to be done to make it Zen 1.3x compatible? What is the easiest way to make it (the 3rd party css) work with Zen?

    Do I need to change the "wording" used in the new css file, or, do I need to adjust any of the php files to read the new css file?

    Not all CSS language is the same.

    Thanks,

    Tom
    I Think, Therefore I Zen. I Zen, Therefore, I AM!
    Personalized Flowers!
    Flowertown Speaking Roses
    using version 1.5.7-06232020

  2. #2
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Question on using Third Party CSS

    Quote Originally Posted by wtashby
    If I find a neat css based third party template I want to use, what needs to be done to make it Zen 1.3x compatible? What is the easiest way to make it (the 3rd party css) work with Zen?

    Do I need to change the "wording" used in the new css file, or, do I need to adjust any of the php files to read the new css file?

    Not all CSS language is the same.
    The general answer is that the amount of effort involved in adapting a third party CSS-based template for Zen Cart 1.3 would be equivalent to developing it from scratch.

    The reason for this is that many of the div IDs, classes HTML tags used by v1.3 are unique to that version. Earlier versions of Zen Cart have a different structure and thus generate different IDs and classes. Even the Classic template in v1.3 is very different from the template_default.

    To answer your specific question. Yes, you would change the wording in the CSS file. PHP files do not read CSS. The PHP files generate HTML with tags. The user's browser then reads the HTML and styles it using the CSS rules.

    I've simplified a complex subject for clarity. Please feel free to post supplementary questions if you would like a more detailed answer.
    Last edited by kuroi; 29 May 2006 at 05:05 PM.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  3. #3
    Join Date
    Feb 2006
    Posts
    656
    Plugin Contributions
    0

    Default Re: Question on using Third Party CSS

    So, perhaps using a combination of Firefox, Ardvark, and Topstyle, I can compare and "merge" (for lack of a better term) the 3rd party css and, stylsheet.css to create a unique stylesheet of my own?

    Any thoughts on that?
    I Think, Therefore I Zen. I Zen, Therefore, I AM!
    Personalized Flowers!
    Flowertown Speaking Roses
    using version 1.5.7-06232020

  4. #4
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Question on using Third Party CSS

    Quote Originally Posted by wtashby
    So, perhaps using a combination of Firefox, Ardvark, and Topstyle, I can compare and "merge" (for lack of a better term) the 3rd party css and, stylsheet.css to create a unique stylesheet of my own?

    Any thoughts on that?
    Unfortunately I can't comment much on this. I would need to know more about what the 3rd party CSS was originally designed for e.g. a Zen Cart shop, another type of shop, something completely different.

    If there's sufficient compatibility then the sorts of tools you're talking about would be appropriate, though I'd use CSSViewer in preference to Aardvark as it not only gives you the tags and with their IDs and classes (like Aardvark, but also the CSS that applies to them.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

 

 

Similar Threads

  1. email order confirmation to third party
    By valnoren in forum General Questions
    Replies: 46
    Last Post: 27 Jan 2014, 11:29 AM
  2. SSL Certificates and Processing Using Third Party
    By RtX in forum PayPal Express Checkout support
    Replies: 2
    Last Post: 29 Nov 2009, 02:02 PM
  3. Third party templates
    By travellers in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 9 Jan 2009, 03:31 PM
  4. Third Party Gift Certificate
    By BazM in forum Templates, Stylesheets, Page Layout
    Replies: 9
    Last Post: 25 Nov 2008, 11:17 PM

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