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

Lioz - October 26, 2007 - 07:12
Assigned to:Anonymous» Lioz

Hi Raffij, can you explain me extactly the problem? Do you see it with all browsers?

#2

LansingIT - October 26, 2007 - 13:43

I also am seeing this , no line breaks in Safari or FireFox . See Attached

AttachmentSize
break.gif 5.01 KB

#3

raffij - October 27, 2007 - 01:17

I haven't tried IE yet. but yes with safari and firefox

#4

raffij - October 27, 2007 - 03:33
Title:very cool theme» spacing between paragraphs

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

LansingIT - October 27, 2007 - 16:45

Thanks that did the trick.
bk

#6

battochir - October 29, 2007 - 10:11

This problem persists in IE 6 and IE 7. I'm going to fiddle a bit and see what I get.

wim

#7

battochir - October 29, 2007 - 10:53

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

Tom-182 - October 30, 2007 - 16:05

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

Lioz - October 31, 2007 - 10:17

Hi tom!
Great site, I really appreciate your link to the project in the footer ! :)

#10

lsabug - November 1, 2007 - 16:31

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

Lioz - November 13, 2007 - 10:45
Status:active» fixed

ok fixed

#12

Anonymous - November 27, 2007 - 10:51
Status:fixed» closed

Automatically closed -- issue fixed for two weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.