I can't seem to figure out how to add just a few pixels of spacing above the images in my nodes. Please take a look at this example: http://citywalkingguide.com/staugustine/castillodesanmarcos. Can anyone give me a quick reply on where this is done and how to do it?

Thanks a million!

Comments

pbarnett’s picture

Add this code to themes/wilderness/style.css :-

.image-attach-body img {
  padding-top: 5px;
}
ccbelland’s picture

THANK YOU for the help!!

ccbelland’s picture

one more quick question... if I want to align or float the images to the left... what would the css be?

I thought it would be:

.image-attach-body img {
float:left;
}

but it doesn't work.

pbarnett’s picture

Almost :-)

.node .image-attach-body {
  float: left;
  margin: 0 1em 0 0;
}
ccbelland’s picture

ah... perfect! You're the best! Thank you

smithmilner’s picture

That is the correct CSS but Drupal/your browser will often cache the theme and your changes will not be visible until you clear cache.