small title, large sub-title in article list
small title, large sub-title in article list
You'll notice int his page here that the title is very small ("reactor" is the title) and hte sub title is much much larger ("random simplicity" is the sub-title): http://www.dittobox.net/index.php?fp_4hk
How to I change the font sizes for these? Thanks!
EDIT: I added a new article, thus this new article tookover the old on'es position on the page. New title is "Living Room.", sub title is "Modern Style".
How to I change the font sizes for these? Thanks!
EDIT: I added a new article, thus this new article tookover the old on'es position on the page. New title is "Living Room.", sub title is "Modern Style".
Hi Dittohead,
you must change the following parts in the frontend.css
Title: articleList_tophead
Subtitle: articleList_topsubhead
Because there is this Text in the conf.template_default.inc.php
$template_default["top_headline_before"] = '<span class="articleList_tophead">';
$template_default["top_headline_after"] = '</span>';
$template_default["top_headline_class"] = "articleList_tophead";
$template_default["top_subheadline_before"] = '<span class="articleList_topsubhead">';
$template_default["top_subheadline_after"] = '</span>';
$template_default["top_subheadline_class"] = "articleList_topsubhead";
$template_default["top_text_before"] = '<span class="articleList_toptext">';
$template_default["top_text_after"] = '</span>';
$template_default["top_text_class"] = "articleList_toptext";
you must change the following parts in the frontend.css
Title: articleList_tophead
Subtitle: articleList_topsubhead
Because there is this Text in the conf.template_default.inc.php
$template_default["top_headline_before"] = '<span class="articleList_tophead">';
$template_default["top_headline_after"] = '</span>';
$template_default["top_headline_class"] = "articleList_tophead";
$template_default["top_subheadline_before"] = '<span class="articleList_topsubhead">';
$template_default["top_subheadline_after"] = '</span>';
$template_default["top_subheadline_class"] = "articleList_topsubhead";
$template_default["top_text_before"] = '<span class="articleList_toptext">';
$template_default["top_text_after"] = '</span>';
$template_default["top_text_class"] = "articleList_toptext";
I hate to bump this to the top but after getting back from moving and then looking at the end product/HTML code, we've got mismatched quotes:
Notice the class attribute on the span element for "articleList_tophead" doesn't have the last quote on it, I'm going to see what I can find for code in the PHP files and change it if need be.
A rendering bug perhaps?
Validator complains about this:
Code: Select all
<div style="color:#333333;padding:20px;><span class="articleList_tophead><a href="index.php?id=4,18,0,0,1,0">Fake area lights</a></span>
A rendering bug perhaps?
Validator complains about this:
Line 71, column 72: an attribute value literal can occur in an attribute specification list only after a VI delimiter
...0px;><span class="articleList_tophead""><a href="index.php?id=4,18,0,0,1,0">F
Have you forgotten the "equal" sign marking the separation between the attribute and its declared value? Typical syntax is attribute="value".
Line 71, column 137: end tag for element "SPAN" which is not open
...8,0,0,1,0">Fake area lights</a></span><br><img src="img/leer.gif" width="1" h
The Validator found an end tag for the above element, but that element is not currently open. This is often caused by a leftover end tag from an element that was removed during editing, or by an implicitly closed element (if you have an error related to an element being used where it is not allowed, this is almost certainly the case). In the latter case this error will disappear as soon as you fix the original problem.
Last edited by Dittohead on Mon 23. Aug 2004, 19:53, edited 1 time in total.
Where can we see this in action. Your DIV style starts out with quotes, too, but are unfinished.
Nevermind, it is now changed apparently to this: ~KINDA~ looks like something of your own doing.
Nevermind, it is now changed apparently to this:
Code: Select all
<div style="color:#333333;padding:20px;><span class="articleList_tophead""><a href="index.php?id=4,18,0,0,1,0">Fake area lights</a></span><br><img src="img/leer.gif" width="1" height="2" alt="" /><br /><span class="articleList_toptext"><p class="paragraphs">
Last edited by DeXXus on Mon 23. Aug 2004, 19:57, edited 1 time in total.
Hmm, after looking around it seems many other attributes have mismatched quotes.
conf.template_deafult.inc.php code has all the proper quotes in place, but when it translates into html they're missing.
This causes parsing errors to occur, thus some formatting and styling doesn't work. I'm not sure what to do now.
conf.template_deafult.inc.php code has all the proper quotes in place, but when it translates into html they're missing.
This causes parsing errors to occur, thus some formatting and styling doesn't work. I'm not sure what to do now.
My guess would be you messed with "conf.template_default.inc.php"
EDIT: Oops, didn't check for quick replies
Make sure you use single-quotes where necessary:
example:
EDIT: Oops, didn't check for quick replies
Make sure you use single-quotes where necessary:
example:
Code: Select all
$template_default["top_text_before"] = '<span class="articleList_toptext">';
A small section of my conf.template_default.inc.php:
Code: Select all
//
$template_default["top_listentry_before"] = '';
$template_default["top_listentry_after"] = '';
$template_default["top_headline_before"] = '<span class="articleList_tophead">';
$template_default["top_headline_after"] = '</span>';
$template_default["top_headline_class"] = "articleList_tophead";
$template_default["top_subheadline_before"] = '<span class="articleList_topsubhead">';
$template_default["top_subheadline_after"] = '</span>';
$template_default["top_subheadline_class"] = "articleList_topsubhead";
$template_default["top_text_before"] = '<span class="articleList_toptext">';
$template_default["top_text_after"] = '</span>';
$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\" alt=\"\" /><br />";
$template_default["top_subheadline_space"] = "<br><img src=\"img/leer.gif\" width=\"1\" height=\"4\" alt=\"\" /><br />";
$template_default["top_count"] = 1;
//