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

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 1277

 
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 1277

 
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 1277

 
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 1277

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

Topic Reply:


 
 

About the Stuff at Yellow Swordfish forum

Currently Online:

11 Guests

Maximum Online: 71

Forums:

Groups: 3

Forums: 15

Topics: 1792

Posts: 12093

Members:

There are 831 members

There are 756 guests


Yellow Swordfish has made 4669 posts

Top Posters:

Mr Papa - 1277

-Radio- - 482

ovizii - 94

jfv - 80

angelic007 - 66

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


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