Page 1 of 2 12 LastLast
Results 1 to 10 of 14
  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,860
    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
    Dezina ZenCart Templates
    Please do not PM for support queries..Post in forums..help others

  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,860
    Plugin Contributions
    2

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

    Pleased to hear your query sorted.
    Well done!!
    Dezina ZenCart Templates
    Please do not PM for support queries..Post in forums..help others

  5. #5
    Join Date
    Aug 2004
    Location
    New York City
    Posts
    7,145
    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,860
    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
    Dezina ZenCart Templates
    Please do not PM for support queries..Post in forums..help others

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

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

    Quote Originally Posted by misty View Post
    Try the number of the category
    I did. It didn't work, but I'll tinker with it again when I have more time.
    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

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

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

    Quote Originally Posted by afo View Post
    I did. It didn't work, but I'll tinker with it again when I have more time.
    Have used below... worked fine for my requirements
    Code:
    includes/templates/nameoftemplate/css/c_2.css
    where category number 2 required different stylesheet
    HTH
    Dezina ZenCart Templates
    Please do not PM for support queries..Post in forums..help others

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

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

    Thanks, Misty. Of course that works! I have no clue what I did wrong yesterday. Maybe I tried it so many ways, I didn't know when to stop.

    Now if I can just get it to look the way I want...
    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

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

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

    Maybe I tried it so many ways, I didn't know when to stop.
    Been there..done that..got the tshirt..
    Always easy when u know how...but so pleased worked
    for you.
    Dezina ZenCart Templates
    Please do not PM for support queries..Post in forums..help others

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. integrating into rest of site
    By jaatendi in forum Customization from the Admin
    Replies: 21
    Last Post: 11 Feb 2009, 11:22 AM
  2. Images show up later than the rest of the site
    By Alex123 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 1 May 2008, 10:33 AM
  3. 2 headers - 1 for 'home' and 1 for the rest of site?
    By cocmonkey in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 20 Aug 2007, 05:47 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
  •