Here Is The Fix For The Promo Images Going Out Of Bounds On Homepage
QuoteFeb 24, 2011 23:060 likesLike
 

In the file: yoursite.com/inc/js/jquery.dolPromo.js

 (towards the top of the file - line 16 in my editor)

 

Find

$img.css({
position: 'absolute',
left: Math.round( ($img.parent().width()  / 2) - ($img.width()  / 2)),
top:  Math.round( ($img.parent().height() / 2) - ($img.height() / 2))
});

 

Change this to

$img.css({
position: 'absolute',
left: 0,
top:  0,
width: '994',
height: '262'
});

 

You may need to adjust the height/width of the image according to your sites version and page settings.

Make sure to clear your site cache and browser cache. If it doesn't seem to have taken, manually clear your site cache and repeat clearing your browser cache.

This does work in Dolphin 7.05 - I have applied it myself @ http://www.smileable.com

 

(P.S. I didn't create this fix. It was a collaborative effort on the part of houstonlively, MichelSwiss, and DeeEmm. I'm just sharing it here so that people can find it easily since the issue keeps coming up)

QuoteApr 23, 2011 21:100 likesLike
 

Nice suggestion GUYPC. I went to your site http://www.smileable.com and the first thing I saw was your images off centre...

 I have a solution to this problem. Have a look at my site http://eastwestlove.com/, and if you want to know how I did it, send us your contact details using the CONTACT US at the bottom of our home page.

Cheers...Smile

QuoteApr 23, 2011 21:360 likesLike
 

Hi eastwest!

It actually was working until I upgraded to the latest Dolphin and accidentally overwrote the fixes. I haven't gotten around to trying it with 7.0.6 yet since it's just a test site.

Your slider works well for that area too. Nice work!

QuoteApr 23, 2011 23:300 likesLike
 

ok, let us know when you've fixed it. I'd like to see one that actually works.Smile

QuoteJan 19, 2012 08:300 likesLike
 

Can confirm this fix works in 7.08.

Thanks!