Summary alignment

Use GitHub to post bug reports and error descriptions for phpwcms. Describe your problem detailed!
Locked
Spirou
Posts: 22
Joined: Fri 2. Jan 2004, 17:07
Location: Finland

Summary alignment

Post by Spirou »

Hello!

I don't know if this is a bug or feature but it doesn' t look good on the page..

I tried to put an image in the summary of an article and noticed that the article listing is aligned to the the left of the first articles image. This might give the impression to a visitor that the next article listed has someting to do with the first one, this occurred when the image height was more than the 3 rows of text wich I had in the summary.

Perhaps it would be better layoutwise to put every article listing in a separate cell?

Am I missing something or is this a "bug"?
User avatar
Oliver Georgi
Site Admin
Posts: 9907
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

Sprirou,

check these values in conf.template_default.inc.php:

Code: Select all

// article listing with summary
$template_default["space_top"]				= "";
$template_default["space_bottom"]			= "";
$template_default["space_aftertop_text"]	= "<br><img src=\"img/leer.gif\" width=\"1\" height=\"16\"><br>";
$template_default["space_between_list"]		= "<br><img src=\"img/leer.gif\" width=\"1\" height=\"4\"><br>";
$template_default["space_between_sum"]		= "<br><img src=\"img/leer.gif\" width=\"1\" height=\"12\"><br>";
//
$template_default["top_headline_class"]		= "articleList_tophead";
$template_default["top_subheadline_class"]	= "articleList_topsubhead";
$template_default["top_text_class"]			= "articleList_toptext";
$template_default["top_readmore_before"]	= " ";
$template_default["top_readmore_link"]		= "more…";
$template_default["top_readmore_after"]		= "";
$template_default["top_headline_space"]		= "<br><img src=\"img/leer.gif\" width=\"1\" height=\"2\"><br>";
$template_default["top_subheadline_space"]	= "<br><img src=\"img/leer.gif\" width=\"1\" height=\"4\"><br>";
$template_default["top_count"]				= 1;
and try out. You have to put something like <p style="margin:0 0 0 0;"></p> or <div></div> after the top listing - these are something like block dividers based on 100%.

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
Locked