spacing between paragraphs
raffij - October 26, 2007 - 02:36
| Project: | Marinelli |
| Version: | 5.x-1.0 |
| Component: | Code |
| Category: | support request |
| Priority: | normal |
| Assigned: | Lioz |
| Status: | closed |
Description
i'm using it for our town soccer page. only problem I am having is that it doesn't recognize new line tags and slams them all together.
i'm still trying to learn css and figure out how to tweak pagination and stuff.

#1
Hi Raffij, can you explain me extactly the problem? Do you see it with all browsers?
#2
I also am seeing this , no line breaks in Safari or FireFox . See Attached
#3
I haven't tried IE yet. but yes with safari and firefox
#4
fixed the issue.
within the styles.css module in the #primary .singlepage p section, I added margin-bottom:10px to space out between paragraphs.
#5
Thanks that did the trick.
bk
#6
This problem persists in IE 6 and IE 7. I'm going to fiddle a bit and see what I get.
wim
#7
Doh! My bad. I flushed drupal's cache a dozen times...no change. Then I flushed the browser's and it worked. Sorry about that. Everything works.
wim
#8
The problem is because Marinelli theme set all style margin and padding to zero.
* {padding: 0;margin: 0;}But if you delete the code above, you'll messed everything.
Btw, today I've launched a site based on Marinelli theme, but it has been heavily modified by me.
You can see the result at http://www.smu112.org
#9
Hi tom!
Great site, I really appreciate your link to the project in the footer ! :)
#10
Hi Tom-182,
I liked the fact that you separated the left and right sidebars. Would you mind sharing the code you used to do so? I tried moving the left side bar above the content in page.tpl but the layout broke.
I believe this section in page.tpl needs to be modified
<?php print $content ?>
</div>
<hr />
<!-- // itementry -->
</div>
<!-- //primary -->
<hr />
<!-- sidebar_left -->
<?php if ($sidebar_left) { ?>
<div class="lsidebar">
<?php print $sidebar_left ?>
</div>
<?php } ?>
<!-- sidebar_right -->
<?php if ($sidebar_right) { ?>
<div class="rsidebar">
<?php print $sidebar_right ?>
</div>
<?php } ?>
<div class="clear"></div>
</div>
<br class="clear" />
</div>
as well as this part in the template.php
function susdmar_width($sidebar_left, $sidebar_right) {
$width = 540;
if (!$sidebar_left ) {
$width = $width +190;
}
if (!$sidebar_right) {
$width = $width +190;
}
return $width;
}
Thanks much!
#11
ok fixed
#12
Automatically closed -- issue fixed for two weeks with no activity.