Hi Folks..

Does anyone know how to centre slideshow images that are not 950px width. I have started a wesbite for my local Lifeboat station of which I am a member and am looking to use some photographs of my own but they are not the 955px width therefore would like to be able to have the photographs centred.

The website is http://www.newcastlelifeboat.info

At the moment there are only two picture but enough to show what is happening. Any help greatly appreciated.

Regards

Declan

Comments

danpros’s picture

Status: Active » Fixed

Hi,

Try to change this in style.css or local.css if you used it

.slideshow-inner {
height: 355px;
margin: 0 auto;
overflow: hidden;
position: relative;
width: 950px;
z-index: 1;
text-align:center;
}

and

.slideshow {
height: 355px;
overflow: hidden;
position: relative;
width: auto;
z-index: 2;
margin: 0 auto;
}

Dan

danpros’s picture

Let me know if its not working.

dbarry722’s picture

Hi Dan..

Sorry. The above code doesn't seem to work. I also tested with a totally new site just in case other changes I have made affected it.

Pictures still appear on the left hand side.

Declan

dbarry722’s picture

Hi Dan..

A strange thing happens if I log on to a computer that I haven't previously used to visit the site. When it initially begins loading the main page, the image is centred then as the page finishes loading, the image(s) revert to being left aligned.

Declan

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.