I have just updated to the 6.x-1.1 version from whichever was the working version 6 or so months ago (which worked great!). After this update, a space (about half the height of the screen) appeared after the Author and before the View link, regardless of either field being empty. This appears on all quotes, it drastically shifts the content below the block and disrupts the continuity of the page. I checked the source to find the following:

<div class="quotes-author">Albert Einstein<br></div>
<div class="quotes-bio"></div>
<div class="clear-block"></div>
<div class="quote_view_link"><a href="/quotes/19">View</a></div>

How can I remove this instance of "clear-block" (which is not mentioned anywhere)?

My block-quotes-1.tpl.php file simply contains the following:

<?php print $block->content ?>

I tried creating a block with the body of the quote and author rather than $block-content (hoping that would fix the problem), but so far couldn't figure it out... How could I fix this?

Thank You.
SomeGirl

Comments

nancydru’s picture

Assigned: Unassigned » nancydru
Status: Active » Fixed

"$block->content" is the way the theme layer works. "Clear-block" is used all over the place in Drupal, so that shouldn't be a problem. There definitely should not be a <br> - that's not even HTML standard (<br />). Perhaps that's in your input?

A change I just committed removes the "clear-block".

I did make another little change to not even produce the div's if a field is empty.

nancydru’s picture

Status: Fixed » Closed (fixed)