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:


 




Every second post indented

UserPost

9:05 am
30 Jun 2008


ccc—

Guest

1

I have some strange behaviour in my SPF at http://www.dieterkoenig.at/forum

Every second post in a thread is indented and shows grey lines above and under the post. You can see it for example in this thread: http://www.dieterkoenig.at/forum/allgemein/ersatzforum/page-1

Did I anything wrong? How can I switch that off??

2:04 pm
30 Jun 2008


Mr Papa

Moderator

Arizona, USA

posts 1602

2

no, you just got lucky…  your wp theme styled an alternte css tag just like we did and is causing this… line 512 of your wp theme style.css has a css directive where they add padding of 10px to alt tags…  this is causing the issue…  you probably do the extra padding in comments or something…

to fix, you have two options…  remove that line from your theme, but that may have other effects on your theme…

or modify the spf skin you are using (in this case, default)… find the #sforum .sfposttable td.alt styling at line 464 and adding a new tag… it should be padding: 0;  this will remove the extra padding from your theme…

be careful, as you should probably copy the spf skin to your own skin and make the changes…  otherwise, whenever you upgrade spf, your changes to the default skin will be overwritten…

6:22 pm
30 Jun 2008


ccc—

Guest

3

Thanks again for your help.

I changed to the “structure” theme now. I copied the content of the “structure” folder in a new style folder “dieter” and renamed structure.css to dieter.css. But when I use the new “dieter” theme, the forum style is completely messed up. Have I forgotten anything?

7:31 pm
30 Jun 2008


Mr Papa

Moderator

Arizona, USA

posts 1602

4

make sure when you rename your new theme that the folder its in and the filename are the same…  ie the directory should be dieter and the css file should be dieter.css

7:40 pm
30 Jun 2008


ccc—

Guest

5

Yes, I did that. Please take a look how the forum looks like now :-(

http://www.dieterkoenig.at/forum

7:42 pm
30 Jun 2008


ccc—

Guest

6

Hmm, for me that looks like that it doesn't find/use a style at all now …

7:58 pm
30 Jun 2008


Mr Papa

Moderator

Arizona, USA

posts 1602

7

I still dont see where you added the padding: 0px styling…  in your dieter.css file, you should change the directives at line 411 to look like

#sforum .sfposttable td.alt {
background: #ffffff;
padding: 0px;
}

You are going to get extra spacing between paragraphs though because you have entered <p></p> tags but have an additional <br /> bteween them.  you can fix that by changing the top and bottom padding in the directives at line 572 (currently 5px and 10px).

8:08 pm
30 Jun 2008


ccc—

Guest

8

The style sheet works now, after I have entered the padding line - funny. Works like a charm now :-)

The thing with the extra spacing is maybe due to the fact that I was using TinyMCE before and the users entered those extra lines?

8:17 pm
30 Jun 2008


Mr Papa

Moderator

Arizona, USA

posts 1602

9

good deal…  not sure the extra <br /> are from tinymce though since it normally wraps them in <p></p> tags with a blank space and not a <br />…  oh welll, watch how it goes and you can adjust the spacing between paragraphs to get what you want as I specified above…


8:34 pm
30 Jun 2008


ccc—

Guest

10

Will do so. Thanks again!



Reply to Topic: Every second post indented

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: 7 + 8        (Required)

Topic Reply:


 
 

About the Stuff at Yellow Swordfish forum

Currently Online:

15 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)