Thread: image too large

Results 1 to 10 of 10
  1. #1
    Join Date
    Dec 2008
    Posts
    19
    Plugin Contributions
    0

    Default image too large

    Currently i have a image that seems to be bigger than its allocated space
    http://www.herbalteathenaturalway.co...eset-12112007/ The size of this image should
    be 326 by 296. I have inserted the script from by stylesheet_tm. The image comes under .banner_header
    { background:url(../images/header_banner.jpg) right top repeat-y;}
    Could anyone tell me what needs to be changed in this scipt so my image can neatly fit on the right side
    of my website.



    .fill_top_2 { background:url(../images/fill_top_2.gif) 0 0 repeat-x #FFFFFF;}
    .fill_header_2 { background:url(../images/fill_2.gif) 0 0 repeat-y;}
    .fill_header_right_2 { background:url(../images/fill_right_2.gif) right top repeat-y;}
    .bg_header_2 { background:url(../images/bg_header_2.gif) 0 0 no-repeat;}
    .bg_header_right_2 { background:url(../images/bg_header_right_2.gif) right top no-repeat; width:100%; min-height:403px; height:auto !important; height:403px;}
    .banner_header { background:url(../images/bg_lap.jpg) 19px 0 no-repeat; min-height:354px; height:auto !important; height:354px; text-align:right;}
    .banner_two { padding:29px 35px 0 0;}
    .banner_header { background:url(../images/header_banner.jpg) right top repeat-y;}

  2. #2
    Join Date
    Dec 2008
    Posts
    19
    Plugin Contributions
    0

    Default stylesheet

    Currently i have a image that seems to be bigger than its allocated space
    http://www.herbalteathenaturalway.co...eset-12112007/ The size of this image should
    be 326 by 296. I have inserted the script from by stylesheet_tm. The image comes under .banner_header
    { background:url(../images/header_banner.jpg) right top repeat-y;}
    Could anyone tell me what needs to be changed in this scipt so my image can neatly fit on the right side
    of my website.



    .fill_top_2 { background:url(../images/fill_top_2.gif) 0 0 repeat-x #FFFFFF;}
    .fill_header_2 { background:url(../images/fill_2.gif) 0 0 repeat-y;}
    .fill_header_right_2 { background:url(../images/fill_right_2.gif) right top repeat-y;}
    .bg_header_2 { background:url(../images/bg_header_2.gif) 0 0 no-repeat;}
    .bg_header_right_2 { background:url(../images/bg_header_right_2.gif) right top no-repeat; width:100%; min-height:403px; height:auto !important; height:403px;}
    .banner_header { background:url(../images/bg_lap.jpg) 19px 0 no-repeat; min-height:354px; height:auto !important; height:354px; text-align:right;}
    .banner_two { padding:29px 35px 0 0;}
    .banner_header { background:url(../images/header_banner.jpg) right top repeat-y;}

  3. #3
    Join Date
    Sep 2008
    Location
    London UK
    Posts
    101
    Plugin Contributions
    0

    Default Re: stylesheet

    wow .. with so many nested div tags going to be almost impossible

    i do notice you have in your above code
    Code:
    .banner_header { background:url(../images/bg_lap.jpg) 19px 0 no-repeat; min-height:354px; height:auto !important; height:354px; text-align:right;}
    and
    Code:
    .banner_header { background:url(../images/header_banner.jpg) right top repeat-y;}
    why are you defining 2 images for same css

    also, why the repeat-y .... that causes it to repeat the image vertically

  4. #4
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: stylesheet

    Agree with Steve, the vertical expansion isn't really explansion at all, it's repetition.

    The image isn't expanded horizontally either. Rather it's that one of those many, many divs is causing the page width to expand, and your image is aligned to the right edge, causing it to look as though it's overflowing, when all it's really doing is nesting up against an invisible edge. But working out which div is causing the overflow is way more complicated than it should be because of all that div soup.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  5. #5
    Join Date
    Dec 2008
    Posts
    19
    Plugin Contributions
    0

    Default Re: stylesheet

    Quote Originally Posted by -Steve- View Post
    wow .. with so many nested div tags going to be almost impossible

    i do notice you have in your above code
    Code:
    .banner_header { background:url(../images/bg_lap.jpg) 19px 0 no-repeat; min-height:354px; height:auto !important; height:354px; text-align:right;}
    and
    Code:
    .banner_header { background:url(../images/header_banner.jpg) right top repeat-y;}
    why are you defining 2 images for same css

    also, why the repeat-y .... that causes it to repeat the image vertically
    I made up the reapeat- y and also the banner header title. In the template 20740 there is an actual image in that position but i cannot seem to enable it?

  6. #6
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: stylesheet

    It sounds as though you have some questions for your template vendor.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  7. #7
    Join Date
    Jul 2006
    Location
    Montreal, Canada
    Posts
    2,279
    Plugin Contributions
    0

    Default Re: image

    Looking at your stylesheet..
    there are two identical rules has been set in same CSS .. thats the
    banner_header calss. line 75 and 77

    the second rule will apply to your Site meaning will over ride the first one .

    you may comment out the second banner_header class and see if that to some degree solve your problem since first rule is defining dimension of your banner.

  8. #8
    Join Date
    Dec 2008
    Posts
    19
    Plugin Contributions
    0

    Default Re: image

    Can you see the image that starts with LOWEST PRICES OF THE SEASON on template 20740 osc3.template-help.com/zencart_20740/
    Why cant i see his on my website? What am i doing wrong?
    Last edited by Kim; 21 Dec 2008 at 03:57 AM.

  9. #9
    Join Date
    Dec 2008
    Posts
    19
    Plugin Contributions
    0

    Default Re: stylesheet

    Can you see the image that starts with LOWEST PRICES OF THE SEASON on template 20740 osc3.template-help.com/zencart_20740/
    Why cant i see his on my website? What am i doing wrong?

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

    Default Re: image

    Because you are using a TM template and they use non-standard, hardcoded elements and don't follow Zen Cart's override rules.
    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.

 

 

Similar Threads

  1. Shopping Cart Refresh / Update Image too large
    By Jim21 in forum General Questions
    Replies: 3
    Last Post: 10 Jul 2011, 12:35 PM
  2. "Larger Image" option shows too large of an image
    By AppletonCRU in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 13 Apr 2010, 01:41 AM
  3. larger image too large
    By starry89 in forum General Questions
    Replies: 0
    Last Post: 28 Aug 2009, 04:34 PM
  4. Image size too large
    By weddinggowns in forum General Questions
    Replies: 2
    Last Post: 2 Dec 2008, 10:09 AM
  5. Larger image too large
    By Alice in forum Customization from the Admin
    Replies: 2
    Last Post: 29 Jul 2006, 05:25 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