Results 1 to 10 of 16

Hybrid View

  1. #1
    Join Date
    May 2006
    Posts
    30
    Plugin Contributions
    0

    Default Re: Body Backgound Size?

    ok, i found this and it seems to work for resizing the bg

    body {background-image: url(../images/tile_back.jpg);background-attachment: fixed;background-position: top center; background-repeat:no-repeat;margin: 0;}

  2. #2
    Join Date
    May 2006
    Location
    Anywhere USMC points
    Posts
    368
    Plugin Contributions
    0

    Default Re: Body Backgound Size?

    WIERD! I have no errors and that's what is currently in the style sheet.

    Would someone look at my cart on their computer??? Maybe the errors will show up for you? www.houseofdiva.com/zencart

    ETA: When I click on my CSS things to edit them, my Adobe Golive software comes up as the editor. Would that highlight or tell me when there is invalid code?

  3. #3
    Join Date
    May 2006
    Posts
    30
    Plugin Contributions
    0

    Default Re: Body Backgound Size?

    i looked at your site, it's beautiful.

    you won't get any visible error code if your css has errors. you have to validate it with this website http://jigsaw.w3.org/css-validator/ to see the errors.

    it is imporatant to validate, believe me.

    you must remove the extra { } . your bg is fixed in your .css, but it isn't working because of the extra { } .

    try putting background-position: top center; in there also and see if you like how it resizes the image. it worked for me.

    the other thing i noticed is you have old stylesheets in your css directory. if you are not using them, you should remove them because zen cart is applying all .css in that folder. if you leave them in the folder, you will wonder why your changes don't seem to have the effect you were hoping for.

    also, i validated your css to see what happened. there are about 7 errors, and they should be fixed for your sake.
    this one "1.2empx" should be 1.2em - pixels and ems don't mix.

  4. #4
    Join Date
    May 2006
    Location
    Anywhere USMC points
    Posts
    368
    Plugin Contributions
    0

    Default Re: Body Backgound Size?

    ooo thanks!

    Okay so
    1) input the OTHER code above, removing the {}
    2) Remove old CSS
    3) Put in the top center bit.

    Doing now!

  5. #5
    Join Date
    May 2006
    Location
    Anywhere USMC points
    Posts
    368
    Plugin Contributions
    0

    Default Re: Body Backgound Size?

    Okay so using that site you posted I get this

    Target: http://www.houseofdiva.com/zencart

    Please, validate your XML document first!

    Line 28

    Column 209

    The element type "object" must be terminated by the matching end-tag "</object>".



    What's an XML document? where is it??


    ETA: I input your other suggestions and image is still stretched perfectly!!! Thank you!
    Last edited by ladysaat; 27 May 2006 at 11:05 PM.

  6. #6
    Join Date
    May 2006
    Posts
    30
    Plugin Contributions
    0

    Default Re: Body Backgound Size?

    xml - Extensible Markup Language

    i think what have happened is maybe you put your website addess instead of your .css.

    here it is:


    http://houseofdiva.com/zencart/inclu...stylesheet.css

  7. #7
    Join Date
    May 2006
    Location
    Anywhere USMC points
    Posts
    368
    Plugin Contributions
    0

    Default Re: Body Backgound Size?

    aha! got it, and it says congratulations valid css etc. Groovy!

    There are a million and one warnings though.. I don't understand a single one of them. Do I need to fix them????

 

 

Similar Threads

  1. v139h help changing the backgound
    By kamal407 in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 6 Aug 2012, 10:39 AM
  2. change backgound image
    By louisapple in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 6 Jul 2009, 02:28 AM
  3. 3 problems: varying font sizes, image link borders and body font size
    By JackA in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 14 Dec 2007, 08:28 AM
  4. Size of the Main Body
    By devangdevang in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 30 Oct 2006, 03:15 AM
  5. main body text size
    By christienicole in forum Templates, Stylesheets, Page Layout
    Replies: 16
    Last Post: 10 Jul 2006, 03:35 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