Closed (fixed)
Project:
Deco
Version:
7.x-1.x-dev
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
11 Jul 2011 at 18:15 UTC
Updated:
31 Dec 2011 at 23:40 UTC
In D7, I've created a custom content type to which one can attach multiple images and am trying to get Deco to display it in a grid-like form instead of stacking them vertically. Could someone paste the CSS to alter field-items such that it displays in a grid. I've attempted to change it but the only thing which achieves any effect is display: inline which doesn't render in Firefox.
Comments
Comment #1
Deepika.chavan commentedHi,
I created custom css file i.e. 'local.css' and added following line of code in 'deco.info' file
stylesheets[all][] = local.cssI added one cck image field, named 'field_small_image'. and then added following css code in local.css file. (Please replace 'field_name_image' with 'field-YOUR-FIELD-NAME').
Please Clear Cached data
HTH !!
Rgrds,
Deepika Chavan.
Comment #2
c31ck commentedAs a solution is provided here and this is not really an issue with Deco, I'm marking this as fixed.
Comment #3
nevets commentedThe Display Suite module would be another possible approach.