Results 1 to 10 of 14

Hybrid View

  1. #1
    Join Date
    Aug 2008
    Posts
    47
    Plugin Contributions
    0

    Default conditions of use - different background from rest of the site.

    I have created a very long conditions of use that is accessible from the ez-page located in my left sidebox. The "background-iamge: ...." code in the css stylesheet works for everypage but the conditions of use. The legal text is far too long for the background-image found in the "mainwrapper" div.

    Is there a way to load a seperate background image that will only be displayed for the "conditions & use". I have created template override "define_conditions.php" and put it into the override area, however unlike css, i am not that farmilar with coding. Im afraid if i start messing around too much i'll get the "white screen of death", aka php coding errors.

    Thanks in advanced,
    Szarin

    Store Link Here

  2. #2
    Join Date
    Apr 2004
    Location
    UK
    Posts
    5,821
    Plugin Contributions
    2

    Default Re: conditions of use - different background from rest of the site.

    Guidelines are given in readme file of CSS folder
    i.e.
    The CSS files are sent to the browser in this order: (and alphabetically within each case of more than one match):
    style*.css // are always loaded and at least ONE should contain site-wide properties.
    language_stylesheet.css // changes to ALL pages, when that language is used
    page_name.css // changes to one page
    language_page_name.css // changes to one page, when that language is used
    c_??_??.css // changes to all info pages in a category
    language_c_??_??.css // changes to all info pages in a category, when that language is used
    m_??.css // changes to a manufacturer's listing page
    language_m_??.css // changes to a manufacturer's listing page, when that language is used
    p_??.css // changes to a product's info page
    language_p_??.css // changes to a product's info page, when that language is used
    print*.css // printer-friendly global usage site-wide changes for printing-only

  3. #3
    Join Date
    Aug 2008
    Posts
    47
    Plugin Contributions
    0

    Default Re: conditions of use - different background from rest of the site.

    Thanks for replying so quickly, thank you for explaining the naming system. I tried the change and it worked perfectly the first time, thanks once again.

    Szarin

  4. #4
    Join Date
    Apr 2004
    Location
    UK
    Posts
    5,821
    Plugin Contributions
    2

    Default Re: conditions of use - different background from rest of the site.

    Pleased to hear your query sorted.
    Well done!!

  5. #5
    Join Date
    Aug 2004
    Location
    New York City
    Posts
    7,174
    Plugin Contributions
    0

    Default Re: conditions of use - different background from rest of the site.

    I'm trying to get a different background for the products in each category. What does this mean? What should replace the ?? in the name?

    c_??_??.css // changes to all info pages in a category
    Mary Ellen
    I came; I saw; I Zenned
    Taking over the world... one website at a time
    Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

    Holzheimer
    Fan Odyssey

  6. #6
    Join Date
    Apr 2004
    Location
    UK
    Posts
    5,821
    Plugin Contributions
    2

    Default Re: conditions of use - different background from rest of the site.

    What should replace the ?? in the name?
    Try the number of the category

 

 

Similar Threads

  1. v150 Install 1.5.5a on different server, use database from current v1.5.0 site
    By Johnnycopilot in forum Installing on a Linux/Unix Server
    Replies: 1
    Last Post: 12 May 2016, 03:22 AM
  2. How to fill the rest of the background and links?
    By gablo in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 2 Sep 2010, 09:41 AM
  3. Fedex Module not displaying, 1.3.8a (different issue from the rest)
    By ElusiveSora in forum Addon Shipping Modules
    Replies: 8
    Last Post: 16 Mar 2009, 09:45 PM
  4. Use different templates at the same time on site?
    By TigerRag in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 26 Aug 2008, 02:28 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