Catholics are my last resort...

14 replies [Last post]
JoaoMachado's picture
Offline
Joined: 07/29/2009
Graces: 89

I have searched all over for help on this CSS issue ( I assume is a css issue), it is not directly related to Catholic media but I have nowhere else to go.

I have a site: yardandattic.com, and the nodes have an imagefield (set to a max of 4). When viewing the node, the pictures are aligned vertically or stacked, I would like them to be horizontal or in-line. I have played with the style.css for the bluemarine Drupal theme but nothing affects the pictures. I am using lightbox on the images...any ideas? You can view a test page below...

http://yardandattic.com/node/16

Joel Stein's picture
Offline
Joined: 08/27/2009
Graces: 20
No images

Joao, welcome! I visited the link, but I saw no images. Did you get your issue resolved?

JoaoMachado's picture
Offline
Joined: 07/29/2009
Graces: 89
oops

Sorry Joel, I had recreated the field and forgot to give permissions to anonymous uses....should be visible now.

oscatholic's picture
Offline
Joined: 06/25/2009
Graces: 577
You'll need to add the

You'll need to add the following rule:


.field-field-pictures-event .field-item {
width: 100px;
margin-right: 10px;
float: left;
}

Of course, adding the float might make other things funky. You might have to add an 'overflow: auto;' to the fieldset that contains those images.

Using Firebug or Chrome/Safari's Inspector can help you find the classes for the images, fieldsets, etc. that you need to manipulate using CSS.

Advancing the faith.

JoaoMachado's picture
Offline
Joined: 07/29/2009
Graces: 89
not sure where to find the class..

I know very little about the structure of CSS...I used Chrome Browser and see the class, where do I find it located? is in the imagefield module > style.css?

Joel Stein's picture
Offline
Joined: 08/27/2009
Graces: 20
CSS

No, you shouldn't alter the CSS files of the modules. Instead, add the CSS to your theme's style.css.

oscatholic's picture
Offline
Joined: 06/25/2009
Graces: 577
You could add it to the end

You could add it to the end of the style.css file in your theme, or you could even add your own 'custom.css' file either via a custom module, or in your theme's info file.

More help: http://tips.webdesign10.com/how-to-make-a-drupal-theme

Advancing the faith.

catholicservant's picture
Offline
Joined: 06/29/2009
Graces: 166
Neat idea for a site

Copywrite should be Copyright - unless you intended it that way. ;)

JoaoMachado's picture
Offline
Joined: 07/29/2009
Graces: 89
well....

That is embarrassing ;-)

JoaoMachado's picture
Offline
Joined: 07/29/2009
Graces: 89
Success!!!
oscatholic's picture
Offline
Joined: 06/25/2009
Graces: 577
Nice! I'm glad you could get

Nice! I'm glad you could get it working.

Advancing the faith.

JoaoMachado's picture
Offline
Joined: 07/29/2009
Graces: 89
ohhhh

I did have to run update.php for it to take affect...

JoaoMachado's picture
Offline
Joined: 07/29/2009
Graces: 89
Yard and Attic site

well, I have it up and running! a few things left to tidy up... http://yardandattic.com.

Just to show the power of Drupal...I am in the middle of a relocation from Alabama to Southern CA. Been stuck in a hotel room for almost three months and will finally close on our new home tomorrow. On June 26th, I had a "light bulb" moment while looking at the station map on Catholictuner.com. "That could be a great way to post and list garage/yard sales nationwide".

Now, my days are usually booked with one wife and six children, but with them at my in-laws for the last two months and my new position winding down I said to my self, I I can get it done before we close on our house I am going to try.

And now I have for the most part done that...in 20days, from inception to fully functional website. This from a 40 year old with a degree in Automotive and Diesel Technology!

Absolutely amazing what Drupal and Joomla and others allow the average person to do!

Meantime, I can't give CatholicTuner away...so I still need help with that site. It needs direction and focus. Come Monday, all of my efforts will be on getting my home settled and I won't have much time for about three weeks.

Thanks for all your help guys.

In Christ,
Joao

oscatholic's picture
Offline
Joined: 06/25/2009
Graces: 577
Looking good! Simple

Looking good! Simple interface = major win. You might want to highlight the 'How to post a listing' and 'How to use EventMap' section a little more, maybe by making it have a yellow background, or a dark border...

Advancing the faith.

JoaoMachado's picture
Offline
Joined: 07/29/2009
Graces: 89
Thanks Jeff....

I am not sure how to do that so I will look into the link you posted above...

Post new comment

The content of this field is kept private and will not be shown publicly.