Here Is The Fix For The Promo Images Going Out Of Bounds On Homepage

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)

Quote · 25 Feb 2011

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

Quote · 24 Apr 2011

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!

Quote · 24 Apr 2011

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

Quote · 24 Apr 2011

Can confirm this fix works in 7.08.

Thanks!

Quote · 19 Jan 2012
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.