Results 1 to 7 of 7
  1. #1
    Join Date
    Mar 2009
    Posts
    435
    Plugin Contributions
    0

    Default attribute images on same row can't work it out!

    Hi, you can see here at my site;

    http://www.thegreatgiftshop.co.uk/ze...roducts_id=565

    the attribute images are on top of eachother, I've set their option in the admin to 5 images per row yet it still wont put them next to eachother. How can I achieve this?

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: attribute images on same row can't work it out!

    Start by cleaning up the stylesheet.css as you have several conflicting directives for .attribImg
    Code:
    .attribImg {float: right; clear: right; width: 320px;}
    
    .attribImg{
    float:right;
    padding-right:120px;
    padding-left:120px;
    }
    
    #logo, .centerBoxContents, .specialsListBoxContents, .categoryListBoxContents, .centerBoxContentsAlsoPurch, .attribImg {
    	float: left;
    	}
    
    
    .centeredContent, TH, #cartEmptyText, #cartBoxGVButton, #cartBoxEmpty, #cartBoxVoucherBalance, #navCatTabsWrapper, #navEZPageNextPrev, #bannerOne, #bannerTwo, #bannerThree, #bannerFour, #bannerFive, #bannerSix, #siteinfoLegal, #siteinfoCredits, #siteinfoStatus, #siteinfoIP, .center, .cartRemoveItemDisplay, .cartQuantityUpdate, .cartQuantity, .cartTotalsDisplay, #cartBoxGVBalance, .leftBoxHeading, .centerBoxHeading,.rightBoxHeading, .productListing-data, .accountQuantityDisplay, .ratingRow, LABEL#textAreaReviews, #productMainImage, #reviewsInfoDefaultProductImage, #productReviewsDefaultProductImage, #reviewWriteMainImage, .centerBoxContents, .specialsListBoxContents, .categoryListBoxContents, .additionalImages, .centerBoxContentsSpecials, .centerBoxContentsAlsoPurch, .centerBoxContentsFeatured, .centerBoxContentsNew, .gvBal, .attribImg {
    	text-align: center;
    	}
    
    .attribImg {
    	width: 20%;
    	margin: 0.3em 0em;
    }
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Mar 2009
    Posts
    435
    Plugin Contributions
    0

    Default Re: attribute images on same row can't work it out!

    thanks for getting back to me, where you have highlighted in red are those all the parts i should remove? I'm not too sure what to remove and what to keep if you could ellaborate I would really appreciate it.

    Thank you

  4. #4
    Join Date
    Mar 2009
    Posts
    435
    Plugin Contributions
    0

    Default Re: attribute images on same row can't work it out!

    ok, i removed;
    .attribImg {float: right; clear: right; width: 320px;}



    .attribImg{
    float:right;
    padding-right:120px;
    padding-left:120px;
    }

    and now the images appear to be on the same line but overlapping

    i couldnt find;

    .attribImg {
    width: 20%;
    margin: 0.3em 0em;
    }

    do i need to adjust something here?

  5. #5
    Join Date
    Mar 2009
    Posts
    435
    Plugin Contributions
    0

    Default Re: attribute images on same row can't work it out!

    ah, i think its because the margin is in the way, its squashing the images up, how can I move them down a bit so they come just under their attribute drop down? and also line up to the left so they are aligned with the option names of the drop downs.

  6. #6
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    6,196
    Plugin Contributions
    0

    Default Re: attribute images on same row can't work it out!

    Su,
    Edit the stylesheet.css

    Change this:
    .back {
    float:left;}

    To this:
    .back {
    }

  7. #7
    Join Date
    Mar 2009
    Posts
    435
    Plugin Contributions
    0

    Default Re: attribute images on same row can't work it out!

    ok done thank you! its put the images next to eachother but now the option names are above their dropdowns and I wanted them level with their atribute values text field or dropdown as they were before, how can i fix this now?

 

 

Similar Threads

  1. Attribute images in row. Add on Ap required?
    By Goldenis in forum Setting Up Categories, Products, Attributes
    Replies: 4
    Last Post: 1 Feb 2011, 06:07 PM
  2. Attribute Images all in 1 Row
    By perkiekat in forum Customization from the Admin
    Replies: 2
    Last Post: 27 Oct 2009, 11:34 AM
  3. Attribute Images in a Row
    By websightdesign in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 9 Oct 2006, 11:35 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