Hi

I have a DD block which just cycles through some images, no pagers.

How do I center align the images within the page?

Thanks

Glenn

Comments

ppblaauw’s picture

Status: Active » Postponed (maintainer needs more info)

You can align the slideshow with CSS.
Do you have a link to the Internet site, so I can help you better.

glennnz’s picture

You can align the slideshow with CSS.

Yes, I know, I can't figure out how to though.

See http://cms.wrap.org.nz/.

The images on the front page are a dynamic display block.

Cheers

Glenn

ppblaauw’s picture

You could add a margin-left to ddblock-contents

.ddblock-contents {
margin-left:145px;
}

Hope this helps you further, please let me know.

glennnz’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

Thanks.

Went one better though and used:

.ddblock-contents {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

Works for flexible layouts then too.

Cheers

Glenn

ppblaauw’s picture

Yes, even better.
Thanks for the reply.