Whitespace after article title
-
johanvanderwijk
- Posts: 24
- Joined: Sun 30. May 2004, 17:43
- Contact:
Whitespace after article title
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?
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
-
johanvanderwijk
- Posts: 24
- Joined: Sun 30. May 2004, 17:43
- Contact:
-
rescamilla
- Posts: 69
- Joined: Sun 25. Jul 2004, 01:53
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
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:
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
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
In the file conf.template_default.inc.php there are values for formatting those things. Here you find a spacer aftre any header:
Delete the value (between the ' ') and that should fix your problem.
Code: Select all
$template_default["article"]["head_after"] = '<img src="img/leer.gif" width="1" height="8" alt="">'-
johanvanderwijk
- Posts: 24
- Joined: Sun 30. May 2004, 17:43
- Contact:
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.
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.
-
rescamilla
- Posts: 69
- Joined: Sun 25. Jul 2004, 01:53
-
johanvanderwijk
- Posts: 24
- Joined: Sun 30. May 2004, 17:43
- Contact:
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:
(Make sure that the content part on the page is Text /image and that the summary is empty, this worked with me)
So all I did was to add the following to my stylesheet:
Code: Select all
.articleText p
{
margin: 0px 0px 10px;
} 