Forums / Templates, Stylesheets, Page Layout / Additional images underneath main product image

Additional images underneath main product image

Started by longstockings on 14 Apr 2009, 7:11 PM · Views: 5,795

Results 1 to 12 of 12
14 Apr 2009, 7:11 PM
#1
longstockings avatar

longstockings

Zen Follower

Join Date:
Jul 2004
Posts:
198
Plugin Contributions:
0

Additional images underneath main product image

Hi

I'm trying to position an additional image underneath the main product image which I have aligned to the right but I can't get it over to the right quite far enough.
Any CSS gurus out there who can pinpoint what I am doing wrong

Example = http://www.dartdesigns.co.uk/index.php?main_page=product_info&cPath=1&products_id=1

Thanks

UK based Zen Cart Web Designer here https://www.handcoded.co.uk

14 Apr 2009, 7:18 PM
#2
limelites avatar

limelites

Totally Zenned

Join Date:
Jan 2009
Posts:
2,085
Plugin Contributions:
0

Re: Additional images underneath main product image

If your images will be in the same page position in all your ads? Then you can use a position:relative; left:100px; line to manouver your additional images.

Try raplacing this:

#productAdditionalImages {
float: right;
padding-top: 150px;
}

with this:

#productAdditionalImages {
float: right;
position:relative; left: 180px;
padding-top: 150px;
}

....and changing the 180px; until it's in the right place.

14 Apr 2009, 9:30 PM
#3
longstockings avatar

longstockings

Zen Follower

Join Date:
Jul 2004
Posts:
198
Plugin Contributions:
0

Re: Additional images underneath main product image

Perfect

Thanks ever so much

UK based Zen Cart Web Designer here https://www.handcoded.co.uk

14 Apr 2009, 10:11 PM
#4
longstockings avatar

longstockings

Zen Follower

Join Date:
Jul 2004
Posts:
198
Plugin Contributions:
0

Re: Additional images underneath main product image

Found a small problem.

Internet Explorer displays the page just fine but with Firefox I am unable to enlarge the main product image. How can I cure this?

Thanks

UK based Zen Cart Web Designer here https://www.handcoded.co.uk

14 Apr 2009, 10:20 PM
#5
longstockings avatar

longstockings

Zen Follower

Join Date:
Jul 2004
Posts:
198
Plugin Contributions:
0

Re: Additional images underneath main product image

Solved it.

Had to change the top padding to a top margin and bingo

UK based Zen Cart Web Designer here https://www.handcoded.co.uk

18 May 2009, 10:07 PM
#6
digger99 avatar

digger99

New Zenner

Join Date:
Feb 2009
Posts:
4
Plugin Contributions:
0

Re: Additional images underneath main product image

This would perhaps work for me if I knew what file contains #productAdditionalImages {

19 May 2009, 7:31 AM
#7
limelites avatar

limelites

Totally Zenned

Join Date:
Jan 2009
Posts:
2,085
Plugin Contributions:
0

Re: Additional images underneath main product image

digger99:

This would perhaps work for me if I knew what file contains #productAdditionalImages {

That will be your stylesheet.css file :-)

24 May 2011, 6:00 PM
#8
cchan avatar

cchan

Zen Follower

Join Date:
Oct 2010
Posts:
121
Plugin Contributions:
0

Re: Additional images underneath main product image

Hii, I've used this thread to help me align my additional images below my main image. However, is there a way I could get the images to align straight across? When there are more than 3 images, they tend to go on different rows...Here's a link to see an example http://oembargain.com/index.php?main_page=product_info&cPath=115_126&products_id=230

Thanks in advance!

  • oembargain.com
24 May 2011, 6:27 PM
#9
limelites avatar

limelites

Totally Zenned

Join Date:
Jan 2009
Posts:
2,085
Plugin Contributions:
0

Re: Additional images underneath main product image

#productAdditionalImages {
float: left;
left: 0;
padding-top: 0;
position: relative;
width: 100%;
}

Adding the width will allow them to spread across the page, but you'll have to adjust the image width in admin, so that they fit on one row. Either that or limit the number of extra images to prevent an additional row.

24 May 2011, 7:05 PM
#10
cchan avatar

cchan

Zen Follower

Join Date:
Oct 2010
Posts:
121
Plugin Contributions:
0

Re: Additional images underneath main product image

works great! Thanks a lot!

  • oembargain.com
2 Aug 2013, 3:53 PM
#11
little_red_crane avatar

little_red_crane

New Zenner

Join Date:
Mar 2009
Posts:
20
Plugin Contributions:
0

Re: Additional images underneath main product image

Hi I have the same problem.... I'm trying to align My Additional Images below The Main Image BUT my stylesheet.css Does Not Have #productAdditionalImages PLEEEEEEEEEEESE HEEEEEELP :frusty:

2 Aug 2013, 6:40 PM
#12
design75 avatar

design75

Totally Zenned

Join Date:
Dec 2009
Location:
Amersfoort, The Netherlands
Posts:
2,862
Plugin Contributions:
5

Re: Additional images underneath main product image

Little Red Crane:

Hi I have the same problem.... I'm trying to align My Additional Images below The Main Image BUT my stylesheet.css Does Not Have #productAdditionalImages PLEEEEEEEEEEESE HEEEEEELP :frusty:

Then adding it to your stylesheet may be your solution?