Fine tuning views

jlane's picture

Okay so I have the views setup and everything looks perfect except the last row of images. It stacks them vertically. I would like it to stake the images horizontally within that row. I have it setup on the Fields Row Style and have inline checked for the image field. What seperator should be used to display these items one after another in this row? Any ideas would be great.

Examples of what Im talking about...

Currently:

Title:

Teaser:

Images:

Image 1
Image 2
Image 3

What I would like:

Title:

Teaser:

Images:

Image 1, Image 2, Image 3

Thanks,

I look forward to contributing to this community.

Login to post comments

don't know if it's "the right" way..

lena_d - Wed, 2009-05-20 11:53

what I did was
• I use only ONE image field that is set to accept multiple images

• then I added one line in the CSS of my theme:
.field-item {display: inline;}

You can see it here beneath the Date field: http://www.cat-x.at/projects/genusshotel-riegersburg.html

Hope that helps
Lena


Did I mention I was a newb

jlane's picture
jlane - Wed, 2009-05-20 13:28

I forgot to mention I was a newb... but that worked great. I am just starting to get my feet wet with Drupal. I guess I need to learn a little more about CSS at this point. Thanks for your help! Do you have any recommendations on a good Drupal centric CSS education material?


I'm glad it worked out :)

lena_d - Wed, 2009-05-20 14:06

Sadly not,
I am still more or less "blindly fumbling" through Drupal CSS myself :))

But I can recommend some good CSS learning materials, at least for visual types: I don't learn very good from books and - mostly - I don't like to learn from websites :))
You will find some good Videos at lynda.com (the CSS and also the "Dreamweaver and CSS" ones are good even if you don't use Dreamweaver)
There are some CSS related Videos ("Starting with ZEN" f.e.) at the Drupal Videos podcast (actually a Video Cast, you will find it inside iTunes, I don't think it has a webpage, since it is a collection of different Drupal video cast sources)

Lena


Is Flex an option?

portablecow - Wed, 2009-06-17 04:36

I'm a newb too, so take this with a grain of salt, but I've got a project right now that has Flex integrated with Drupal. It is so much easier to do layouts with Flex. You still use css but it is more styling centric. I use Flashdevelop and don't have any of the expensive tools for my flex development. AS3 is object-oriented and I found the language easy to learn since it shares many similarities with C++, C#, and Java. My website is mainly html but my node browser is flex. Openlaszlo is also a good option because you can compile to both DHTML or .swf if you have iphone aspirations. There are plenty of tutorials available for flex integration and I would be happy to show you my code (with the knowledge that it is early beta code so not very clean or organized)


I think you can do it by

Majdi's picture
Majdi - Wed, 2009-07-22 09:42

I think you can do it by playing with css and create custom views template.
This tutorial very useful
http://www.group42.ca/theming_views_2_the_basics

or
You can do 2 views in same page , one for all the information , and the other one for images blocks

Good luck