I have BG up and running wonderfully on my site, but I keep running into formatting issues when including text in the page where a BG gallery resides. Regardless of which filter I use (Full HTML/Filtered HTML), I can't get the formatting to break properly. The text after the gallery will *always* try to wrap on the far right right and creates a very unpleasant look. I've tried inserting all manner of html formating breaks, etc... with no success. My work-around in the beginning was if only a single gallery was needed, to insert it at the bottom of the post however, now that I have pages that have loads of text and are broken up into different sections, I need BG galleries that correspond to each section inserted without the blasted text wrapping so as to create a cleaner, formatted look. Are there any suggestions to give the space above and below an inserted BG gallery a bit of padding so as to clean up the layout?

I've included a screenshot to demonstrate what I'm talking about....

CommentFileSizeAuthor
Picture 2.png317.08 KBFushichou
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

drpchris’s picture

When I switched to a different theme I had this problem. As a temporary fix, I've stuck a div in between the content and links sections in the node.tpl.php file for the theme I'm using:

	  <div class="content">
	    <?php print $content; ?>
	  </div>
<!-- push comments below tables -->
<div class="clear-block"></div>
	  <?php if ($links): ?>
	    <div class="links">
	      <?php print $links; ?>

The div class is either part of the core or the theme I'm using. I think it just does a 'clear: both' in the CSS.

Fushichou’s picture

So, I stuck the div in the node table as you suggested, to no avail. I've also tried temp. fixes like playing with the gallery numbers (number of images displayed, width, etc...) to try and get a cleaner look, but it always comes down to the same problem. The gallery doesn't clear from the bottom no matter how many breaks I put in there, so my text always gets attracted to it like an ugly magnet :(

thebenedict’s picture

I'm also having this problem after upgrading to 5.x-4.2, but druchris1's workaround in post 1 is a good temporary fix.

homelan’s picture

Hi,

i'm also having this issue on Drupal 6.8 with BG 6.x-1.2. However, the text looks good in IE6. In other browsers, the text is wrapped around the image. Workaround in post 1 doesn't help.

Can the author of the module give some advise?

MartinNCE’s picture

I am using: <br clear="all" /> after the bg section. For me it works fine.