Results 1 to 9 of 9
  1. #1
    Join Date
    Jun 2006
    Posts
    41
    Plugin Contributions
    0

    Default Nutritional Value Table

    I am doing a food site and I designed a Nutritional Value Table to go with each product.

    I copied and Pasted the CSS into the stylesheet_new.css file but when I put the table into the product the CSS formatting is not there. Any idea why?

  2. #2
    Join Date
    Dec 2005
    Location
    SWFL
    Posts
    469
    Plugin Contributions
    0

    Default Re: Nutritional Value Table

    Are you saying you created a new stylesheet file?

    You need to use the FireFox browser with Firebug installed. That will show you where your CSS is calling from. Paste your code into that file (I'm assuming you have a custom template installed -- don't modify the default template files.)

    HTH,
    Lesli in SW Florida ~ writer, teacher, and dodging hurricanes!

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

    Default Re: Nutritional Value Table

    Do you have a link to your site?
    Kuroi Web Design and Development | Twitter

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

  4. #4
    Join Date
    Jun 2006
    Posts
    41
    Plugin Contributions
    0

    Default Re: Nutritional Value Table

    I created new styles to make the box. What I am trying to do is insert in in the Products Description so it looks like this http://koshernutsandcandy.com/index....&products_id=1

    For this I just made a table in Zen Cart to show the client but now I made one that looks more like the real label. So when I enter this information I am in the Admin side of the site. Firebug is telling me that it is pulling the admin style sheets not the template styles. Does that make sense?

    Any way if anyone can help tell me where to put the css that would be great. Thanks

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

    Default Re: Nutritional Value Table

    This isn't making a lot of sense. Although you may enter the table data via the Admin, it's the stylesheets on the Catalog side that determine how it will be displayed.

    What is the full pathname of the stylesheet_new.css that you edited?

    Also, there are no IDs or classes on the table, so how were you planning to target changes to this specific table that wouldn't also affect all the other tables in Zen Cart?
    Kuroi Web Design and Development | Twitter

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

  6. #6
    Join Date
    Jun 2006
    Posts
    41
    Plugin Contributions
    0

    Default Re: Nutritional Value Table

    Ok let me try this again. The table you were looking at was built using tables in Zen Cart. That was only to show as an example of what I am trying to accomplish via CSS.

    I did not care for that look so I created a new table but using just CSS. Now what I need to do is place the CSS where it needs to be so the table will render properly when I enter it into the description.

    I have inserted the table with the classes it is at http://koshernutsandcandy.com/index....&products_id=1

    The css file is at http://koshernutsandcandy.com/includ...esheet_new.css

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

    Default Re: Nutritional Value Table

    You CSS is in the right position. That's not the issue. The issue is that specific CSS that you are using. You have positioned the table absolutely in the top left corner. I'd recommend stripping out all that absolute positioning and allowing the table to re-enter the normal document flow.
    Kuroi Web Design and Development | Twitter

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

  8. #8
    Join Date
    Jun 2006
    Posts
    41
    Plugin Contributions
    0

    Default Re: Nutritional Value Table

    Let me try that

  9. #9
    Join Date
    Jun 2006
    Posts
    41
    Plugin Contributions
    0

    Default Re: Nutritional Value Table

    Looks Rockin Now

 

 

Similar Threads

  1. v139d Table 'orders' value 'orders_status' getting set to zero '0'
    By Forum5 in forum General Questions
    Replies: 1
    Last Post: 5 Feb 2013, 08:15 AM
  2. Table Rate - Maximum value
    By rokpogo in forum Built-in Shipping and Payment Modules
    Replies: 3
    Last Post: 4 Nov 2010, 01:36 PM
  3. reading value column in sessions table
    By ajdrew in forum Contribution-Writing Guidelines
    Replies: 3
    Last Post: 19 Aug 2008, 08:12 PM
  4. Table Rate Problem - using only last value in string
    By skrimpy in forum Built-in Shipping and Payment Modules
    Replies: 7
    Last Post: 23 Jun 2008, 04:40 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