Adding blocks

Permalink
I have a site that on a certain page when I add a block it puts one and indents the other. It's like the first block is the parent and the second one acts like a child block below it.
The site ishttp://westwoodhillschristianchurch.org/index.php/messenger/...

Any help would be appreaciate. I already tried deleting the page and then recreating the page and that didn't work.

thanks...

Frank

View Replies:
digirunt replied on at Permalink Reply
digirunt
Hi
What sort of blocks are you adding. Is it a standard content block or a custom block.

If your referring to the tiered blocks at the bottom of the page in your link the problem is the images are floated left so the text wraps along side. This also causes the next block to wrap along side.

Fixing it depends on the kind of block you are adding. If its a standard content block you can add

<div style="clear:both;"> </div>


to the bottom of each content block via the html editor. A better way though would be a custom view template for the block.
ukinmac74 replied on at Permalink Reply
Hi Digirunt,

The block is a standard content block. So if I add the div clearboth it should get rid of the issue?

Thanks,

Frank
digirunt replied on at Permalink Reply
digirunt
When you left align an image in a c5 content block it floats left so everything that follows will wrap around it.

A div with clear:both cannot wrap around anything and thus creates an invisible divider.

There are lots of other ways to solve this but this is a quick fix.