Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Urgent layout problems Reply To: Urgent layout problems

#164395
Atelierbram
Participant

Hi there

Thinking about it, I would be just as happy with being able to center the tiled galleries instead. The gallery on the “British Art Show 7″ is pretty big, it’s a bit extreme!

You could center the wrapper div’s ( .tiled-gallery) left and right margin to auto, but the problem remains that you have to change the width value in the plugin. Not easy I think, but you found the setting for that earlier, so maybe try to it insert some javascript yourself, and see if that works.

Although, maybe that’s not true, you could try setting the max-width just for this page , maybe that works, and does the javascript’s width change on the fly, but I can’t test that from here, because the .js has already kicked in.

.page-id-470 .tiled-gallery {
  clear: both;
  margin: 0 auto 20px;
  overflow: hidden;
  max-width: 520px;
}