Whitespace after article title

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
johanvanderwijk
Posts: 24
Joined: Sun 30. May 2004, 17:43
Contact:

Whitespace after article title

Post by johanvanderwijk »

I have a problem with the whitespace that follows the article title on this page: http://fmd.vanderwijk.com/index.php?english

After the article title there is a large whitespace that I would like to remove. Unfortunately I do not know where to change the setting for this whitespace.
When I make an article summary the space disappears, but I then the whitespace is above the next content head.

Ideas anyone?
Pappnase

Post by Pappnase »

hello

i was on your site but wich white space you mean?!

i looked on your site with firefox and ie!
johanvanderwijk
Posts: 24
Joined: Sun 30. May 2004, 17:43
Contact:

Post by johanvanderwijk »

I am talking about the space between the title 'Welcome' and the beginning of the text:

Image
rescamilla
Posts: 69
Joined: Sun 25. Jul 2004, 01:53

Post by rescamilla »

Here is a post that explains how to fix this:
http://www.phpwcms.de/forum/viewtopic.php?t=2855

I never got it to work for me, let me know if you do.
-Ray
johanvanderwijk
Posts: 24
Joined: Sun 30. May 2004, 17:43
Contact:

Post by johanvanderwijk »

Thanks for the tip! It has solved the 'problem' on the welcome-page but (very strange) on the profile page it didn't :?

I have tried to find any differences in the setup of the page, but I have not yet found out what the difference between these pages is. I am sure that I will find out though sooner or later :D
Plauderer
Posts: 26
Joined: Tue 3. Aug 2004, 13:26

Post by Plauderer »

In the file conf.template_default.inc.php there are values for formatting those things. Here you find a spacer aftre any header:

Code: Select all

$template_default["article"]["head_after"] = '<img src="img/leer.gif" width="1" height="8" alt="">'
Delete the value (between the ' ') and that should fix your problem.
johanvanderwijk
Posts: 24
Joined: Sun 30. May 2004, 17:43
Contact:

Post by johanvanderwijk »

Okay, I found out why the trick worked on the 'Welcome' page and not on the 'Profile' page.

This was because the 'Welcome' page was a 'Text w/image' content part and the 'Profile' page was a 'Wysiwyg html' content part. I changed this to 'Text w/image' and now the white space is gone.

Changing conf.template_default.inc.php didn't help by the way, it was the CSS code that solved the issue. :P
rescamilla
Posts: 69
Joined: Sun 25. Jul 2004, 01:53

Post by rescamilla »

Still having trouble getting this to work for me.
Did you overwrite the original .articleText entry in the css or did you add the new stuff to the end?
-Ray
johanvanderwijk
Posts: 24
Joined: Sun 30. May 2004, 17:43
Contact:

Post by johanvanderwijk »

I made my own stylesheet, and therefore I did not have an entry for .articleText yet.
So all I did was to add the following to my stylesheet:

Code: Select all

.articleText p
{
   margin: 0px 0px 10px;
} 
(Make sure that the content part on the page is Text /image and that the summary is empty, this worked with me)
Post Reply