Posted by jgravelle on November 4, 2010 at 6:43pm
My feed item(s) view, per the preview function:
http://j.gravelle.us/Portals/0/OP_ViewPreview.png
...versus the actual result as produced in production:
http://j.gravelle.us/Portals/0/OP_ViewResult.png
It doesn't appear the CSS is obfuscating the layout. Clues?
Thanks,
-jjg
Comments
Definitely picking up CSS
Definitely picking up CSS artifacts from the OP theme. Override what you can in your sub theme and use !important if necessary.
@jjg, preview is run in the
@jjg,
preview is run in the Rubik theme (default admin theme in OpenPublish) so it may not be used for debugging look and feel. Preview in Views is just to debug content. You should test the look and feel on the actual page where that view is rendered.
@ksweet,
granted, sometimes you can not avoid !important, but in general I like to use more specific css definition (e.g.: ".enclosingdiv .mydiv" instead of ".div") and override priority with that rather than use !important, because abuse of !important usage can create a mess of its own.
.............................................
http://twitter.com/inadarei