On these pages are my WordPress plugins, the odd article and my Support Forum.

For my random rantings on everything else please visit my blog at Yellow Swordfish

WP Plugins


Articles

If you find any of my plugins useful, please comsider a donation towards my running costs.

Thank you

In preparation for the release of Simple:Press Version 4.0, the Support Forum has moved to a new site dedicated to the plugin. This will also be the future home for Simple:Press Forum.


Version 3.1.4 will still be available for download here in the short term.


For the support forum - and to visit our new site and to get details of version 4.0, click on the logo to take you to simplepressforum.com

This forum is currently locked - access is read only
Current User: Guest
Please consider registering

 
Search Forums:


 




How to add more space between different lines in PMs ?

UserPost

4:28 pm
17 Aug 2008


Augustin

Member

posts 20

1

Hi everybody,

My question is not very difficult, and already indicated in the title : what should I do to add more space between different lines in PMs ?

(I find the formatting too “compressed” for the moment).

I'm using the “Detroit” skin.


Thanks in advance,

Augustin

5:27 pm
17 Aug 2008


Mr Papa

Moderator

Arizona, USA

posts 1602

2

please provide a link to your site or an image with the areas you are referring to highlighted because I am not sure I understand exactly where you are referring to…

oh wait… in PMs??  when viewing one sent to you do you mean?

5:37 pm
17 Aug 2008


Mr Papa

Moderator

Arizona, USA

posts 1602

3

If I understand, there are two ways to accomplish this…

in the skin css file, on line 320, you can change the top and bottom padding (the two zeroes)… this will likely affect other places in the forum display that use the <p> tag so be cautious…

or you can add a new directive in the skin file

.sfpmcontent p {padding-bottom:15px !important;}

of course change the 15 until you are happy…  In 3.2, I will fix up that 0 padding for <p> tags…

if you modify your skin, you may want to make a copy to keep it from getting overwrriten in upgrades…  just copy the current directory, rename it and then rename the .css file to match the new directory name exactly…

6:09 pm
17 Aug 2008


Augustin

Member

posts 20

4

Thanks a lot ! You've exactly got it and found a nice solution.

I had found this “sfpmcontent” line, but was unsure of what to add.

Thanks again,

Augustin

6:14 pm
17 Aug 2008


Mr Papa

Moderator

Arizona, USA

posts 1602

5

that  is a new line that needs to be added…  the one you found doesnt have the 'p' part…

so add the new line, but be careful if you cut and paste from above as you may get unwanted formatting…  just ype it in as shown…

6:15 pm
17 Aug 2008


Mr Papa

Moderator

Arizona, USA

posts 1602

6

my actual change for 3.2 will be

.sfpmcontent p {padding:5px 0 10px 0 !important;}

6:21 pm
17 Aug 2008


Augustin

Member

posts 20

7

Mr Papa said:

that  is a new line that needs to be added…  the one you found doesnt have the 'p' part…

so add the new line, but be careful if you cut and paste from above as you may get unwanted formatting…  just ype it in as shown…


I have of course added a new line (so I have now one line with “sfpmcontent”, one with “sfpmcontent p”).

Thanks for the precisions in your latest message. What are the 4 values for ?

6:41 pm
17 Aug 2008


Mr Papa

Moderator

Arizona, USA

posts 1602

8

first is top padding, second is right padding, third is bottom padding and fourth is left padding…

the !important says this style should be adhered to even if a later style (like our td p class) tries to override it…

6:54 pm
17 Aug 2008


Augustin

Member

posts 20

9

Thanks for the info ! (very useful to adjust the parameters)



Reply to Topic: How to add more space between different lines in PMs ?

NOTE: New Posts are subject to administrator approval before being displayed

Guest Name (Required):

Guest EMail (Required):

Guest URL (required)

Math Required!
What is the sum of: 1 + 2        (Required)

Topic Reply:


 
 

About the Stuff at Yellow Swordfish forum

Currently Online:

11 Guests

Maximum Online: 71

Forums:

Groups: 3

Forums: 16

Topics: 2068

Posts: 14091

Members:

There are 1003 members

There are 837 guests


Yellow Swordfish has made 5252 posts

Top Posters:

Mr Papa - 1602

-Radio- - 558

ovizii - 114

jfv - 82

angelic007 - 72

Administrator: Yellow Swordfish | Moderators: Yellow Swordfish, Mr Papa, -Radio-


© Simple:Press Forum - Version 3.1.4 (Build 357)