Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi. I was wondering what CSS to change so that I could allow some space between images and text in the node body. I've noticed several other themes have no problem rendering properly. Great theme.
Comments
Comment #1
lazespud CreditAttribution: lazespud commentedThis isn't a coding solution, but I've found a workaround. I originally used the openwysiwyg module for my body text and had the same problem. No matter what I did to the "vspace" setting in the html, it just wouldn't work right.
Finally I deleted the module and installed th ckeditor module instead. It's a weird procedure to get it up and running, but it's much cleaner looking, and more importantly, the spacing issue works fine. (you have to install ANOTHER module that works with CKeditor to be able to upload images into it, and the modules are all a bit wonky, but they do work).
Comment #2
yashadev CreditAttribution: yashadev commentedFor inline images, you have to specify the hspace property in order to move the image over from the text:
<IMG src = "image.gif" alt = "Image" width = 50 height = 50 hspace = 30>
I'm putting this into feature requests for the 7.x-2.x branch so it'll automatically align itself.