Results 1 to 9 of 9
  1. #1
    Join Date
    Sep 2009
    Posts
    8
    Plugin Contributions
    0

    red flag Bizarre Happenings when changing stylesheet

    Hi there.

    I am totaly new to Zen, My father just roped me in to help with setting up his store.

    I want to add a backgroud image to the store.

    I made a copy of the Clasic template and changed the name and the template_info.php file to reflect the new name.

    I then opened the stylesheet.css and did this:

    PHP Code:
    body {
        
    margin0;
        
    font-familyverdanaarialhelveticasans-serif;
        
    font-size62.5%;
        
    color#000000;
        
    background-color#f4f4f4;
        
    background-imageurl(../image/title_back.jpg);
        } 
    but instead of adding a background image, the side bars vanished

    Can anyone explain to me why this is happning? and how am I ment to fix it?


    Thanks in advance

    Josh

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

    Default Re: Bizarre Happenings when changing stylesheet

    Did you click the Reset button at the bottom of the Tools > Layout Box Controller page after selecting the new template?

  3. #3
    Join Date
    Sep 2009
    Posts
    8
    Plugin Contributions
    0

    Default Re: Bizarre Happenings when changing stylesheet

    I have done so now and it reset the the boxes perfectly, thanks!
    But the image I want to display dosent show. Can you think why that might be?

  4. #4
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: Bizarre Happenings when changing stylesheet

    Try it with images

    background-image: url(../images/title_back.jpg);

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

    Default Re: Bizarre Happenings when changing stylesheet

    And is your image really named title_back.jpg? The standard version of this is named tile_back.gif. Be sure you haven't confused title for tile.

  6. #6
    Join Date
    Sep 2009
    Posts
    8
    Plugin Contributions
    0

    Default Re: Bizarre Happenings when changing stylesheet

    Thanks for the correction but unfortunatly it didnt work.

    How is an image generaly shown?
    The file that I am using is a small tile which is ment to be repeted.
    Here is the kind of effect im looking for www.evo-parts.co.uk

    I want the carbon fibre effect on the background to be carried over to the shop (which can be seen by clicking on Products)

    the tile is suposed to be repeted to give that effect

    is it possible that the picture is simply in the centre of the page and therefore not seen?

  7. #7
    Join Date
    Jun 2003
    Posts
    33,721
    Plugin Contributions
    0

    Default Re: Bizarre Happenings when changing stylesheet

    Which /images directory did you put the image in?
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

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

    Default Re: Bizarre Happenings when changing stylesheet

    Exactly where did you save the tile image? Can we have a link to see your site live? That often allows diagnosis that would be impossible otherwise.

    OK, I see the way to get to the link...
    Last edited by gjh42; 8 Sep 2009 at 04:13 PM.

  9. #9
    Join Date
    Sep 2009
    Posts
    8
    Plugin Contributions
    0

    Default Re: Bizarre Happenings when changing stylesheet

    Took gjh42's advice (Didnt see it when i posted last) Problem is all solved!

    Thanks guys!

    Link to live site http://www.evo-parts.co.uk/eshop

 

 

Similar Threads

  1. re: problem changing stylesheet
    By tmhewes in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 18 Aug 2011, 02:11 AM
  2. Strange Happenings on IE7
    By autoace in forum Templates, Stylesheets, Page Layout
    Replies: 9
    Last Post: 29 Sep 2009, 03:19 PM
  3. Changing font in stylesheet
    By JohnBoyCR in forum General Questions
    Replies: 1
    Last Post: 1 Mar 2009, 06:42 PM

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