Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #1
danpros CreditAttribution: danpros commentedHi,
Try to change this in style.css or local.css if you used it
and
Dan
Comment #2
danpros CreditAttribution: danpros commentedLet me know if its not working.
Comment #3
dbarry722 CreditAttribution: dbarry722 commentedHi 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
Comment #4
dbarry722 CreditAttribution: dbarry722 commentedHi 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