plone / diazotheme.plonecom

Diazo theme for plone.com.
https://plone.com
1 stars 2 forks source link

Reduce / make dynamic the CSS style for sponsor images #5

Open ctxlken opened 10 years ago

ctxlken commented 10 years ago

Added another premium sponsor image and it is now wrapped due to max-width being fixed at 200px. It will look fine at 180px, but this brings up an issue: Do we want to modify max-width in CSS every time the number of sponsor images changes? Is it possible to make it proportional and dynamic?

This is the style in question that at a minimum needs its max-width reduced to 180px. .diazo-index #portlets-below .BelowPortletManager4 .portlet-static-sponsorships img

Also, do we care to have any sort order to the way the sponsors are listed? Used to be by alpha, but I don't think it matters, so long as people don't think anyone is getting favored treatment. Ideally, we'd randomize the order (perhaps via a collection.)