Page 1 of 2 12 LastLast
Results 1 to 10 of 15
  1. #1
    Join Date
    Aug 2007
    Posts
    7
    Plugin Contributions
    0

    Default Align Additional Images

    This is driving me batty. I cannot get the additional images to form a nice neat row. They just want to sit on top of each other.

    I've got it set to have 3 images in a row in the Admin.

    I can't tell if this is a style problem or something else.

    Can someone look here and tell me what you think?

    http://www.threestonesteps.com/cart/...&products_id=1

    Ideally, those extra views would fit right under the big image.

  2. #2
    Join Date
    Jan 2005
    Location
    USA, St. Louis
    Posts
    3,710
    Plugin Contributions
    9

    Default Re: Align Additional Images

    Quote Originally Posted by mh71888 View Post
    This is driving me batty. I cannot get the additional images to form a nice neat row. They just want to sit on top of each other.

    I've got it set to have 3 images in a row in the Admin.

    I can't tell if this is a style problem or something else.

    Can someone look here and tell me what you think?

    http://www.threestonesteps.com/cart/...&products_id=1

    Ideally, those extra views would fit right under the big image.
    Well, its because you are out of room. The biggest problen is that there is no line break before the "larger image" link. There is a line break in a default zen install, so it looks like you changed that. If you can get the <br /> back right before: <span class="imgLinkAdditional">, then you'll have more space. I would reupload the original includes/modules/additional_images.php. Also, you can decrease the margin and padding on .additionalImages:
    .additionalImages {margin:0!important;padding:0!important}

  3. #3
    Join Date
    Aug 2007
    Posts
    7
    Plugin Contributions
    0

    Default Re: Align Additional Images

    Thank you. It wasn't the line break tag, though (I took that out in order to try and fix it). It was the padding and margin. I probably just made it worse by taking out the line break. It's back now anyway. Thanks again.

  4. #4
    Join Date
    May 2007
    Posts
    139
    Plugin Contributions
    0

    Default Re: Align Additional Images

    I'm having a similar problem, any help?

    http://www.wolfandrabbit.com/index.p...roducts_id=187

    TIA

  5. #5
    Join Date
    Jan 2005
    Location
    USA, St. Louis
    Posts
    3,710
    Plugin Contributions
    9

    Default Re: Align Additional Images

    Quote Originally Posted by tatiana77 View Post
    I'm having a similar problem, any help?

    http://www.wolfandrabbit.com/index.p...roducts_id=187

    TIA
    Replace these section from your product_info.css with this:

    Code:
    #productAdditionalImages {
    margin:0 auto;
    width:100%;
    clear:both;
    text-align:center;
    }
    
    .additionalImages {
    width:100%;
    padding:0;
    float:left;
    margin:0 auto;
    text-align:center;
    }
    
    .additionalImages img{
    border:1px dashed #ff4474;
    }

  6. #6
    Join Date
    May 2007
    Posts
    139
    Plugin Contributions
    0

    Default Re: Align Additional Images

    holy smokes you're a genius!!

    Thank you thank you thank you [jumps for joy]

    [breathes sigh of relief]


  7. #7
    Join Date
    May 2007
    Posts
    139
    Plugin Contributions
    0

    Default Re: Align Additional Images

    hi jettrue,

    I've been having a similar problem.. as you can see I put:

    #productMainImage {
    padding: auto;
    position:absolute;left:285px;top:285px
    }

    in my product_info_display, and I know from past experience this is a quick bandaid fix to position this main image, especially when it came to nice alignment in IE7... my question is, is there a proper way of aligning it to look like this? When my image slightly too high it overlaps the thumbnails beneath it instead of just shifting them down properly ... here's the link, hope you can help.

    http://www.wolfandrabbit.com/index.p...roducts_id=189

    TIA

    PS It looks okay in IE7, but overlapping TN's in Firefox at the moment.
    Last edited by tatiana77; 21 Aug 2007 at 01:53 AM. Reason: PS

  8. #8
    Join Date
    Jan 2005
    Location
    USA, St. Louis
    Posts
    3,710
    Plugin Contributions
    9

    Default Re: Align Additional Images

    Quote Originally Posted by tatiana77 View Post
    hi jettrue,

    I've been having a similar problem.. as you can see I put:

    #productMainImage {
    padding: auto;
    position:absolute;left:285px;top:285px
    }

    in my product_info_display, and I know from past experience this is a quick bandaid fix to position this main image, especially when it came to nice alignment in IE7... my question is, is there a proper way of aligning it to look like this? When my image slightly too high it overlaps the thumbnails beneath it instead of just shifting them down properly ... here's the link, hope you can help.

    http://www.wolfandrabbit.com/index.p...roducts_id=189

    TIA

    PS It looks okay in IE7, but overlapping TN's in Firefox at the moment.
    Way too much css goin' on there :) ... replace the three sections below:

    #imagebox {
    float:left;
    }

    #productMainImage {
    }

    #productbox {
    width:55&#37;;
    float:right;
    }

    ETA: Your site looks really nice!

  9. #9
    Join Date
    May 2007
    Posts
    139
    Plugin Contributions
    0

    Default Re: Align Additional Images

    Once again, I bow down to the fabulousness that is Jettrue. You are truly my savior of the day (Got kids? Can I cut you a discount on the clothing? )

    I can't thank you enough, and I know.. wayyy too much CSS...

    Tatiana

  10. #10
    Join Date
    Nov 2006
    Posts
    29
    Plugin Contributions
    0

    Default Re: Align Additional Images

    I am also having trouble getting the additional images to line up horizontally. I have moved them right underneath the main image and they are going down in a row instead of in columns. I have a stylesheet just for this page.

    #productAdditionalImages {
    clear:both;
    margin:0pt auto;
    text-align:center;
    width:100%;
    }
    .additionalImages {
    float:left;
    margin:0pt auto 18px;
    padding:0pt;
    text-align:center;
    width:100%;
    }

    .additionalImages img{
    border:1px dashed #C5CEA5;
    padding: 5px;
    }

    I have tried most of the fixes posted here but still no luck. If someone could take a look that would be great. Here is a link to the page.

    Hope you can help

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Additional Images Vertical Align Issue
    By jeanjeanitaly in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 30 Sep 2011, 05:11 PM
  2. additional product images don't align
    By varnco in forum Templates, Stylesheets, Page Layout
    Replies: 11
    Last Post: 14 Aug 2009, 04:15 PM
  3. Align - Attributes and additional images in row
    By aussieny in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 28 Apr 2009, 03:40 AM
  4. Vertical align additional images
    By ivanc in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 20 Feb 2009, 02:10 AM
  5. Additional images to align left
    By Shelleym in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 17 Jan 2009, 01:42 AM

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