Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / 'Larger Image' link - positioning???

'Larger Image' link - positioning???

Locked

Views: 760

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
4 Apr 2010, 1:48 AM
#1
stiggy100 avatar

stiggy100

Zen Follower

Join Date:
Jan 2009
Posts:
298
Plugin Contributions:
0

'Larger Image' link - positioning???

I keep coming back to this fresh day after day. I cant figure it out.

I have modified my product info page to include the coding for a drop shadow on the image (coding and idea snipped from cherry zen)

I have everything working as I wish BUT cannot position the 'larger image' hyperlink correctly.

As far as I am aware it is included in the #productMainImage stylesheet definition and does not have its own class.

The problem I have is that any manipulation via margins and padding clearly affects everything including the drop shadow and image itself.

Is this feasible to make its own class/definition, I'm still not fully up to speed. Ive tried every text specific stylesheet function W3 schools have to offer as well as anything margin and padding orientated in the #productMainImage but think I'm barking up the wrong tree...?

The link to a page is:

w..realfairtrade.com/african-earth-12-inch-option-511.html

Apologies for uncompressed image (trial page), restructuring the site for all white backgrounds huge schoolboy error not doing that to start with...

Thanks

4 Apr 2010, 11:47 AM
#2
tony_sar avatar

tony_sar

Totally Zenned

Join Date:
Jul 2006
Location:
Montreal, Canada
Posts:
2,276
Plugin Contributions:
0

Re: 'Larger Image' link - positioning???

add this to end of your stylesheet.css

#productImageBox span {
position:relative;
top:-13px
}

hope this helps.

5 Apr 2010, 4:00 PM
#3
stiggy100 avatar

stiggy100

Zen Follower

Join Date:
Jan 2009
Posts:
298
Plugin Contributions:
0

Re: 'Larger Image' link - positioning???

Absolutely phenomenal...

Thank you very much.... Life saver!