Page 1 of 1

Whitespace after article title

Posted: Tue 3. Aug 2004, 01:02
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?

Posted: Tue 3. Aug 2004, 01:05
by Pappnase
hello

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

i looked on your site with firefox and ie!

Posted: Tue 3. Aug 2004, 01:11
by johanvanderwijk
I am talking about the space between the title 'Welcome' and the beginning of the text:

Image

Posted: Tue 3. Aug 2004, 16:30
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

Posted: Wed 4. Aug 2004, 11:19
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

Posted: Wed 4. Aug 2004, 11:23
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.

Posted: Wed 4. Aug 2004, 19:13
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

Posted: Tue 10. Aug 2004, 06:09
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

Posted: Tue 10. Aug 2004, 09:33
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)