Results 1 to 7 of 7
  1. #1
    Join Date
    Jun 2011
    Posts
    65
    Plugin Contributions
    0

    Default Setting up product page - horizontal vs vertical images

    Hi all!

    Can someone please help me understand why the product listing layout differs whether my additional images are horizontal vs vertical? I understand the dimensions are different but how can I adjust my settings so that the layouts match better?

    Currently my listings with vertical images looks good (a good gap between the main and additional images) but on my listings with horizontal images, there is a large gap between the main and additional images.

    Is there anything I can do so that my horizontal addl images can be moved up closer to the main image without effecting the settings of the vertical images (because then they move up and overlap the main image)?

    Also, I can't seem to move the addl images all the way to the left inline with the main image?? I've tried every margin setting out there with no luck.

    Horizontal listing:
    http://lunapetuniadesigns.com/index....products_id=36

    Vertical listing:
    http://lunapetuniadesigns.com/index....products_id=25

    I thank you so very much for any advice or assistance - this is driving me crazy!

  2. #2
    Join Date
    Feb 2010
    Posts
    2,159
    Plugin Contributions
    17

    Default Re: Setting up product page - horizontal vs vertical images

    In you stylesheet.css

    find:
    #productAdditionalImages {
    width: 700px;
    float: left;
    margin-left: -120px;
    margin-bottom: 40px;
    }

    change to:
    #productAdditionalImages {
    width:100%;
    margin-top:-170px;
    }

    you could also add this so the images don't look like they are on top of each other.

    .additionalImages {
    padding:10px;
    }


    hope this helps!

  3. #3
    Join Date
    Jun 2011
    Posts
    65
    Plugin Contributions
    0

    Default Re: Setting up product page - horizontal vs vertical images

    Thank you, rbarbour!

    That moved the horizontal additional images up below the main image which I love - they look perfect now. But it puts the vertical images up next to the main image rather than below it. This is the problem I've been having. I can't get both image layouts to fall underneath the main image.

    http://lunapetuniadesigns.com/index....products_id=21

    Is it possible to create separate settings (would I create a div?) - one for horizontal images and one for vertical images? How can I do that if possible?

    Thank you again!!!
    Denise

  4. #4
    Join Date
    Feb 2010
    Posts
    2,159
    Plugin Contributions
    17

    Default Re: Setting up product page - horizontal vs vertical images

    in your product_info php file after:

    <!--bof Product Price block -->
    contents within
    <!--eof Product Price block -->

    try adding a
    <br class="clearBoth" />

  5. #5
    Join Date
    Feb 2010
    Posts
    2,159
    Plugin Contributions
    17

    Default Re: Setting up product page - horizontal vs vertical images

    then in your stylesheet

    find:
    #productAdditionalImages {
    width:100%;
    margin-top:-170px;
    }

    change to:
    #productAdditionalImages {
    width:100%;
    }

  6. #6
    Join Date
    Jun 2011
    Posts
    65
    Plugin Contributions
    0

    Default Re: Setting up product page - horizontal vs vertical images

    That did it, thank you, rbabour!

    adding: <br class="clearBoth" />

    after:
    <!--bof Product Price block -->
    contents within
    <!--eof Product Price block -->

    in product_info_display.php got the vertical images to move down below the main image!

    I added margin-left: -50px in the stylesheet to get the images closer to the left side than the right.

    #productAdditionalImages {
    width:100%;
    margin-top:-50px;
    }


    Thank you again for taking the time to help me....you have made my day, seriously!!!

  7. #7
    Join Date
    Feb 2010
    Posts
    2,159
    Plugin Contributions
    17

    Default Re: Setting up product page - horizontal vs vertical images

    Glad I could help

 

 

Similar Threads

  1. Additional Images Vertical but i want them horizontal
    By Checooper in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 17 Aug 2010, 03:56 PM
  2. how to display product box in vertical position instead of horizontal?
    By panuma in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 27 Jul 2010, 04:22 PM
  3. Horizontal and vertical borders between products in product listing
    By pckomplet in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 23 Jul 2009, 10:28 PM
  4. how to change attribute images from vertical to horizontal?
    By lina0962 in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 14 May 2007, 11:12 PM
  5. vertical to horizontal
    By east coast in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 15 May 2006, 12:33 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