Results 1 to 5 of 5
  1. #1
    Join Date
    Jun 2008
    Posts
    187
    Plugin Contributions
    0

    Default css sheet for tpl_product_info_noproduct.php

    Hey all,

    how do i do the custom css for this page:

    tpl_product_info_noproduct.php

    this displays when a product has been turned off.

    i have tried:

    product_info_noproduct.css

    but it didnt seem to work what should i be calling my css file?

    regards

    Andy.

  2. #2
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: css sheet for tpl_product_info_noproduct.php

    Get a "no product" page to display, and look at the address bar. The mainpage= will show the page name to reference with a stylesheet name.

    If, as I suspect, this is still product_info, you will need to find the classes/ids that apply to your elements and add them to your main stylesheet.

  3. #3
    Join Date
    Jun 2008
    Posts
    187
    Plugin Contributions
    0

    Default Re: css sheet for tpl_product_info_noproduct.php

    yep your right works a charm,

    thanks

    Andy.

  4. #4
    Join Date
    Aug 2005
    Posts
    47
    Plugin Contributions
    0

    help question Re: css sheet for tpl_product_info_noproduct.php

    Where are the page specific stylesheets located? I am attempting to modify the layout of the product_info page but cannot find the css class styles in the /templates css directory or anywhere else in the zencart directory structure.

    For example:

    Where are the following styles defined?

    page= tpl_product_info_display.php

    id="productDetailsList" class="floatingBox back" or id="productAttributes" class="biggerText"

    I cannot find these id or class definitions in any of the template area's stylesheet.css files.

  5. #5
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: css sheet for tpl_product_info_noproduct.php

    tpl_product_info_display.php is a file, not a page, and has nothing to do directly with CSS.

    There are many ids and classes given in the code but not mentioned in the stylesheet. They are there in case someone needs them - add to your stylesheet and style away.

 

 

Similar Threads

  1. Replies: 2
    Last Post: 22 Apr 2013, 08:56 AM
  2. What to change for CSS sheet for this?
    By navjyot in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 13 Jul 2009, 05:01 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