Support » Plugin: CC Child Pages » fixed size for preview tiles

  • Is there a functionality to define a fixed size for all preview tiles (containing picture, heading and some n preview words) so they all have the same height?
    When the word length of the first n words or the heading in child pages differ a lot, the tiles tend to be very variant in size. Also is there a way to set a fixed size for thumbnails or auto crop them if they have different ratios?

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author caterhamcomputing

    (@caterhamcomputing)

    This can certainly be done, but it will require some custom CSS. I would suggest looking at using flexbox CSS styling. (This wasn’t universally supported at the time I wrote the plugin, but now that it is pretty much universally available I am planning to use it for version 2 – which won’t be ready for a while)

    In the meantime, try adding the following custom CSS in the plugin’s backend (or via your theme if it provides that option under the Customize options) as a starting point:

    .ccchildpages {
      display: flex;
      flex-wrap: wrap;
    }
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.